From a4eeca3c66bdd1fd9bc5b7a4db4fd4116e814946 Mon Sep 17 00:00:00 2001 From: takanuva15 <6986426+takanuva15@users.noreply.github.com> Date: Thu, 12 Sep 2024 23:35:28 -0400 Subject: [PATCH] Upgrade jmustache to 1.16 --- docs/generators/fsharp-functions.md | 2 +- docs/generators/fsharp-giraffe-server.md | 2 +- docs/generators/java-inflector.md | 2 +- docs/generators/jaxrs-cxf-client.md | 2 +- docs/generators/swift5.md | 4 +- 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/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../org/openapitools/client/api/AuthApi.java | 3 +- .../org/openapitools/client/api/BodyApi.java | 3 +- .../org/openapitools/client/api/FormApi.java | 3 +- .../openapitools/client/api/HeaderApi.java | 3 +- .../org/openapitools/client/api/PathApi.java | 3 +- .../org/openapitools/client/api/QueryApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/DefaultValue.java | 4 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/model/Query.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../org/openapitools/client/api/AuthApi.java | 3 +- .../org/openapitools/client/api/BodyApi.java | 3 +- .../org/openapitools/client/api/FormApi.java | 3 +- .../openapitools/client/api/HeaderApi.java | 3 +- .../org/openapitools/client/api/PathApi.java | 3 +- .../org/openapitools/client/api/QueryApi.java | 3 +- .../org/openapitools/client/model/Bird.java | 1 - .../openapitools/client/model/Category.java | 1 - .../openapitools/client/model/DataQuery.java | 1 - .../client/model/DefaultValue.java | 2 - .../client/model/NumberPropertiesOnly.java | 1 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Query.java | 2 - .../org/openapitools/client/model/Tag.java | 1 - .../TestFormObjectMultipartRequestMarker.java | 1 - ...deTrueObjectAllOfQueryObjectParameter.java | 1 - ...deTrueArrayStringQueryObjectParameter.java | 1 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../org/openapitools/client/ApiResponse.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 6 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/api/AuthApi.java | 3 +- .../org/openapitools/client/api/BodyApi.java | 3 +- .../org/openapitools/client/api/FormApi.java | 3 +- .../openapitools/client/api/HeaderApi.java | 3 +- .../org/openapitools/client/api/PathApi.java | 3 +- .../org/openapitools/client/api/QueryApi.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../org/openapitools/client/model/Bird.java | 1 - .../openapitools/client/model/Category.java | 1 - .../openapitools/client/model/DataQuery.java | 1 - .../client/model/DefaultValue.java | 5 - .../client/model/NumberPropertiesOnly.java | 1 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Query.java | 2 - .../org/openapitools/client/model/Tag.java | 1 - .../TestFormObjectMultipartRequestMarker.java | 1 - ...deTrueObjectAllOfQueryObjectParameter.java | 1 - ...deTrueArrayStringQueryObjectParameter.java | 1 - .../modelCopy/Category.java | 1 - .../modelCopy/ModelApiResponse.java | 1 - .../modelCopy/Order.java | 1 - .../modelCopy/Pet.java | 1 - .../modelCopy/Tag.java | 1 - .../modelCopy/User.java | 1 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../org/openapitools/client/model/Bird.java | 1 - .../openapitools/client/model/Category.java | 1 - .../openapitools/client/model/DataQuery.java | 1 - .../client/model/DefaultValue.java | 2 - .../client/model/NumberPropertiesOnly.java | 1 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Query.java | 2 - .../org/openapitools/client/model/Tag.java | 1 - .../TestFormObjectMultipartRequestMarker.java | 1 - ...deTrueObjectAllOfQueryObjectParameter.java | 1 - ...deTrueArrayStringQueryObjectParameter.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../org/openapitools/client/api/AuthApi.java | 3 +- .../org/openapitools/client/api/BodyApi.java | 3 +- .../org/openapitools/client/api/FormApi.java | 3 +- .../openapitools/client/api/HeaderApi.java | 3 +- .../org/openapitools/client/api/PathApi.java | 3 +- .../org/openapitools/client/api/QueryApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/DefaultValue.java | 4 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/model/Query.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../org/openapitools/client/api/AuthApi.java | 3 +- .../org/openapitools/client/api/BodyApi.java | 3 +- .../org/openapitools/client/api/FormApi.java | 3 +- .../openapitools/client/api/HeaderApi.java | 3 +- .../org/openapitools/client/api/PathApi.java | 3 +- .../org/openapitools/client/api/QueryApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/DefaultValue.java | 4 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/model/Query.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/api/AuthApi.java | 3 +- .../org/openapitools/client/api/BodyApi.java | 3 +- .../org/openapitools/client/api/FormApi.java | 3 +- .../openapitools/client/api/HeaderApi.java | 3 +- .../org/openapitools/client/api/PathApi.java | 3 +- .../org/openapitools/client/api/QueryApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/DefaultValue.java | 4 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/model/Query.java | 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/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 - .../.openapi-generator/FILES | 2 +- .../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/phpunit.xml.dist | 4 +- .../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 - .../php-nextgen/.openapi-generator/FILES | 2 +- 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/phpunit.xml.dist | 4 +- .../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 | 19 +- .../openapi_client/api/body_api.py | 91 +- .../openapi_client/api/form_api.py | 28 +- .../openapi_client/api/header_api.py | 10 +- .../openapi_client/api/path_api.py | 10 +- .../openapi_client/api/query_api.py | 91 +- .../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 | 19 +- .../python/openapi_client/api/body_api.py | 91 +- .../python/openapi_client/api/form_api.py | 28 +- .../python/openapi_client/api/header_api.py | 10 +- .../python/openapi_client/api/path_api.py | 10 +- .../python/openapi_client/api/query_api.py | 91 +- .../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 - .../echo_api/r/.openapi-generator/FILES | 2 +- .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../openapitools/client/model/Example.java | 1 - .../jersey2-oneOf-duplicates/docs/Example.md | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../openapitools/client/model/Example.java | 1 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../openapitools/client/model/SomeObj.java | 2 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/api/ResourceApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/ApiClient.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/ApiClient.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../openapitools/client/api/ResourceApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/api/ResourceApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../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 - .../R-httr2-wrapper/.openapi-generator/FILES | 2 +- .../petstore/R-httr2/.openapi-generator/FILES | 2 +- .../petstore/R/.openapi-generator/FILES | 2 +- .../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/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 - .../client/JavaTimeFormatter.java | 3 +- .../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 - .../client/JavaTimeFormatter.java | 3 +- .../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 - .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTags123Api.java | 3 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../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 | 4 +- .../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 | 7 +- .../org/openapitools/model/EnumClass.java | 1 - .../java/org/openapitools/model/EnumTest.java | 13 +- .../model/FileSchemaTestClass.java | 1 - .../org/openapitools/model/FormatTest.java | 1 - .../openapitools/model/HasOnlyReadOnly.java | 1 - .../java/org/openapitools/model/MapTest.java | 4 +- ...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 | 4 +- .../openapitools/model/OuterComposite.java | 1 - .../org/openapitools/model/OuterEnum.java | 1 - .../main/java/org/openapitools/model/Pet.java | 4 +- .../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/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../client/auth/DefaultApi20Impl.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../auth/OauthClientCredentialsGrant.java | 3 +- .../client/auth/OauthPasswordGrant.java | 3 +- .../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 | 1 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 1 - .../org/openapitools/client/model/BigCat.java | 2 - .../client/model/Capitalization.java | 1 - .../org/openapitools/client/model/Cat.java | 1 - .../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 | 1 - .../openapitools/client/model/EnumArrays.java | 3 - .../openapitools/client/model/EnumTest.java | 5 - .../org/openapitools/client/model/File.java | 1 - .../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/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 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../client/auth/DefaultApi20Impl.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../auth/OauthClientCredentialsGrant.java | 3 +- .../client/auth/OauthPasswordGrant.java | 3 +- .../model/AdditionalPropertiesClass.java | 1 - .../client/model/AllOfWithSingleRef.java | 1 - .../org/openapitools/client/model/Animal.java | 1 - .../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 | 1 - .../openapitools/client/model/Category.java | 1 - .../client/model/ChildWithNullable.java | 1 - .../openapitools/client/model/ClassModel.java | 1 - .../org/openapitools/client/model/Client.java | 1 - .../client/model/DeprecatedObject.java | 1 - .../org/openapitools/client/model/Dog.java | 1 - .../openapitools/client/model/EnumArrays.java | 3 - .../openapitools/client/model/EnumTest.java | 6 - .../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 | 2 - ...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 | 2 - .../client/model/OuterComposite.java | 1 - .../model/OuterObjectWithEnumProperty.java | 1 - .../client/model/ParentWithNullable.java | 3 - .../org/openapitools/client/model/Pet.java | 2 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../org/openapitools/client/model/BigCat.java | 1 - .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 4 - .../openapitools/client/model/MapTest.java | 1 - .../org/openapitools/client/model/Order.java | 1 - .../org/openapitools/client/model/Pet.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 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 | 1 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 1 - .../org/openapitools/client/model/BigCat.java | 2 - .../client/model/Capitalization.java | 1 - .../org/openapitools/client/model/Cat.java | 1 - .../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 | 1 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 | 1 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 1 - .../org/openapitools/client/model/BigCat.java | 2 - .../client/model/Capitalization.java | 1 - .../org/openapitools/client/model/Cat.java | 1 - .../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 | 1 - .../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 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../model/AdditionalPropertiesClass.java | 10 - .../org/openapitools/client/model/Animal.java | 3 - .../org/openapitools/client/model/Apple.java | 7 +- .../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 | 2 - .../openapitools/client/model/Category.java | 3 - .../openapitools/client/model/ChildCat.java | 3 - .../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 | 2 - .../openapitools/client/model/Drawing.java | 7 - .../openapitools/client/model/EnumArrays.java | 5 - .../openapitools/client/model/EnumTest.java | 16 - .../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 | 35 +- .../org/openapitools/client/model/Fruit.java | 1 - .../openapitools/client/model/FruitReq.java | 1 - .../openapitools/client/model/GmFruit.java | 1 - .../client/model/GrandparentAnimal.java | 2 - .../client/model/HasOnlyReadOnly.java | 3 - .../client/model/HealthCheckResult.java | 3 - .../client/model/IsoscelesTriangle.java | 3 - .../org/openapitools/client/model/Mammal.java | 1 - .../client/model/MammalAnyof.java | 1 - .../openapitools/client/model/MapTest.java | 6 - ...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 | 23 - .../client/model/NullableShape.java | 1 - .../openapitools/client/model/NumberOnly.java | 2 - .../model/ObjectWithDeprecatedFields.java | 5 - .../org/openapitools/client/model/Order.java | 8 - .../client/model/OuterComposite.java | 4 - .../openapitools/client/model/ParentPet.java | 1 - .../org/openapitools/client/model/Pet.java | 8 - .../org/openapitools/client/model/Pig.java | 1 - .../client/model/Quadrilateral.java | 1 - .../client/model/QuadrilateralInterface.java | 2 - .../client/model/ReadOnlyFirst.java | 3 - .../client/model/ScaleneTriangle.java | 3 - .../org/openapitools/client/model/Shape.java | 1 - .../client/model/ShapeInterface.java | 2 - .../client/model/ShapeOrNull.java | 1 - .../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 | 1 - .../client/model/TriangleInterface.java | 2 - .../org/openapitools/client/model/User.java | 16 - .../org/openapitools/client/model/Whale.java | 4 - .../org/openapitools/client/model/Zebra.java | 4 - .../client/RFC3339DateFormat.java | 3 +- .../openapitools/client/model/Category.java | 5 +- .../client/model/ModelApiResponse.java | 5 +- .../org/openapitools/client/model/Order.java | 5 +- .../org/openapitools/client/model/Pet.java | 5 +- .../org/openapitools/client/model/Tag.java | 5 +- .../org/openapitools/client/model/User.java | 5 +- .../client/RFC3339DateFormat.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 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../org/openapitools/client/ApiResponse.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 6 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../model/AdditionalPropertiesClass.java | 2 - .../org/openapitools/client/model/Animal.java | 1 - .../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 | 1 - .../openapitools/client/model/Category.java | 1 - .../openapitools/client/model/ChildCat.java | 1 - .../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 | 1 - .../openapitools/client/model/Drawing.java | 2 - .../openapitools/client/model/EnumArrays.java | 3 - .../openapitools/client/model/EnumTest.java | 7 - .../client/model/EquilateralTriangle.java | 1 - .../model/FakeBigDecimalMap200Response.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 | 1 - .../openapitools/client/model/FruitReq.java | 1 - .../openapitools/client/model/GmFruit.java | 1 - .../client/model/GrandparentAnimal.java | 1 - .../client/model/HasOnlyReadOnly.java | 1 - .../client/model/HealthCheckResult.java | 2 - .../client/model/IsoscelesTriangle.java | 1 - .../org/openapitools/client/model/Mammal.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 - .../client/model/NullableClass.java | 11 - .../client/model/NullableShape.java | 1 - .../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 | 1 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Pig.java | 1 - .../client/model/Quadrilateral.java | 1 - .../client/model/QuadrilateralInterface.java | 1 - .../client/model/ReadOnlyFirst.java | 1 - .../client/model/ScaleneTriangle.java | 1 - .../org/openapitools/client/model/Shape.java | 1 - .../client/model/ShapeInterface.java | 1 - .../client/model/ShapeOrNull.java | 1 - .../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 | 1 - .../client/model/TriangleInterface.java | 1 - .../org/openapitools/client/model/User.java | 4 - .../org/openapitools/client/model/Whale.java | 1 - .../org/openapitools/client/model/Zebra.java | 2 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../org/openapitools/client/ApiResponse.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 6 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../org/openapitools/client/ApiResponse.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 6 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../model/AdditionalPropertiesClass.java | 181 +- .../org/openapitools/client/model/Animal.java | 112 +- .../org/openapitools/client/model/Apple.java | 112 +- .../openapitools/client/model/AppleReq.java | 112 +- .../model/ArrayOfArrayOfNumberOnly.java | 102 +- .../client/model/ArrayOfNumberOnly.java | 102 +- .../openapitools/client/model/ArrayTest.java | 122 +- .../org/openapitools/client/model/Banana.java | 102 +- .../openapitools/client/model/BananaReq.java | 112 +- .../openapitools/client/model/BasquePig.java | 102 +- .../client/model/Capitalization.java | 152 +- .../org/openapitools/client/model/Cat.java | 130 +- .../openapitools/client/model/Category.java | 112 +- .../openapitools/client/model/ChildCat.java | 116 +- .../openapitools/client/model/ClassModel.java | 102 +- .../org/openapitools/client/model/Client.java | 102 +- .../client/model/ComplexQuadrilateral.java | 112 +- .../openapitools/client/model/DanishPig.java | 102 +- .../client/model/DeprecatedObject.java | 102 +- .../org/openapitools/client/model/Dog.java | 130 +- .../openapitools/client/model/Drawing.java | 141 +- .../openapitools/client/model/EnumArrays.java | 114 +- .../openapitools/client/model/EnumTest.java | 196 +- .../client/model/EquilateralTriangle.java | 112 +- .../model/FakeBigDecimalMap200Response.java | 112 +- .../client/model/FileSchemaTestClass.java | 112 +- .../org/openapitools/client/model/Foo.java | 102 +- .../client/model/FooGetDefaultResponse.java | 102 +- .../openapitools/client/model/FormatTest.java | 252 +- .../org/openapitools/client/model/Fruit.java | 1 - .../openapitools/client/model/FruitReq.java | 1 - .../openapitools/client/model/GmFruit.java | 1 - .../client/model/GrandparentAnimal.java | 102 +- .../client/model/HasOnlyReadOnly.java | 112 +- .../client/model/HealthCheckResult.java | 111 +- .../client/model/IsoscelesTriangle.java | 112 +- .../org/openapitools/client/model/Mammal.java | 1 - .../openapitools/client/model/MapTest.java | 133 +- ...ropertiesAndAdditionalPropertiesClass.java | 122 +- .../client/model/Model200Response.java | 112 +- .../client/model/ModelApiResponse.java | 122 +- .../openapitools/client/model/ModelFile.java | 102 +- .../openapitools/client/model/ModelList.java | 102 +- .../client/model/ModelReturn.java | 102 +- .../org/openapitools/client/model/Name.java | 132 +- .../client/model/NullableClass.java | 302 +- .../client/model/NullableShape.java | 1 - .../openapitools/client/model/NumberOnly.java | 102 +- .../model/ObjectWithDeprecatedFields.java | 132 +- .../org/openapitools/client/model/Order.java | 153 +- .../client/model/OuterComposite.java | 122 +- .../openapitools/client/model/ParentPet.java | 108 +- .../org/openapitools/client/model/Pet.java | 153 +- .../org/openapitools/client/model/Pig.java | 1 - .../client/model/Quadrilateral.java | 1 - .../client/model/QuadrilateralInterface.java | 102 +- .../client/model/ReadOnlyFirst.java | 112 +- .../client/model/ScaleneTriangle.java | 112 +- .../org/openapitools/client/model/Shape.java | 1 - .../client/model/ShapeInterface.java | 102 +- .../client/model/ShapeOrNull.java | 1 - .../client/model/SimpleQuadrilateral.java | 112 +- .../client/model/SpecialModelName.java | 112 +- .../org/openapitools/client/model/Tag.java | 112 +- ...neFreeformAdditionalPropertiesRequest.java | 102 +- .../openapitools/client/model/Triangle.java | 1 - .../client/model/TriangleInterface.java | 102 +- .../org/openapitools/client/model/User.java | 239 +- .../org/openapitools/client/model/Whale.java | 122 +- .../org/openapitools/client/model/Zebra.java | 113 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../client/model/AllOfSimpleModel.java | 1 - .../org/openapitools/client/model/Animal.java | 1 - .../client/model/AnyTypeTest.java | 1 - .../client/model/ArrayOfSameRef.java | 1 - .../org/openapitools/client/model/Cat.java | 1 - .../openapitools/client/model/Category.java | 1 - .../client/model/CircularReference1.java | 1 - .../client/model/CircularReference2.java | 1 - .../client/model/CircularReference3.java | 1 - .../org/openapitools/client/model/Dog.java | 1 - .../client/model/ModelApiResponse.java | 1 - .../org/openapitools/client/model/Order.java | 2 - .../org/openapitools/client/model/Pet.java | 2 - .../model/SimpleModelWithArrayProperty.java | 1 - .../org/openapitools/client/model/Tag.java | 1 - .../org/openapitools/client/model/User.java | 1 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/AWS4Auth.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 | 1 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 1 - .../org/openapitools/client/model/BigCat.java | 2 - .../client/model/Capitalization.java | 1 - .../org/openapitools/client/model/Cat.java | 1 - .../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 | 1 - .../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 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../model/PetWithRequiredNullableCases1.java | 2 - .../model/PetWithRequiredNullableCases2.java | 2 - .../org/openapitools/client/model/Tag.java | 1 - .../org/openapitools/client/model/User.java | 1 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 | 1 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 1 - .../org/openapitools/client/model/BigCat.java | 2 - .../client/model/Capitalization.java | 1 - .../org/openapitools/client/model/Cat.java | 1 - .../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 | 1 - .../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 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../model/AdditionalPropertiesClass.java | 1 - .../client/model/AllOfModelArrayAnyOf.java | 1 - .../AllOfModelArrayAnyOfAllOfAttributes.java | 1 - ...OfModelArrayAnyOfAllOfLinkListColumn1.java | 1 - .../org/openapitools/client/model/Animal.java | 1 - .../org/openapitools/client/model/Apple.java | 1 - .../openapitools/client/model/AppleReq.java | 1 - .../client/model/ArrayDefault.java | 1 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfInlineAllOf.java | 1 - ...InlineAllOfArrayAllofDogPropertyInner.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 | 1 - .../openapitools/client/model/Category.java | 1 - .../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 | 1 - .../openapitools/client/model/Drawing.java | 1 - .../openapitools/client/model/EnumArrays.java | 3 - .../client/model/EnumStringDiscriminator.java | 2 - .../openapitools/client/model/EnumTest.java | 6 - .../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 - .../client/model/FreeFormObjectTestClass.java | 1 - .../client/model/GrandparentAnimal.java | 1 - .../client/model/HasOnlyReadOnly.java | 1 - .../client/model/HealthCheckResult.java | 1 - .../client/model/IsoscelesTriangle.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 - .../model/ModelWithOneOfAnyOfProperties.java | 1 - .../org/openapitools/client/model/Name.java | 1 - .../org/openapitools/client/model/NewPet.java | 2 - .../model/NewPetCategoryInlineAllof.java | 1 - ...etCategoryInlineAllofAllOfCategoryTag.java | 1 - .../client/model/NullableClass.java | 1 - .../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 | 1 - .../org/openapitools/client/model/Pet.java | 2 - .../client/model/PetComposition.java | 2 - .../org/openapitools/client/model/PetRef.java | 2 - .../client/model/PetUsingAllOf.java | 2 - .../client/model/PetWithRequiredTags.java | 2 - .../client/model/PropertyNameCollision.java | 1 - .../client/model/QuadrilateralInterface.java | 1 - .../client/model/ReadOnlyFirst.java | 1 - .../client/model/ScaleneTriangle.java | 1 - .../client/model/ShapeInterface.java | 1 - .../client/model/SimpleQuadrilateral.java | 1 - .../client/model/SpecialModelName.java | 1 - .../org/openapitools/client/model/Tag.java | 1 - ...neFreeformAdditionalPropertiesRequest.java | 1 - .../client/model/TriangleInterface.java | 1 - .../org/openapitools/client/model/User.java | 1 - .../openapitools/client/model/Variable.java | 1 - .../org/openapitools/client/model/Whale.java | 1 - .../org/openapitools/client/model/Zebra.java | 2 - .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 1 - .../model/AdditionalPropertiesArray.java | 1 - .../model/AdditionalPropertiesBoolean.java | 1 - .../model/AdditionalPropertiesClass.java | 11 - .../model/AdditionalPropertiesInteger.java | 1 - .../model/AdditionalPropertiesNumber.java | 1 - .../model/AdditionalPropertiesObject.java | 1 - .../model/AdditionalPropertiesString.java | 1 - .../org/openapitools/client/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 3 - .../org/openapitools/client/model/BigCat.java | 2 - .../client/model/Capitalization.java | 6 - .../org/openapitools/client/model/Cat.java | 1 - .../openapitools/client/model/Category.java | 2 - .../openapitools/client/model/ClassModel.java | 1 - .../org/openapitools/client/model/Client.java | 1 - .../org/openapitools/client/model/Dog.java | 1 - .../openapitools/client/model/EnumArrays.java | 4 - .../openapitools/client/model/EnumTest.java | 9 - .../client/model/FileSchemaTestClass.java | 2 - .../openapitools/client/model/FormatTest.java | 28 +- .../client/model/HasOnlyReadOnly.java | 2 - .../openapitools/client/model/MapTest.java | 5 - ...ropertiesAndAdditionalPropertiesClass.java | 3 - .../client/model/Model200Response.java | 2 - .../client/model/ModelApiResponse.java | 3 - .../openapitools/client/model/ModelFile.java | 1 - .../openapitools/client/model/ModelList.java | 1 - .../client/model/ModelReturn.java | 1 - .../org/openapitools/client/model/Name.java | 4 - .../openapitools/client/model/NumberOnly.java | 1 - .../org/openapitools/client/model/Order.java | 7 - .../client/model/OuterComposite.java | 3 - .../org/openapitools/client/model/Pet.java | 7 - .../client/model/ReadOnlyFirst.java | 2 - .../client/model/SpecialModelName.java | 1 - .../org/openapitools/client/model/Tag.java | 2 - .../client/model/TypeHolderDefault.java | 5 - .../client/model/TypeHolderExample.java | 6 - .../org/openapitools/client/model/User.java | 8 - .../openapitools/client/model/XmlItem.java | 29 - .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 1 - .../model/AdditionalPropertiesArray.java | 1 - .../model/AdditionalPropertiesBoolean.java | 1 - .../model/AdditionalPropertiesClass.java | 11 - .../model/AdditionalPropertiesInteger.java | 1 - .../model/AdditionalPropertiesNumber.java | 1 - .../model/AdditionalPropertiesObject.java | 1 - .../model/AdditionalPropertiesString.java | 1 - .../org/openapitools/client/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 3 - .../org/openapitools/client/model/BigCat.java | 2 - .../client/model/Capitalization.java | 6 - .../org/openapitools/client/model/Cat.java | 1 - .../openapitools/client/model/Category.java | 2 - .../openapitools/client/model/ClassModel.java | 1 - .../org/openapitools/client/model/Client.java | 1 - .../org/openapitools/client/model/Dog.java | 1 - .../openapitools/client/model/EnumArrays.java | 4 - .../openapitools/client/model/EnumTest.java | 9 - .../client/model/FileSchemaTestClass.java | 2 - .../openapitools/client/model/FormatTest.java | 14 - .../client/model/HasOnlyReadOnly.java | 2 - .../openapitools/client/model/MapTest.java | 5 - ...ropertiesAndAdditionalPropertiesClass.java | 3 - .../client/model/Model200Response.java | 2 - .../client/model/ModelApiResponse.java | 3 - .../openapitools/client/model/ModelFile.java | 1 - .../openapitools/client/model/ModelList.java | 1 - .../client/model/ModelReturn.java | 1 - .../org/openapitools/client/model/Name.java | 4 - .../openapitools/client/model/NumberOnly.java | 1 - .../org/openapitools/client/model/Order.java | 7 - .../client/model/OuterComposite.java | 3 - .../org/openapitools/client/model/Pet.java | 7 - .../client/model/ReadOnlyFirst.java | 2 - .../client/model/SpecialModelName.java | 1 - .../org/openapitools/client/model/Tag.java | 2 - .../client/model/TypeHolderDefault.java | 5 - .../client/model/TypeHolderExample.java | 6 - .../org/openapitools/client/model/User.java | 8 - .../openapitools/client/model/XmlItem.java | 29 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/ByteArrayObject.java | 2 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../org/openapitools/client/model/Order.java | 1 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../org/openapitools/client/model/Order.java | 1 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../org/openapitools/client/model/Order.java | 1 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../java/org/openapitools/client/BaseApi.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../model/AdditionalPropertiesClass.java | 103 +- .../client/model/AllOfWithSingleRef.java | 103 +- .../org/openapitools/client/model/Animal.java | 103 +- .../model/ArrayOfArrayOfNumberOnly.java | 93 +- .../client/model/ArrayOfNumberOnly.java | 93 +- .../openapitools/client/model/ArrayTest.java | 113 +- .../client/model/Capitalization.java | 143 +- .../org/openapitools/client/model/Cat.java | 121 +- .../openapitools/client/model/Category.java | 103 +- .../client/model/ChildWithNullable.java | 129 +- .../openapitools/client/model/ClassModel.java | 93 +- .../org/openapitools/client/model/Client.java | 93 +- .../client/model/DeprecatedObject.java | 93 +- .../org/openapitools/client/model/Dog.java | 121 +- .../openapitools/client/model/EnumArrays.java | 105 +- .../openapitools/client/model/EnumTest.java | 176 +- .../model/FakeBigDecimalMap200Response.java | 103 +- .../client/model/FileSchemaTestClass.java | 103 +- .../org/openapitools/client/model/Foo.java | 93 +- .../client/model/FooGetDefaultResponse.java | 93 +- .../openapitools/client/model/FormatTest.java | 243 +- .../client/model/HasOnlyReadOnly.java | 103 +- .../client/model/HealthCheckResult.java | 102 +- .../openapitools/client/model/MapTest.java | 124 +- ...ropertiesAndAdditionalPropertiesClass.java | 113 +- .../client/model/Model200Response.java | 103 +- .../client/model/ModelApiResponse.java | 113 +- .../openapitools/client/model/ModelFile.java | 93 +- .../openapitools/client/model/ModelList.java | 93 +- .../client/model/ModelReturn.java | 93 +- .../org/openapitools/client/model/Name.java | 123 +- .../client/model/NullableClass.java | 293 +- .../openapitools/client/model/NumberOnly.java | 93 +- .../model/ObjectWithDeprecatedFields.java | 123 +- .../org/openapitools/client/model/Order.java | 144 +- .../client/model/OuterComposite.java | 113 +- .../model/OuterObjectWithEnumProperty.java | 93 +- .../client/model/ParentWithNullable.java | 113 +- .../org/openapitools/client/model/Pet.java | 144 +- .../client/model/ReadOnlyFirst.java | 103 +- .../client/model/SpecialModelName.java | 93 +- .../org/openapitools/client/model/Tag.java | 103 +- ...neFreeformAdditionalPropertiesRequest.java | 93 +- .../org/openapitools/client/model/User.java | 163 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 1 - .../model/AdditionalPropertiesArray.java | 1 - .../model/AdditionalPropertiesBoolean.java | 1 - .../model/AdditionalPropertiesClass.java | 11 - .../model/AdditionalPropertiesInteger.java | 1 - .../model/AdditionalPropertiesNumber.java | 1 - .../model/AdditionalPropertiesObject.java | 1 - .../model/AdditionalPropertiesString.java | 1 - .../org/openapitools/client/model/Animal.java | 2 - .../model/ArrayOfArrayOfNumberOnly.java | 1 - .../client/model/ArrayOfNumberOnly.java | 1 - .../openapitools/client/model/ArrayTest.java | 3 - .../org/openapitools/client/model/BigCat.java | 2 - .../client/model/Capitalization.java | 6 - .../org/openapitools/client/model/Cat.java | 1 - .../openapitools/client/model/Category.java | 2 - .../openapitools/client/model/ClassModel.java | 1 - .../org/openapitools/client/model/Client.java | 1 - .../org/openapitools/client/model/Dog.java | 1 - .../openapitools/client/model/EnumArrays.java | 4 - .../openapitools/client/model/EnumTest.java | 9 - .../client/model/FileSchemaTestClass.java | 2 - .../openapitools/client/model/FormatTest.java | 28 +- .../client/model/HasOnlyReadOnly.java | 2 - .../openapitools/client/model/MapTest.java | 5 - ...ropertiesAndAdditionalPropertiesClass.java | 3 - .../client/model/Model200Response.java | 2 - .../client/model/ModelApiResponse.java | 3 - .../openapitools/client/model/ModelFile.java | 1 - .../openapitools/client/model/ModelList.java | 1 - .../client/model/ModelReturn.java | 1 - .../org/openapitools/client/model/Name.java | 4 - .../openapitools/client/model/NumberOnly.java | 1 - .../org/openapitools/client/model/Order.java | 7 - .../client/model/OuterComposite.java | 3 - .../org/openapitools/client/model/Pet.java | 7 - .../client/model/ReadOnlyFirst.java | 2 - .../client/model/SpecialModelName.java | 1 - .../org/openapitools/client/model/Tag.java | 2 - .../client/model/TypeHolderDefault.java | 5 - .../client/model/TypeHolderExample.java | 6 - .../org/openapitools/client/model/User.java | 8 - .../openapitools/client/model/XmlItem.java | 29 - .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../org/openapitools/client/model/BigCat.java | 1 - .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 4 - .../openapitools/client/model/MapTest.java | 1 - .../org/openapitools/client/model/Order.java | 1 - .../org/openapitools/client/model/Pet.java | 1 - .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../org/openapitools/client/model/BigCat.java | 1 - .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 4 - .../openapitools/client/model/MapTest.java | 1 - .../org/openapitools/client/model/Order.java | 1 - .../org/openapitools/client/model/Pet.java | 1 - .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/auth/OAuthFlow.java | 3 +- .../org/openapitools/client/model/BigCat.java | 1 - .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 4 - .../openapitools/client/model/MapTest.java | 1 - .../org/openapitools/client/model/Order.java | 1 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApiImpl.java | 3 +- .../openapitools/client/api/FakeApiImpl.java | 3 +- .../api/FakeClassnameTags123ApiImpl.java | 3 +- .../openapitools/client/api/PetApiImpl.java | 3 +- .../openapitools/client/api/StoreApiImpl.java | 3 +- .../openapitools/client/api/UserApiImpl.java | 3 +- .../client/api/rxjava/AnotherFakeApi.java | 3 +- .../client/api/rxjava/FakeApi.java | 3 +- .../api/rxjava/FakeClassnameTags123Api.java | 3 +- .../client/api/rxjava/PetApi.java | 3 +- .../client/api/rxjava/StoreApi.java | 3 +- .../client/api/rxjava/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../org/openapitools/client/model/BigCat.java | 1 - .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 4 - .../openapitools/client/model/MapTest.java | 1 - .../org/openapitools/client/model/Order.java | 1 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApiImpl.java | 3 +- .../client/api/DefaultApiImpl.java | 3 +- .../openapitools/client/api/FakeApiImpl.java | 3 +- .../api/FakeClassnameTags123ApiImpl.java | 3 +- .../openapitools/client/api/PetApiImpl.java | 3 +- .../openapitools/client/api/StoreApiImpl.java | 3 +- .../openapitools/client/api/UserApiImpl.java | 3 +- .../client/api/rxjava/AnotherFakeApi.java | 3 +- .../client/api/rxjava/DefaultApi.java | 3 +- .../client/api/rxjava/FakeApi.java | 3 +- .../api/rxjava/FakeClassnameTags123Api.java | 3 +- .../client/api/rxjava/PetApi.java | 3 +- .../client/api/rxjava/StoreApi.java | 3 +- .../client/api/rxjava/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/ByteArrayObject.java | 2 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../org/openapitools/client/ApiClient.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../openapitools/client/model/EnumArrays.java | 2 - .../openapitools/client/model/EnumTest.java | 5 - .../client/model/HealthCheckResult.java | 1 - .../openapitools/client/model/MapTest.java | 1 - .../client/model/NullableClass.java | 10 - .../org/openapitools/client/model/Order.java | 1 - .../client/model/ParentWithNullable.java | 2 - .../org/openapitools/client/model/Pet.java | 1 - .../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 - .../.openapi-generator/FILES | 2 +- .../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 | 22 - .../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 - .../OpenAPIClient-php/phpunit.xml.dist | 4 +- .../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 - .../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 - .../.openapi-generator/FILES | 2 +- .../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 | 22 - .../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 - .../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 - .../php/psr-18/.openapi-generator/FILES | 2 +- 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 | 22 - .../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 - .../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 - .../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 - .../java/org/openapitools/api/SomeApi.java | 3 +- .../java/org/openapitools/api/DefaultApi.java | 3 +- .../main/java/org/openapitools/model/Pet.java | 23 +- .../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 | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../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 | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../org/openapitools/api/PetController.java | 3 +- .../org/openapitools/api/StoreController.java | 3 +- .../org/openapitools/api/UserController.java | 3 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../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 | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTags123Api.java | 3 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 5 +- .../model/AdditionalPropertiesArray.java | 5 +- .../model/AdditionalPropertiesBoolean.java | 5 +- .../model/AdditionalPropertiesClass.java | 5 +- .../model/AdditionalPropertiesInteger.java | 5 +- .../model/AdditionalPropertiesNumber.java | 5 +- .../model/AdditionalPropertiesObject.java | 5 +- .../model/AdditionalPropertiesString.java | 5 +- .../java/org/openapitools/model/Animal.java | 6 +- .../model/ArrayOfArrayOfNumberOnly.java | 5 +- .../openapitools/model/ArrayOfNumberOnly.java | 5 +- .../org/openapitools/model/ArrayTest.java | 5 +- .../java/org/openapitools/model/BigCat.java | 7 +- .../openapitools/model/Capitalization.java | 5 +- .../main/java/org/openapitools/model/Cat.java | 6 +- .../java/org/openapitools/model/Category.java | 5 +- .../openapitools/model/ChildWithNullable.java | 6 +- .../org/openapitools/model/ClassModel.java | 5 +- .../java/org/openapitools/model/Client.java | 5 +- .../model/ContainerDefaultValue.java | 5 +- .../main/java/org/openapitools/model/Dog.java | 6 +- .../org/openapitools/model/EnumArrays.java | 7 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 9 +- .../java/org/openapitools/model/File.java | 5 +- .../model/FileSchemaTestClass.java | 5 +- .../org/openapitools/model/FormatTest.java | 5 +- .../openapitools/model/HasOnlyReadOnly.java | 5 +- .../java/org/openapitools/model/MapTest.java | 6 +- ...ropertiesAndAdditionalPropertiesClass.java | 5 +- .../openapitools/model/Model200Response.java | 5 +- .../openapitools/model/ModelApiResponse.java | 5 +- .../org/openapitools/model/ModelList.java | 5 +- .../org/openapitools/model/ModelReturn.java | 5 +- .../java/org/openapitools/model/Name.java | 5 +- .../model/NullableMapProperty.java | 5 +- .../org/openapitools/model/NumberOnly.java | 5 +- .../java/org/openapitools/model/Order.java | 6 +- .../openapitools/model/OuterComposite.java | 5 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 7 +- .../main/java/org/openapitools/model/Pet.java | 6 +- .../org/openapitools/model/ReadOnlyFirst.java | 5 +- ...ResponseObjectWithDifferentFieldNames.java | 5 +- .../openapitools/model/SpecialModelName.java | 5 +- .../main/java/org/openapitools/model/Tag.java | 5 +- .../openapitools/model/TypeHolderDefault.java | 5 +- .../openapitools/model/TypeHolderExample.java | 5 +- .../java/org/openapitools/model/User.java | 5 +- .../java/org/openapitools/model/XmlItem.java | 5 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTags123Api.java | 3 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../model/AdditionalPropertiesAnyTypeDto.java | 5 +- .../model/AdditionalPropertiesArrayDto.java | 5 +- .../model/AdditionalPropertiesBooleanDto.java | 5 +- .../model/AdditionalPropertiesClassDto.java | 5 +- .../model/AdditionalPropertiesIntegerDto.java | 5 +- .../model/AdditionalPropertiesNumberDto.java | 5 +- .../model/AdditionalPropertiesObjectDto.java | 5 +- .../model/AdditionalPropertiesStringDto.java | 5 +- .../org/openapitools/model/AnimalDto.java | 6 +- .../openapitools/model/ApiResponseDto.java | 5 +- .../model/ArrayOfArrayOfNumberOnlyDto.java | 5 +- .../model/ArrayOfNumberOnlyDto.java | 5 +- .../org/openapitools/model/ArrayTestDto.java | 5 +- .../org/openapitools/model/BigCatDto.java | 7 +- .../openapitools/model/CapitalizationDto.java | 5 +- .../java/org/openapitools/model/CatDto.java | 6 +- .../org/openapitools/model/CategoryDto.java | 5 +- .../model/ChildWithNullableDto.java | 6 +- .../org/openapitools/model/ClassModelDto.java | 5 +- .../org/openapitools/model/ClientDto.java | 5 +- .../model/ContainerDefaultValueDto.java | 5 +- .../java/org/openapitools/model/DogDto.java | 6 +- .../org/openapitools/model/EnumArraysDto.java | 7 +- .../org/openapitools/model/EnumClassDto.java | 5 +- .../org/openapitools/model/EnumTestDto.java | 9 +- .../java/org/openapitools/model/FileDto.java | 5 +- .../model/FileSchemaTestClassDto.java | 5 +- .../org/openapitools/model/FormatTestDto.java | 5 +- .../model/HasOnlyReadOnlyDto.java | 5 +- .../java/org/openapitools/model/ListDto.java | 5 +- .../org/openapitools/model/MapTestDto.java | 6 +- ...ertiesAndAdditionalPropertiesClassDto.java | 5 +- .../model/Model200ResponseDto.java | 5 +- .../java/org/openapitools/model/NameDto.java | 5 +- .../model/NullableMapPropertyDto.java | 5 +- .../org/openapitools/model/NumberOnlyDto.java | 5 +- .../java/org/openapitools/model/OrderDto.java | 6 +- .../openapitools/model/OuterCompositeDto.java | 5 +- .../org/openapitools/model/OuterEnumDto.java | 5 +- .../model/ParentWithNullableDto.java | 7 +- .../java/org/openapitools/model/PetDto.java | 6 +- .../openapitools/model/ReadOnlyFirstDto.java | 5 +- ...ponseObjectWithDifferentFieldNamesDto.java | 5 +- .../org/openapitools/model/ReturnDto.java | 5 +- .../model/SpecialModelNameDto.java | 5 +- .../java/org/openapitools/model/TagDto.java | 5 +- .../model/TypeHolderDefaultDto.java | 5 +- .../model/TypeHolderExampleDto.java | 5 +- .../java/org/openapitools/model/UserDto.java | 5 +- .../org/openapitools/model/XmlItemDto.java | 5 +- .../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/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 +- .../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 +- .../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 +- .../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 | 6064 ++++++++--------- .../client/elm/src/Api/Request/Default.elm | 6 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../org/openapitools/client/api/UsageApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../dart-dio/oneof/lib/src/model/apple.dart | 3 +- .../dart-dio/oneof/lib/src/model/banana.dart | 3 +- .../dart-dio/oneof/lib/src/model/fruit.dart | 3 +- .../lib/src/model/addressable.dart | 3 +- .../lib/src/model/apple.dart | 3 +- .../lib/src/model/banana.dart | 3 +- .../lib/src/model/bar.dart | 3 +- .../lib/src/model/bar_create.dart | 3 +- .../lib/src/model/bar_ref.dart | 3 +- .../lib/src/model/bar_ref_or_value.dart | 4 +- .../lib/src/model/entity.dart | 4 +- .../lib/src/model/entity_ref.dart | 4 +- .../lib/src/model/extensible.dart | 3 +- .../lib/src/model/foo.dart | 3 +- .../lib/src/model/foo_ref.dart | 3 +- .../lib/src/model/foo_ref_or_value.dart | 4 +- .../lib/src/model/fruit.dart | 4 +- .../lib/src/model/pasta.dart | 3 +- .../lib/src/model/pizza.dart | 4 +- .../lib/src/model/pizza_speziale.dart | 3 +- .../oneof_primitive/lib/src/model/child.dart | 3 +- .../lib/src/model/example.dart | 3 +- .../model/additional_properties_class.dart | 1 - .../lib/src/model/all_of_with_single_ref.dart | 1 - .../lib/src/model/animal.dart | 1 - .../lib/src/model/api_response.dart | 1 - .../model/array_of_array_of_number_only.dart | 1 - .../lib/src/model/array_of_number_only.dart | 1 - .../lib/src/model/array_test.dart | 1 - .../lib/src/model/capitalization.dart | 1 - .../lib/src/model/cat.dart | 1 - .../lib/src/model/category.dart | 1 - .../lib/src/model/child_with_nullable.dart | 2 - .../lib/src/model/class_model.dart | 1 - .../lib/src/model/deprecated_object.dart | 1 - .../lib/src/model/dog.dart | 1 - .../lib/src/model/enum_arrays.dart | 3 - .../lib/src/model/enum_test.dart | 5 - .../fake_big_decimal_map200_response.dart | 1 - .../lib/src/model/file_schema_test_class.dart | 1 - .../lib/src/model/foo.dart | 1 - .../src/model/foo_get_default_response.dart | 1 - .../lib/src/model/format_test.dart | 1 - .../lib/src/model/has_only_read_only.dart | 1 - .../lib/src/model/health_check_result.dart | 1 - .../lib/src/model/map_test.dart | 2 - ...rties_and_additional_properties_class.dart | 1 - .../lib/src/model/model200_response.dart | 1 - .../lib/src/model/model_client.dart | 1 - .../lib/src/model/model_file.dart | 1 - .../lib/src/model/model_list.dart | 1 - .../lib/src/model/model_return.dart | 1 - .../lib/src/model/name.dart | 1 - .../lib/src/model/nullable_class.dart | 1 - .../lib/src/model/number_only.dart | 1 - .../model/object_with_deprecated_fields.dart | 1 - .../lib/src/model/order.dart | 2 - .../lib/src/model/outer_composite.dart | 1 - .../outer_object_with_enum_property.dart | 1 - .../lib/src/model/parent_with_nullable.dart | 2 - .../lib/src/model/pet.dart | 2 - .../lib/src/model/read_only_first.dart | 1 - .../lib/src/model/special_model_name.dart | 1 - .../lib/src/model/tag.dart | 1 - ...reeform_additional_properties_request.dart | 1 - .../lib/src/model/user.dart | 1 - .../model/additional_properties_class.dart | 3 +- .../lib/src/model/all_of_with_single_ref.dart | 3 +- .../lib/src/model/animal.dart | 4 +- .../lib/src/model/api_response.dart | 3 +- .../model/array_of_array_of_number_only.dart | 3 +- .../lib/src/model/array_of_number_only.dart | 3 +- .../lib/src/model/array_test.dart | 3 +- .../lib/src/model/capitalization.dart | 3 +- .../lib/src/model/cat.dart | 3 +- .../lib/src/model/category.dart | 3 +- .../lib/src/model/child_with_nullable.dart | 4 +- .../lib/src/model/class_model.dart | 3 +- .../lib/src/model/deprecated_object.dart | 3 +- .../lib/src/model/dog.dart | 3 +- .../lib/src/model/enum_arrays.dart | 5 +- .../lib/src/model/enum_test.dart | 7 +- .../fake_big_decimal_map200_response.dart | 3 +- .../lib/src/model/file_schema_test_class.dart | 3 +- .../lib/src/model/foo.dart | 3 +- .../src/model/foo_get_default_response.dart | 3 +- .../lib/src/model/format_test.dart | 3 +- .../lib/src/model/has_only_read_only.dart | 3 +- .../lib/src/model/health_check_result.dart | 3 +- .../lib/src/model/map_test.dart | 4 +- ...rties_and_additional_properties_class.dart | 3 +- .../lib/src/model/model200_response.dart | 3 +- .../lib/src/model/model_client.dart | 3 +- .../lib/src/model/model_file.dart | 3 +- .../lib/src/model/model_list.dart | 3 +- .../lib/src/model/model_return.dart | 3 +- .../lib/src/model/name.dart | 3 +- .../lib/src/model/nullable_class.dart | 3 +- .../lib/src/model/number_only.dart | 3 +- .../model/object_with_deprecated_fields.dart | 3 +- .../lib/src/model/order.dart | 4 +- .../lib/src/model/outer_composite.dart | 3 +- .../outer_object_with_enum_property.dart | 3 +- .../lib/src/model/parent_with_nullable.dart | 5 +- .../lib/src/model/pet.dart | 4 +- .../lib/src/model/read_only_first.dart | 3 +- .../lib/src/model/special_model_name.dart | 3 +- .../lib/src/model/tag.dart | 3 +- ...reeform_additional_properties_request.dart | 3 +- .../lib/src/model/user.dart | 3 +- .../petstore_client_lib/lib/api/pet_api.dart | 1 - .../lib/api/store_api.dart | 1 - .../petstore_client_lib/lib/api/user_api.dart | 1 - .../petstore_client_lib/lib/api_client.dart | 1 - .../lib/api_exception.dart | 1 - .../petstore_client_lib/lib/api_helper.dart | 1 - .../lib/auth/api_key_auth.dart | 1 - .../lib/auth/authentication.dart | 1 - .../lib/auth/http_basic_auth.dart | 1 - .../lib/auth/http_bearer_auth.dart | 1 - .../petstore_client_lib/lib/auth/oauth.dart | 1 - .../lib/model/api_response.dart | 3 - .../lib/model/category.dart | 3 - .../petstore_client_lib/lib/model/order.dart | 4 - .../petstore_client_lib/lib/model/pet.dart | 4 - .../petstore_client_lib/lib/model/tag.dart | 3 - .../petstore_client_lib/lib/model/user.dart | 3 - .../lib/api/another_fake_api.dart | 1 - .../lib/api/default_api.dart | 1 - .../lib/api/fake_api.dart | 1 - .../lib/api/fake_classname_tags123_api.dart | 1 - .../lib/api/pet_api.dart | 1 - .../lib/api/store_api.dart | 1 - .../lib/api/user_api.dart | 1 - .../lib/api_client.dart | 1 - .../lib/api_exception.dart | 1 - .../lib/api_helper.dart | 1 - .../lib/auth/api_key_auth.dart | 1 - .../lib/auth/authentication.dart | 1 - .../lib/auth/http_basic_auth.dart | 1 - .../lib/auth/http_bearer_auth.dart | 1 - .../lib/auth/oauth.dart | 1 - .../model/additional_properties_class.dart | 3 - .../lib/model/all_of_with_single_ref.dart | 3 - .../lib/model/animal.dart | 3 - .../lib/model/api_response.dart | 3 - .../model/array_of_array_of_number_only.dart | 3 - .../lib/model/array_of_number_only.dart | 3 - .../lib/model/array_test.dart | 3 - .../lib/model/capitalization.dart | 3 - .../lib/model/cat.dart | 3 - .../lib/model/category.dart | 3 - .../lib/model/child_with_nullable.dart | 4 - .../lib/model/class_model.dart | 3 - .../lib/model/deprecated_object.dart | 3 - .../lib/model/dog.dart | 3 - .../lib/model/enum_arrays.dart | 5 - .../lib/model/enum_class.dart | 2 - .../lib/model/enum_test.dart | 7 - .../fake_big_decimal_map200_response.dart | 3 - .../lib/model/file_schema_test_class.dart | 3 - .../lib/model/foo.dart | 3 - .../lib/model/foo_get_default_response.dart | 3 - .../lib/model/format_test.dart | 3 - .../lib/model/has_only_read_only.dart | 3 - .../lib/model/health_check_result.dart | 3 - .../lib/model/map_test.dart | 4 - ...rties_and_additional_properties_class.dart | 3 - .../lib/model/model200_response.dart | 3 - .../lib/model/model_client.dart | 3 - .../lib/model/model_file.dart | 3 - .../lib/model/model_list.dart | 3 - .../lib/model/model_return.dart | 3 - .../lib/model/name.dart | 3 - .../lib/model/nullable_class.dart | 3 - .../lib/model/number_only.dart | 3 - .../model/object_with_deprecated_fields.dart | 3 - .../lib/model/order.dart | 4 - .../lib/model/outer_composite.dart | 3 - .../lib/model/outer_enum.dart | 2 - .../lib/model/outer_enum_default_value.dart | 2 - .../lib/model/outer_enum_integer.dart | 2 - .../outer_enum_integer_default_value.dart | 2 - .../outer_object_with_enum_property.dart | 3 - .../lib/model/parent_with_nullable.dart | 4 - .../lib/model/pet.dart | 4 - .../lib/model/read_only_first.dart | 3 - .../lib/model/single_ref_type.dart | 2 - .../lib/model/special_model_name.dart | 3 - .../lib/model/tag.dart | 3 - ...reeform_additional_properties_request.dart | 3 - .../lib/model/user.dart | 3 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../client/model/ChildSchema.java | 1 - .../client/model/MySchemaNameCharacters.java | 1 - .../org/openapitools/client/model/Parent.java | 1 - .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../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 - .../org/openapitools/client/ApiClient.java | 3 +- .../org/openapitools/client/ApiException.java | 3 +- .../openapitools/client/Configuration.java | 3 +- .../java/org/openapitools/client/JSON.java | 3 +- .../client/JavaTimeFormatter.java | 3 +- .../java/org/openapitools/client/Pair.java | 3 +- .../client/RFC3339DateFormat.java | 3 +- .../client/ServerConfiguration.java | 3 +- .../openapitools/client/ServerVariable.java | 3 +- .../org/openapitools/client/StringUtil.java | 3 +- .../client/api/AnotherFakeApi.java | 3 +- .../openapitools/client/api/DefaultApi.java | 3 +- .../org/openapitools/client/api/FakeApi.java | 3 +- .../client/api/FakeClassnameTags123Api.java | 3 +- .../org/openapitools/client/api/PetApi.java | 3 +- .../org/openapitools/client/api/StoreApi.java | 3 +- .../org/openapitools/client/api/UserApi.java | 3 +- .../openapitools/client/auth/ApiKeyAuth.java | 3 +- .../client/auth/HttpBasicAuth.java | 3 +- .../client/auth/HttpBearerAuth.java | 3 +- .../org/openapitools/client/auth/OAuth.java | 3 +- .../client/model/AbstractOpenApiSchema.java | 4 +- .../model/AdditionalPropertiesClass.java | 2 - .../org/openapitools/client/model/Animal.java | 1 - .../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 | 1 - .../openapitools/client/model/Category.java | 1 - .../openapitools/client/model/ChildCat.java | 1 - .../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 | 1 - .../openapitools/client/model/Drawing.java | 3 - .../openapitools/client/model/EnumArrays.java | 3 - .../openapitools/client/model/EnumTest.java | 7 - .../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 | 1 - .../openapitools/client/model/FruitReq.java | 1 - .../openapitools/client/model/GmFruit.java | 1 - .../client/model/GrandparentAnimal.java | 1 - .../client/model/HasOnlyReadOnly.java | 1 - .../client/model/HealthCheckResult.java | 2 - .../client/model/IsoscelesTriangle.java | 1 - .../org/openapitools/client/model/Mammal.java | 1 - .../client/model/MammalAnyof.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 - .../client/model/NullableClass.java | 11 - .../client/model/NullableShape.java | 1 - .../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 | 1 - .../org/openapitools/client/model/Pet.java | 2 - .../org/openapitools/client/model/Pig.java | 1 - .../client/model/Quadrilateral.java | 1 - .../client/model/QuadrilateralInterface.java | 1 - .../client/model/ReadOnlyFirst.java | 1 - .../client/model/ScaleneTriangle.java | 1 - .../org/openapitools/client/model/Shape.java | 1 - .../client/model/ShapeInterface.java | 1 - .../client/model/ShapeOrNull.java | 1 - .../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 | 1 - .../client/model/TriangleInterface.java | 1 - .../org/openapitools/client/model/User.java | 4 - .../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 | 10 +- .../petstore_api/api/default_api.py | 10 +- .../petstore_api/api/fake_api.py | 334 +- .../api/fake_classname_tags123_api.py | 10 +- .../api/import_test_datetime_api.py | 10 +- .../petstore_api/api/pet_api.py | 82 +- .../petstore_api/api/store_api.py | 37 +- .../petstore_api/api/user_api.py | 73 +- .../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 | 10 +- .../python/petstore_api/api/default_api.py | 10 +- .../python/petstore_api/api/fake_api.py | 334 +- .../api/fake_classname_tags123_api.py | 10 +- .../api/import_test_datetime_api.py | 10 +- .../python/petstore_api/api/pet_api.py | 82 +- .../python/petstore_api/api/store_api.py | 37 +- .../python/petstore_api/api/user_api.py | 73 +- .../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/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../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 | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../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 | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/api/DefaultApi.java | 3 +- .../main/java/org/openapitools/model/Pet.java | 23 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/model/Category.java | 11 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTags123Api.java | 3 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../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 | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../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 | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../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 | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/api/PetApi.java | 201 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/api/BarApi.java | 26 +- .../java/org/openapitools/api/FooApi.java | 49 +- .../org/openapitools/model/Addressable.java | 126 +- .../java/org/openapitools/model/Apple.java | 126 +- .../java/org/openapitools/model/Banana.java | 126 +- .../main/java/org/openapitools/model/Bar.java | 211 +- .../org/openapitools/model/BarCreate.java | 208 +- .../java/org/openapitools/model/BarRef.java | 187 +- .../org/openapitools/model/BarRefOrValue.java | 4 +- .../java/org/openapitools/model/Entity.java | 172 +- .../org/openapitools/model/EntityRef.java | 202 +- .../org/openapitools/model/Extensible.java | 141 +- .../main/java/org/openapitools/model/Foo.java | 193 +- .../java/org/openapitools/model/FooRef.java | 202 +- .../org/openapitools/model/FooRefOrValue.java | 4 +- .../java/org/openapitools/model/Fruit.java | 4 +- .../org/openapitools/model/FruitType.java | 5 +- .../java/org/openapitools/model/Pasta.java | 178 +- .../java/org/openapitools/model/Pizza.java | 178 +- .../org/openapitools/model/PizzaSpeziale.java | 190 +- .../java/org/openapitools/api/PetApi.java | 201 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/api/PetApi.java | 201 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../java/org/openapitools/model/Category.java | 127 +- .../openapitools/model/ModelApiResponse.java | 142 +- .../java/org/openapitools/model/Order.java | 188 +- .../main/java/org/openapitools/model/Pet.java | 190 +- .../main/java/org/openapitools/model/Tag.java | 127 +- .../java/org/openapitools/model/User.java | 217 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiDelegate.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiDelegate.java | 183 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiDelegate.java | 26 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 145 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../openapitools/api/StoreApiDelegate.java | 79 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiDelegate.java | 71 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../org/openapitools/api/AnotherFakeApi.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 183 +- .../api/FakeClassnameTestApi.java | 26 +- .../java/org/openapitools/api/PetApi.java | 145 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../java/org/openapitools/api/PetApi.java | 201 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/api/PetApi.java | 201 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../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 +- .../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 +- .../server/JavaTimeFormatter.java | 3 +- .../server/api/FormatService.java | 6 +- .../server/api/FormatServiceImpl.java | 6 +- .../openapitools/server/model/FormatTest.java | 2 - .../server/JavaTimeFormatter.java | 3 +- .../server/api/FormatService.java | 6 +- .../server/api/FormatServiceImpl.java | 6 +- .../openapitools/server/model/FormatTest.java | 2 - .../org/openapitools/server/apis/StuffApi.kt | 3 +- .../org/openapitools/server/models/Stuff.kt | 1 - .../openapitools/server/apis/DefaultApi.kt | 3 +- .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../src/Org.OpenAPITools.Models/Order.cs | 1 - .../src/Org.OpenAPITools.Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../src/Org.OpenAPITools.Models/Order.cs | 1 - .../src/Org.OpenAPITools.Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/FakeApi.cs | 2 +- .../Org.OpenAPITools/Controllers/PetApi.cs | 12 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../Org.OpenAPITools/Controllers/PetApi.cs | 8 +- .../Org.OpenAPITools/Controllers/StoreApi.cs | 4 +- .../Org.OpenAPITools/Controllers/UserApi.cs | 2 +- .../src/Org.OpenAPITools/Models/Order.cs | 1 - .../src/Org.OpenAPITools/Models/Pet.cs | 1 - .../model/Category.cpp | 5 +- .../cpp-pistache-everything/model/Pet.cpp | 110 +- .../model/Pet_vaccinationBook.cpp | 35 +- .../petstore/cpp-pistache/model/Pet.cpp | 50 +- .../generated/3_0/api/AnotherFakeApi.cpp | 81 +- .../generated/3_0/api/DefaultApi.cpp | 71 +- .../cpp-restbed/generated/3_0/api/FakeApi.cpp | 1868 +++-- .../3_0/api/FakeClassnameTags123Api.cpp | 81 +- .../cpp-restbed/generated/3_0/api/PetApi.cpp | 859 ++- .../generated/3_0/api/StoreApi.cpp | 358 +- .../cpp-restbed/generated/3_0/api/UserApi.cpp | 676 +- .../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 +- .../server/JavaTimeFormatter.java | 3 +- .../server/api/AnotherFakeService.java | 6 +- .../server/api/AnotherFakeServiceImpl.java | 6 +- .../server/api/DefaultService.java | 6 +- .../server/api/DefaultServiceImpl.java | 6 +- .../api/FakeClassnameTags123Service.java | 6 +- .../api/FakeClassnameTags123ServiceImpl.java | 6 +- .../openapitools/server/api/FakeService.java | 27 +- .../server/api/FakeServiceImpl.java | 27 +- .../openapitools/server/api/PetService.java | 14 +- .../server/api/PetServiceImpl.java | 14 +- .../openapitools/server/api/StoreService.java | 9 +- .../server/api/StoreServiceImpl.java | 9 +- .../openapitools/server/api/UserService.java | 13 +- .../server/api/UserServiceImpl.java | 13 +- .../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 | 2 - .../openapitools/server/model/EnumClass.java | 1 - .../openapitools/server/model/EnumTest.java | 2 - .../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 | 2 - ...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 | 2 - .../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 | 2 - .../org/openapitools/server/model/Pet.java | 2 - .../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 - .../openapitools/server/model/EnumArrays.java | 2 - .../openapitools/server/model/EnumTest.java | 4 - .../openapitools/server/model/MapTest.java | 1 - .../org/openapitools/server/model/Order.java | 1 - .../server/model/ParentWithNullable.java | 1 - .../org/openapitools/server/model/Pet.java | 1 - .../server/JavaTimeFormatter.java | 3 +- .../server/api/AnotherFakeService.java | 6 +- .../server/api/AnotherFakeServiceImpl.java | 6 +- .../server/api/DefaultService.java | 6 +- .../server/api/DefaultServiceImpl.java | 6 +- .../api/FakeClassnameTags123Service.java | 6 +- .../api/FakeClassnameTags123ServiceImpl.java | 6 +- .../openapitools/server/api/FakeService.java | 27 +- .../server/api/FakeServiceImpl.java | 27 +- .../openapitools/server/api/PetService.java | 14 +- .../server/api/PetServiceImpl.java | 14 +- .../openapitools/server/api/StoreService.java | 9 +- .../server/api/StoreServiceImpl.java | 9 +- .../openapitools/server/api/UserService.java | 13 +- .../server/api/UserServiceImpl.java | 13 +- .../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 | 2 - .../openapitools/server/model/EnumClass.java | 1 - .../openapitools/server/model/EnumTest.java | 2 - .../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 | 2 - ...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 | 2 - .../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 | 2 - .../org/openapitools/server/model/Pet.java | 2 - .../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 - .../server/api/AnotherFakeService.java | 1 - .../server/api/FakeClassnameTestService.java | 1 - .../openapitools/server/api/FakeService.java | 23 - .../openapitools/server/api/FooService.java | 1 - .../openapitools/server/api/PetService.java | 8 - .../openapitools/server/api/StoreService.java | 4 - .../openapitools/server/api/UserService.java | 8 - .../openapitools/server/model/EnumArrays.java | 2 - .../openapitools/server/model/EnumTest.java | 4 - .../openapitools/server/model/MapTest.java | 1 - .../org/openapitools/server/model/Order.java | 1 - .../server/model/ParentWithNullable.java | 1 - .../org/openapitools/server/model/Pet.java | 1 - .../server/api/AnotherFakeService.java | 1 - .../server/api/DefaultService.java | 1 - .../api/FakeClassnameTags123Service.java | 1 - .../openapitools/server/api/FakeService.java | 22 - .../openapitools/server/api/PetService.java | 9 - .../openapitools/server/api/StoreService.java | 4 - .../openapitools/server/api/UserService.java | 8 - .../openapitools/server/model/EnumArrays.java | 2 - .../openapitools/server/model/EnumTest.java | 4 - .../openapitools/server/model/MapTest.java | 1 - .../org/openapitools/server/model/Order.java | 1 - .../server/model/ParentWithNullable.java | 1 - .../org/openapitools/server/model/Pet.java | 1 - .../openapitools/server/model/EnumArrays.java | 2 - .../openapitools/server/model/EnumTest.java | 4 - .../openapitools/server/model/MapTest.java | 1 - .../org/openapitools/server/model/Order.java | 1 - .../server/model/ParentWithNullable.java | 1 - .../org/openapitools/server/model/Pet.java | 1 - .../controller/PetController.java | 3 +- .../controller/StoreController.java | 3 +- .../controller/UserController.java | 3 +- .../java/org/openapitools/model/Category.java | 1 - .../openapitools/model/ModelApiResponse.java | 1 - .../java/org/openapitools/model/Order.java | 4 +- .../main/java/org/openapitools/model/Pet.java | 4 +- .../main/java/org/openapitools/model/Tag.java | 1 - .../java/org/openapitools/model/User.java | 1 - .../server/RFC3339DateFormat.java | 3 +- .../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 - .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiService.java | 3 +- .../org/openapitools/api/ApiException.java | 3 +- .../org/openapitools/api/ApiOriginFilter.java | 3 +- .../openapitools/api/ApiResponseMessage.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiService.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiService.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 +- .../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 - .../api/impl/AnotherFakeApiServiceImpl.java | 3 +- .../api/impl/FakeApiServiceImpl.java | 3 +- .../impl/FakeClassnameTestApiServiceImpl.java | 3 +- .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../puppies/store/apis/PetApiController.java | 3 +- .../store/apis/PetApiControllerImp.java | 3 +- .../apis/PetApiControllerImpInterface.java | 8 - .../store/apis/StoreApiController.java | 3 +- .../store/apis/StoreApiControllerImp.java | 3 +- .../apis/StoreApiControllerImpInterface.java | 4 - .../puppies/store/apis/UserApiController.java | 3 +- .../store/apis/UserApiControllerImp.java | 3 +- .../apis/UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../app/controllers/PetApiController.java | 3 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../PetApiControllerImpInterface.java | 8 - .../app/controllers/StoreApiController.java | 3 +- .../controllers/StoreApiControllerImp.java | 3 +- .../StoreApiControllerImpInterface.java | 4 - .../app/controllers/UserApiController.java | 3 +- .../app/controllers/UserApiControllerImp.java | 3 +- .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../app/controllers/PetApiController.java | 3 +- .../app/controllers/StoreApiController.java | 3 +- .../app/controllers/UserApiController.java | 3 +- .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../app/controllers/PetApiController.java | 3 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../PetApiControllerImpInterface.java | 3 - .../AdditionalPropertiesAnyType.java | 4 +- .../apimodels/AdditionalPropertiesArray.java | 4 +- .../AdditionalPropertiesBoolean.java | 4 +- .../apimodels/AdditionalPropertiesClass.java | 34 +- .../AdditionalPropertiesInteger.java | 4 +- .../apimodels/AdditionalPropertiesNumber.java | 4 +- .../apimodels/AdditionalPropertiesObject.java | 4 +- .../apimodels/AdditionalPropertiesString.java | 4 +- .../app/apimodels/Animal.java | 7 +- .../apimodels/ArrayOfArrayOfNumberOnly.java | 4 +- .../app/apimodels/ArrayOfNumberOnly.java | 4 +- .../app/apimodels/ArrayTest.java | 10 +- .../app/apimodels/BigCat.java | 5 +- .../app/apimodels/Capitalization.java | 19 +- .../app/apimodels/Cat.java | 4 +- .../app/apimodels/Category.java | 7 +- .../app/apimodels/ClassModel.java | 4 +- .../app/apimodels/Client.java | 4 +- .../app/apimodels/Dog.java | 4 +- .../app/apimodels/EnumArrays.java | 9 +- .../app/apimodels/EnumClass.java | 1 - .../app/apimodels/EnumTest.java | 20 +- .../app/apimodels/FileSchemaTestClass.java | 7 +- .../app/apimodels/FormatTest.java | 69 +- .../app/apimodels/HasOnlyReadOnly.java | 7 +- .../app/apimodels/MapTest.java | 14 +- ...ropertiesAndAdditionalPropertiesClass.java | 10 +- .../app/apimodels/Model200Response.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/ModelFile.java | 4 +- .../app/apimodels/ModelList.java | 4 +- .../app/apimodels/ModelReturn.java | 4 +- .../app/apimodels/Name.java | 13 +- .../app/apimodels/NumberOnly.java | 4 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/OuterComposite.java | 10 +- .../app/apimodels/OuterEnum.java | 1 - .../app/apimodels/Pet.java | 20 +- .../app/apimodels/ReadOnlyFirst.java | 7 +- .../app/apimodels/SpecialModelName.java | 4 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/TypeHolderDefault.java | 16 +- .../app/apimodels/TypeHolderExample.java | 19 +- .../app/apimodels/User.java | 25 +- .../app/apimodels/XmlItem.java | 88 +- .../controllers/AnotherFakeApiController.java | 3 +- .../AnotherFakeApiControllerImp.java | 3 +- .../AnotherFakeApiControllerImpInterface.java | 1 - .../app/controllers/FakeApiController.java | 3 +- .../app/controllers/FakeApiControllerImp.java | 3 +- .../FakeApiControllerImpInterface.java | 14 - .../FakeClassnameTags123ApiController.java | 3 +- .../FakeClassnameTags123ApiControllerImp.java | 3 +- ...snameTags123ApiControllerImpInterface.java | 1 - .../app/controllers/PetApiController.java | 3 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../PetApiControllerImpInterface.java | 9 - .../app/controllers/StoreApiController.java | 3 +- .../controllers/StoreApiControllerImp.java | 3 +- .../StoreApiControllerImpInterface.java | 4 - .../app/controllers/UserApiController.java | 3 +- .../app/controllers/UserApiControllerImp.java | 3 +- .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 1 - .../app/apimodels/ModelApiResponse.java | 1 - .../app/apimodels/Order.java | 2 - .../app/apimodels/Pet.java | 2 - .../app/apimodels/Tag.java | 1 - .../app/apimodels/User.java | 1 - .../app/controllers/PetApiController.java | 3 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../PetApiControllerImpInterface.java | 8 - .../app/controllers/StoreApiController.java | 3 +- .../controllers/StoreApiControllerImp.java | 3 +- .../StoreApiControllerImpInterface.java | 4 - .../app/controllers/UserApiController.java | 3 +- .../app/controllers/UserApiControllerImp.java | 3 +- .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../app/controllers/PetApiController.java | 3 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../PetApiControllerImpInterface.java | 8 - .../app/controllers/StoreApiController.java | 3 +- .../controllers/StoreApiControllerImp.java | 3 +- .../StoreApiControllerImpInterface.java | 4 - .../app/controllers/UserApiController.java | 3 +- .../app/controllers/UserApiControllerImp.java | 3 +- .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../app/controllers/PetApiController.java | 179 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../app/controllers/StoreApiController.java | 63 +- .../controllers/StoreApiControllerImp.java | 3 +- .../app/controllers/UserApiController.java | 77 +- .../app/controllers/UserApiControllerImp.java | 3 +- .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../app/controllers/PetApiController.java | 3 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../PetApiControllerImpInterface.java | 8 - .../app/controllers/StoreApiController.java | 3 +- .../controllers/StoreApiControllerImp.java | 3 +- .../StoreApiControllerImpInterface.java | 4 - .../app/controllers/UserApiController.java | 3 +- .../app/controllers/UserApiControllerImp.java | 3 +- .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../app/controllers/PetApiController.java | 3 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../PetApiControllerImpInterface.java | 8 - .../app/controllers/StoreApiController.java | 3 +- .../controllers/StoreApiControllerImp.java | 3 +- .../StoreApiControllerImpInterface.java | 4 - .../app/controllers/UserApiController.java | 3 +- .../app/controllers/UserApiControllerImp.java | 3 +- .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../app/controllers/PetApiController.java | 3 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../PetApiControllerImpInterface.java | 8 - .../app/controllers/StoreApiController.java | 3 +- .../controllers/StoreApiControllerImp.java | 3 +- .../StoreApiControllerImpInterface.java | 4 - .../app/controllers/UserApiController.java | 3 +- .../app/controllers/UserApiControllerImp.java | 3 +- .../UserApiControllerImpInterface.java | 8 - .../app/apimodels/Category.java | 7 +- .../app/apimodels/ModelApiResponse.java | 10 +- .../app/apimodels/Order.java | 20 +- .../app/apimodels/Pet.java | 20 +- .../app/apimodels/Tag.java | 7 +- .../app/apimodels/User.java | 25 +- .../app/controllers/PetApiController.java | 3 +- .../app/controllers/PetApiControllerImp.java | 3 +- .../PetApiControllerImpInterface.java | 8 - .../app/controllers/StoreApiController.java | 3 +- .../controllers/StoreApiControllerImp.java | 3 +- .../StoreApiControllerImpInterface.java | 4 - .../app/controllers/UserApiController.java | 3 +- .../app/controllers/UserApiControllerImp.java | 3 +- .../UserApiControllerImpInterface.java | 8 - .../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 - .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiService.java | 3 +- .../org/openapitools/api/ApiException.java | 3 +- .../org/openapitools/api/ApiOriginFilter.java | 3 +- .../openapitools/api/ApiResponseMessage.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiService.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiService.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/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 - .../AnotherFakeApiServiceFactory.java | 3 +- .../api/factories/FakeApiServiceFactory.java | 3 +- .../FakeClassnameTestApiServiceFactory.java | 3 +- .../api/factories/PetApiServiceFactory.java | 3 +- .../api/factories/StoreApiServiceFactory.java | 3 +- .../api/factories/UserApiServiceFactory.java | 3 +- .../api/impl/AnotherFakeApiServiceImpl.java | 3 +- .../api/impl/FakeApiServiceImpl.java | 3 +- .../impl/FakeClassnameTestApiServiceImpl.java | 3 +- .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiService.java | 3 +- .../org/openapitools/api/ApiException.java | 3 +- .../org/openapitools/api/ApiOriginFilter.java | 3 +- .../openapitools/api/ApiResponseMessage.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiService.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiService.java | 3 +- .../gen/java/org/openapitools/api/FooApi.java | 3 +- .../org/openapitools/api/FooApiService.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 +- .../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 | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../AnotherFakeApiServiceFactory.java | 3 +- .../api/factories/FakeApiServiceFactory.java | 3 +- .../FakeClassnameTestApiServiceFactory.java | 3 +- .../api/factories/FooApiServiceFactory.java | 3 +- .../api/factories/PetApiServiceFactory.java | 3 +- .../api/factories/StoreApiServiceFactory.java | 3 +- .../api/factories/UserApiServiceFactory.java | 3 +- .../api/impl/AnotherFakeApiServiceImpl.java | 3 +- .../api/impl/FakeApiServiceImpl.java | 3 +- .../impl/FakeClassnameTestApiServiceImpl.java | 3 +- .../api/impl/FooApiServiceImpl.java | 3 +- .../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 +- .../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 - .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiService.java | 3 +- .../org/openapitools/api/ApiException.java | 3 +- .../org/openapitools/api/ApiOriginFilter.java | 3 +- .../openapitools/api/ApiResponseMessage.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiService.java | 3 +- .../api/FakeClassnameTags123Api.java | 3 +- .../api/FakeClassnameTags123ApiService.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/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 - .../AnotherFakeApiServiceFactory.java | 3 +- .../api/factories/FakeApiServiceFactory.java | 3 +- ...FakeClassnameTags123ApiServiceFactory.java | 3 +- .../api/factories/PetApiServiceFactory.java | 3 +- .../api/factories/StoreApiServiceFactory.java | 3 +- .../api/factories/UserApiServiceFactory.java | 3 +- .../api/impl/AnotherFakeApiServiceImpl.java | 3 +- .../api/impl/FakeApiServiceImpl.java | 3 +- .../FakeClassnameTags123ApiServiceImpl.java | 3 +- .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiService.java | 3 +- .../org/openapitools/api/ApiException.java | 3 +- .../org/openapitools/api/ApiOriginFilter.java | 3 +- .../openapitools/api/ApiResponseMessage.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiService.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiService.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/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 - .../AnotherFakeApiServiceFactory.java | 3 +- .../api/factories/FakeApiServiceFactory.java | 3 +- .../FakeClassnameTestApiServiceFactory.java | 3 +- .../api/factories/PetApiServiceFactory.java | 3 +- .../api/factories/StoreApiServiceFactory.java | 3 +- .../api/factories/UserApiServiceFactory.java | 3 +- .../api/impl/AnotherFakeApiServiceImpl.java | 3 +- .../api/impl/FakeApiServiceImpl.java | 3 +- .../impl/FakeClassnameTestApiServiceImpl.java | 3 +- .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiService.java | 3 +- .../org/openapitools/api/ApiException.java | 3 +- .../org/openapitools/api/ApiOriginFilter.java | 3 +- .../openapitools/api/ApiResponseMessage.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiService.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiService.java | 3 +- .../gen/java/org/openapitools/api/FooApi.java | 3 +- .../org/openapitools/api/FooApiService.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 +- .../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 | 1 - .../gen/java/org/openapitools/model/Pet.java | 1 - .../AnotherFakeApiServiceFactory.java | 3 +- .../api/factories/FakeApiServiceFactory.java | 3 +- .../FakeClassnameTestApiServiceFactory.java | 3 +- .../api/factories/FooApiServiceFactory.java | 3 +- .../api/factories/PetApiServiceFactory.java | 3 +- .../api/factories/StoreApiServiceFactory.java | 3 +- .../api/factories/UserApiServiceFactory.java | 3 +- .../api/impl/AnotherFakeApiServiceImpl.java | 3 +- .../api/impl/FakeApiServiceImpl.java | 3 +- .../impl/FakeClassnameTestApiServiceImpl.java | 3 +- .../api/impl/FooApiServiceImpl.java | 3 +- .../api/impl/PetApiServiceImpl.java | 3 +- .../api/impl/StoreApiServiceImpl.java | 3 +- .../api/impl/UserApiServiceImpl.java | 3 +- .../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 - .../org/openapitools/server/apis/PetApi.kt | 3 +- .../org/openapitools/server/apis/StoreApi.kt | 3 +- .../org/openapitools/server/apis/UserApi.kt | 3 +- .../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 | 3 +- .../org/openapitools/server/apis/StoreApi.kt | 3 +- .../org/openapitools/server/apis/UserApi.kt | 3 +- .../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/PetApiController.kt | 3 +- .../org/openapitools/api/PetApiDelegate.kt | 3 +- .../openapitools/api/StoreApiController.kt | 3 +- .../org/openapitools/api/StoreApiDelegate.kt | 3 +- .../org/openapitools/api/UserApiController.kt | 3 +- .../org/openapitools/api/UserApiDelegate.kt | 3 +- .../org/openapitools/api/PetApiController.kt | 3 +- .../org/openapitools/api/PetApiDelegate.kt | 167 +- .../openapitools/api/StoreApiController.kt | 3 +- .../org/openapitools/api/StoreApiDelegate.kt | 67 +- .../org/openapitools/api/UserApiController.kt | 3 +- .../org/openapitools/api/UserApiDelegate.kt | 65 +- .../kotlin/org/openapitools/model/Animal.kt | 6 +- .../openapitools/SpringFoxConfiguration.kt | 3 +- .../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 - .../multipart-v3/examples/server/server.rs | 3 - .../output/multipart-v3/src/client/mod.rs | 12 - .../output/multipart-v3/src/lib.rs | 3 - .../output/multipart-v3/src/server/mod.rs | 16 - .../no-example-v3/examples/server/server.rs | 1 - .../output/no-example-v3/src/client/mod.rs | 2 - .../output/no-example-v3/src/lib.rs | 1 - .../output/no-example-v3/src/server/mod.rs | 8 - .../openapi-v3/examples/client/server.rs | 2 - .../openapi-v3/examples/server/server.rs | 29 - .../output/openapi-v3/src/client/callbacks.rs | 8 - .../output/openapi-v3/src/client/mod.rs | 78 - .../rust-server/output/openapi-v3/src/lib.rs | 31 - .../output/openapi-v3/src/server/callbacks.rs | 4 - .../output/openapi-v3/src/server/mod.rs | 94 - .../output/ops-v3/examples/server/server.rs | 37 - .../output/ops-v3/src/client/mod.rs | 74 - .../rust-server/output/ops-v3/src/lib.rs | 37 - .../output/ops-v3/src/server/mod.rs | 78 - .../examples/server/server.rs | 35 - .../src/client/mod.rs | 87 - .../src/lib.rs | 35 - .../src/server/mod.rs | 133 - .../examples/server/server.rs | 1 - .../output/ping-bearer-auth/src/client/mod.rs | 2 - .../output/ping-bearer-auth/src/lib.rs | 1 - .../output/ping-bearer-auth/src/server/mod.rs | 6 - .../examples/server/server.rs | 9 - .../output/rust-server-test/src/client/mod.rs | 23 - .../output/rust-server-test/src/lib.rs | 9 - .../output/rust-server-test/src/server/mod.rs | 30 - .../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 | 50 +- .../org/openapitools/apis/StoreApi.scala | 14 +- .../scala/org/openapitools/apis/UserApi.scala | 36 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../api/FakeClassnameTestApi.java | 3 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../org/openapitools/api/NullableApi.java | 8 +- .../model/ObjectWithUniqueItems.java | 23 +- .../org/openapitools/api/AnotherFakeApi.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 183 +- .../api/FakeClassnameTestApi.java | 26 +- .../java/org/openapitools/api/PetApi.java | 145 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../org/openapitools/api/AnotherFakeApi.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 183 +- .../api/FakeClassnameTestApi.java | 26 +- .../java/org/openapitools/api/PetApi.java | 145 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiDelegate.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiDelegate.java | 183 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiDelegate.java | 26 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 145 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../openapitools/api/StoreApiDelegate.java | 79 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiDelegate.java | 71 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 201 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../openapitools/api/StoreApiDelegate.java | 79 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiDelegate.java | 71 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiDelegate.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiDelegate.java | 183 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiDelegate.java | 26 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 145 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../openapitools/api/StoreApiDelegate.java | 79 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiDelegate.java | 71 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../java/org/openapitools/api/DummyApi.java | 3 +- .../openapitools/api/DummyApiDelegate.java | 8 +- .../java/org/openapitools/api/PetApi.java | 201 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../org/openapitools/api/AnotherFakeApi.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 183 +- .../api/FakeClassnameTestApi.java | 26 +- .../java/org/openapitools/api/PetApi.java | 145 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../java/org/openapitools/api/PetApi.java | 201 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../java/org/openapitools/model/Category.java | 5 +- .../openapitools/model/ModelApiResponse.java | 5 +- .../java/org/openapitools/model/Order.java | 6 +- .../main/java/org/openapitools/model/Pet.java | 6 +- .../main/java/org/openapitools/model/Tag.java | 5 +- .../java/org/openapitools/model/User.java | 5 +- .../java/org/openapitools/api/PetApi.java | 201 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../java/org/openapitools/model/Category.java | 5 +- .../openapitools/model/ModelApiResponse.java | 5 +- .../java/org/openapitools/model/Order.java | 6 +- .../main/java/org/openapitools/model/Pet.java | 6 +- .../main/java/org/openapitools/model/Tag.java | 5 +- .../java/org/openapitools/model/User.java | 5 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiDelegate.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiDelegate.java | 235 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiDelegate.java | 26 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 161 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../openapitools/api/StoreApiDelegate.java | 87 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiDelegate.java | 99 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiDelegate.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiDelegate.java | 235 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiDelegate.java | 26 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 161 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../openapitools/api/StoreApiDelegate.java | 87 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiDelegate.java | 99 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../java/org/openapitools/model/BigCat.java | 10 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ChildWithNullable.java | 9 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../model/NullableMapProperty.java | 8 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 13 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiDelegate.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiDelegate.java | 132 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiDelegate.java | 26 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 178 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../openapitools/api/StoreApiDelegate.java | 79 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiDelegate.java | 71 +- .../org/openapitools/api/VersioningApi.java | 3 +- .../api/VersioningApiDelegate.java | 72 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../org/openapitools/api/AnotherFakeApi.java | 3 +- .../api/AnotherFakeApiDelegate.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 3 +- .../org/openapitools/api/FakeApiDelegate.java | 132 +- .../api/FakeClassnameTestApi.java | 3 +- .../api/FakeClassnameTestApiDelegate.java | 26 +- .../java/org/openapitools/api/PetApi.java | 3 +- .../org/openapitools/api/PetApiDelegate.java | 178 +- .../java/org/openapitools/api/StoreApi.java | 3 +- .../openapitools/api/StoreApiDelegate.java | 79 +- .../java/org/openapitools/api/UserApi.java | 3 +- .../org/openapitools/api/UserApiDelegate.java | 71 +- .../org/openapitools/api/VersioningApi.java | 3 +- .../api/VersioningApiDelegate.java | 72 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../org/openapitools/api/AnotherFakeApi.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 132 +- .../api/FakeClassnameTestApi.java | 26 +- .../java/org/openapitools/api/PetApi.java | 178 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../org/openapitools/api/VersioningApi.java | 72 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../org/openapitools/api/AnotherFakeApi.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 132 +- .../api/FakeClassnameTestApi.java | 26 +- .../java/org/openapitools/api/PetApi.java | 178 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../org/openapitools/api/VersioningApi.java | 72 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../java/org/openapitools/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../openapitools/model/ArrayOfNumberOnly.java | 8 +- .../org/openapitools/model/ArrayTest.java | 14 +- .../openapitools/model/Capitalization.java | 23 +- .../main/java/org/openapitools/model/Cat.java | 9 +- .../java/org/openapitools/model/Category.java | 11 +- .../org/openapitools/model/ClassModel.java | 8 +- .../java/org/openapitools/model/Client.java | 8 +- .../main/java/org/openapitools/model/Dog.java | 9 +- .../org/openapitools/model/EnumArrays.java | 13 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 24 +- .../java/org/openapitools/model/File.java | 8 +- .../model/FileSchemaTestClass.java | 11 +- .../org/openapitools/model/FormatTest.java | 47 +- .../openapitools/model/HasOnlyReadOnly.java | 11 +- .../java/org/openapitools/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../openapitools/model/Model200Response.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../org/openapitools/model/ModelList.java | 8 +- .../org/openapitools/model/ModelReturn.java | 8 +- .../java/org/openapitools/model/Name.java | 17 +- .../org/openapitools/model/NumberOnly.java | 8 +- .../java/org/openapitools/model/Order.java | 24 +- .../openapitools/model/OuterComposite.java | 14 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../org/openapitools/model/ReadOnlyFirst.java | 11 +- .../openapitools/model/SpecialModelName.java | 8 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../openapitools/model/TypeHolderDefault.java | 20 +- .../openapitools/model/TypeHolderExample.java | 23 +- .../java/org/openapitools/model/User.java | 29 +- .../java/org/openapitools/model/XmlItem.java | 92 +- .../java/org/openapitools/api/UserApi.java | 13 +- .../java/org/openapitools/model/Category.java | 11 +- .../openapitools/model/ModelApiResponse.java | 14 +- .../java/org/openapitools/model/Order.java | 24 +- .../main/java/org/openapitools/model/Pet.java | 24 +- .../main/java/org/openapitools/model/Tag.java | 11 +- .../java/org/openapitools/model/User.java | 29 +- .../org/openapitools/api/AnotherFakeApi.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 183 +- .../api/FakeClassnameTestApi.java | 26 +- .../java/org/openapitools/api/PetApi.java | 145 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyType.java | 121 +- .../model/AdditionalPropertiesArray.java | 121 +- .../model/AdditionalPropertiesBoolean.java | 121 +- .../model/AdditionalPropertiesClass.java | 271 +- .../model/AdditionalPropertiesInteger.java | 121 +- .../model/AdditionalPropertiesNumber.java | 121 +- .../model/AdditionalPropertiesObject.java | 121 +- .../model/AdditionalPropertiesString.java | 121 +- .../java/org/openapitools/model/Animal.java | 127 +- .../model/ArrayOfArrayOfNumberOnly.java | 111 +- .../openapitools/model/ArrayOfNumberOnly.java | 111 +- .../org/openapitools/model/ArrayTest.java | 141 +- .../java/org/openapitools/model/BigCat.java | 155 +- .../openapitools/model/Capitalization.java | 186 +- .../main/java/org/openapitools/model/Cat.java | 142 +- .../java/org/openapitools/model/Category.java | 126 +- .../openapitools/model/ChildWithNullable.java | 152 +- .../org/openapitools/model/ClassModel.java | 111 +- .../java/org/openapitools/model/Client.java | 111 +- .../model/ContainerDefaultValue.java | 186 +- .../main/java/org/openapitools/model/Dog.java | 142 +- .../org/openapitools/model/EnumArrays.java | 128 +- .../org/openapitools/model/EnumClass.java | 5 +- .../java/org/openapitools/model/EnumTest.java | 175 +- .../java/org/openapitools/model/File.java | 111 +- .../model/FileSchemaTestClass.java | 126 +- .../org/openapitools/model/FormatTest.java | 306 +- .../openapitools/model/HasOnlyReadOnly.java | 126 +- .../java/org/openapitools/model/MapTest.java | 157 +- ...ropertiesAndAdditionalPropertiesClass.java | 141 +- .../openapitools/model/Model200Response.java | 126 +- .../openapitools/model/ModelApiResponse.java | 141 +- .../org/openapitools/model/ModelList.java | 111 +- .../org/openapitools/model/ModelReturn.java | 111 +- .../java/org/openapitools/model/Name.java | 156 +- .../model/NullableMapProperty.java | 121 +- .../org/openapitools/model/NumberOnly.java | 111 +- .../java/org/openapitools/model/Order.java | 187 +- .../openapitools/model/OuterComposite.java | 141 +- .../org/openapitools/model/OuterEnum.java | 5 +- .../model/ParentWithNullable.java | 138 +- .../main/java/org/openapitools/model/Pet.java | 189 +- .../org/openapitools/model/ReadOnlyFirst.java | 126 +- ...ResponseObjectWithDifferentFieldNames.java | 156 +- .../openapitools/model/SpecialModelName.java | 111 +- .../main/java/org/openapitools/model/Tag.java | 126 +- .../openapitools/model/TypeHolderDefault.java | 171 +- .../openapitools/model/TypeHolderExample.java | 186 +- .../java/org/openapitools/model/User.java | 216 +- .../java/org/openapitools/model/XmlItem.java | 531 +- .../virtualan/api/AnotherFakeApi.java | 26 +- .../openapitools/virtualan/api/FakeApi.java | 183 +- .../virtualan/api/FakeClassnameTestApi.java | 26 +- .../openapitools/virtualan/api/PetApi.java | 145 +- .../openapitools/virtualan/api/StoreApi.java | 79 +- .../openapitools/virtualan/api/UserApi.java | 71 +- .../model/AdditionalPropertiesAnyType.java | 8 +- .../model/AdditionalPropertiesArray.java | 8 +- .../model/AdditionalPropertiesBoolean.java | 8 +- .../model/AdditionalPropertiesClass.java | 38 +- .../model/AdditionalPropertiesInteger.java | 8 +- .../model/AdditionalPropertiesNumber.java | 8 +- .../model/AdditionalPropertiesObject.java | 8 +- .../model/AdditionalPropertiesString.java | 8 +- .../openapitools/virtualan/model/Animal.java | 12 +- .../model/ArrayOfArrayOfNumberOnly.java | 8 +- .../virtualan/model/ArrayOfNumberOnly.java | 8 +- .../virtualan/model/ArrayTest.java | 14 +- .../openapitools/virtualan/model/BigCat.java | 10 +- .../virtualan/model/Capitalization.java | 23 +- .../org/openapitools/virtualan/model/Cat.java | 9 +- .../virtualan/model/Category.java | 11 +- .../virtualan/model/ChildWithNullable.java | 9 +- .../virtualan/model/ClassModel.java | 8 +- .../openapitools/virtualan/model/Client.java | 8 +- .../model/ContainerDefaultValue.java | 17 +- .../org/openapitools/virtualan/model/Dog.java | 9 +- .../virtualan/model/EnumArrays.java | 13 +- .../virtualan/model/EnumClass.java | 5 +- .../virtualan/model/EnumTest.java | 24 +- .../openapitools/virtualan/model/File.java | 8 +- .../virtualan/model/FileSchemaTestClass.java | 11 +- .../virtualan/model/FormatTest.java | 47 +- .../virtualan/model/HasOnlyReadOnly.java | 11 +- .../openapitools/virtualan/model/MapTest.java | 18 +- ...ropertiesAndAdditionalPropertiesClass.java | 14 +- .../virtualan/model/Model200Response.java | 11 +- .../virtualan/model/ModelApiResponse.java | 14 +- .../virtualan/model/ModelList.java | 8 +- .../virtualan/model/ModelReturn.java | 8 +- .../openapitools/virtualan/model/Name.java | 17 +- .../virtualan/model/NullableMapProperty.java | 8 +- .../virtualan/model/NumberOnly.java | 8 +- .../openapitools/virtualan/model/Order.java | 24 +- .../virtualan/model/OuterComposite.java | 14 +- .../virtualan/model/OuterEnum.java | 5 +- .../virtualan/model/ParentWithNullable.java | 13 +- .../org/openapitools/virtualan/model/Pet.java | 24 +- .../virtualan/model/ReadOnlyFirst.java | 11 +- ...ResponseObjectWithDifferentFieldNames.java | 17 +- .../virtualan/model/SpecialModelName.java | 8 +- .../org/openapitools/virtualan/model/Tag.java | 11 +- .../virtualan/model/TypeHolderDefault.java | 20 +- .../virtualan/model/TypeHolderExample.java | 23 +- .../openapitools/virtualan/model/User.java | 29 +- .../openapitools/virtualan/model/XmlItem.java | 92 +- .../org/openapitools/api/AnotherFakeApi.java | 26 +- .../java/org/openapitools/api/FakeApi.java | 183 +- .../api/FakeClassnameTestApi.java | 26 +- .../java/org/openapitools/api/PetApi.java | 145 +- .../java/org/openapitools/api/StoreApi.java | 79 +- .../java/org/openapitools/api/UserApi.java | 71 +- .../configuration/SpringFoxConfiguration.java | 3 +- .../model/AdditionalPropertiesAnyTypeDto.java | 8 +- .../model/AdditionalPropertiesArrayDto.java | 8 +- .../model/AdditionalPropertiesBooleanDto.java | 8 +- .../model/AdditionalPropertiesClassDto.java | 38 +- .../model/AdditionalPropertiesIntegerDto.java | 8 +- .../model/AdditionalPropertiesNumberDto.java | 8 +- .../model/AdditionalPropertiesObjectDto.java | 8 +- .../model/AdditionalPropertiesStringDto.java | 8 +- .../org/openapitools/model/AnimalDto.java | 12 +- .../openapitools/model/ApiResponseDto.java | 14 +- .../model/ArrayOfArrayOfNumberOnlyDto.java | 8 +- .../model/ArrayOfNumberOnlyDto.java | 8 +- .../org/openapitools/model/ArrayTestDto.java | 14 +- .../org/openapitools/model/BigCatDto.java | 10 +- .../openapitools/model/CapitalizationDto.java | 23 +- .../java/org/openapitools/model/CatDto.java | 9 +- .../org/openapitools/model/CategoryDto.java | 11 +- .../model/ChildWithNullableDto.java | 9 +- .../org/openapitools/model/ClassModelDto.java | 8 +- .../org/openapitools/model/ClientDto.java | 8 +- .../model/ContainerDefaultValueDto.java | 17 +- .../java/org/openapitools/model/DogDto.java | 9 +- .../org/openapitools/model/EnumArraysDto.java | 13 +- .../org/openapitools/model/EnumClassDto.java | 5 +- .../org/openapitools/model/EnumTestDto.java | 24 +- .../java/org/openapitools/model/FileDto.java | 8 +- .../model/FileSchemaTestClassDto.java | 11 +- .../org/openapitools/model/FormatTestDto.java | 47 +- .../model/HasOnlyReadOnlyDto.java | 11 +- .../java/org/openapitools/model/ListDto.java | 8 +- .../org/openapitools/model/MapTestDto.java | 18 +- ...ertiesAndAdditionalPropertiesClassDto.java | 14 +- .../model/Model200ResponseDto.java | 11 +- .../java/org/openapitools/model/NameDto.java | 17 +- .../model/NullableMapPropertyDto.java | 8 +- .../org/openapitools/model/NumberOnlyDto.java | 8 +- .../java/org/openapitools/model/OrderDto.java | 24 +- .../openapitools/model/OuterCompositeDto.java | 14 +- .../org/openapitools/model/OuterEnumDto.java | 5 +- .../model/ParentWithNullableDto.java | 13 +- .../java/org/openapitools/model/PetDto.java | 24 +- .../openapitools/model/ReadOnlyFirstDto.java | 11 +- ...ponseObjectWithDifferentFieldNamesDto.java | 17 +- .../org/openapitools/model/ReturnDto.java | 8 +- .../model/SpecialModelNameDto.java | 8 +- .../java/org/openapitools/model/TagDto.java | 11 +- .../model/TypeHolderDefaultDto.java | 20 +- .../model/TypeHolderExampleDto.java | 23 +- .../java/org/openapitools/model/UserDto.java | 29 +- .../org/openapitools/model/XmlItemDto.java | 92 +- 9913 files changed, 40511 insertions(+), 67526 deletions(-) diff --git a/docs/generators/fsharp-functions.md b/docs/generators/fsharp-functions.md index a20382152aab..33bd1f1c2922 100644 --- a/docs/generators/fsharp-functions.md +++ b/docs/generators/fsharp-functions.md @@ -34,7 +34,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false| |sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true| |sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true| -|sourceFolder|source folder for generated code| |OpenAPI/src| +|sourceFolder|source folder for generated code| |OpenAPI\src| ## IMPORT MAPPING diff --git a/docs/generators/fsharp-giraffe-server.md b/docs/generators/fsharp-giraffe-server.md index abe079e504fa..fb3e25b3d776 100644 --- a/docs/generators/fsharp-giraffe-server.md +++ b/docs/generators/fsharp-giraffe-server.md @@ -30,7 +30,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |packageVersion|F# package version.| |1.0.0| |returnICollection|Return ICollection<T> instead of the concrete type.| |false| |sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true| -|sourceFolder|source folder for generated code| |OpenAPI/src| +|sourceFolder|source folder for generated code| |OpenAPI\src| |useCollection|Deserialize array types to Collection<T> instead of List<T>.| |false| |useDateTimeOffset|Use DateTimeOffset to model date-time properties| |false| |useSwashbuckle|Uses the Swashbuckle.AspNetCore NuGet package for documentation.| |false| diff --git a/docs/generators/java-inflector.md b/docs/generators/java-inflector.md index 8b8b35ea29dc..19f35d579274 100644 --- a/docs/generators/java-inflector.md +++ b/docs/generators/java-inflector.md @@ -65,7 +65,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |snapshotVersion|Uses a SNAPSHOT version.|
**true**
Use a SnapShot Version
**false**
Use a Release Version
|null| |sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true| |sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true| -|sourceFolder|source folder for generated code| |src/gen/java| +|sourceFolder|source folder for generated code| |src\gen\java| |testOutput|Set output folder for models and APIs tests| |${project.build.directory}/generated-test-sources/openapi| |useJakartaEe|whether to use Jakarta EE namespace instead of javax| |false| |useOneOfInterfaces|whether to use a java interface to describe a set of oneOf options, where each option is a class that implements the interface| |false| diff --git a/docs/generators/jaxrs-cxf-client.md b/docs/generators/jaxrs-cxf-client.md index 04ae1cfee4e1..e7ec0fadd8cc 100644 --- a/docs/generators/jaxrs-cxf-client.md +++ b/docs/generators/jaxrs-cxf-client.md @@ -65,7 +65,7 @@ These options may be applied as additional-properties (cli) or configOptions (pl |snapshotVersion|Uses a SNAPSHOT version.|
**true**
Use a SnapShot Version
**false**
Use a Release Version
|null| |sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true| |sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true| -|sourceFolder|source folder for generated code| |src/gen/java| +|sourceFolder|source folder for generated code| |src\gen\java| |testOutput|Set output folder for models and APIs tests| |${project.build.directory}/generated-test-sources/openapi| |useAbstractionForFiles|Use alternative types instead of java.io.File to allow passing bytes without a file on disk.| |false| |useBeanValidation|Use BeanValidation API annotations| |false| diff --git a/docs/generators/swift5.md b/docs/generators/swift5.md index 519ad121b837..4bfb9b4d3778 100644 --- a/docs/generators/swift5.md +++ b/docs/generators/swift5.md @@ -48,13 +48,13 @@ These options may be applied as additional-properties (cli) or configOptions (pl |responseAs|Optionally use libraries to manage response. Currently PromiseKit, RxSwift, Result, Combine, AsyncAwait are available.| |null| |sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true| |sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true| -|swiftPackagePath|Set a custom source path instead of OpenAPIClient/Classes/OpenAPIs.| |null| +|swiftPackagePath|Set a custom source path instead of OpenAPIClient\Classes\OpenAPIs.| |null| |swiftUseApiNamespace|Flag to make all the API classes inner-class of {{projectName}}API| |null| |useBacktickEscapes|Escape reserved words using backticks (default: false)| |false| |useClasses|Use final classes for models instead of structs (default: false)| |false| |useCustomDateWithoutTime|Uses a custom type to decode and encode dates without time information to support OpenAPIs date format (default: false)| |false| |useJsonEncodable|Make models conform to JSONEncodable protocol (default: true)| |true| -|useSPMFileStructure|Use SPM file structure and set the source path to Sources/{{projectName}} (default: false).| |null| +|useSPMFileStructure|Use SPM file structure and set the source path to Sources\{{projectName}} (default: false).| |null| |validatable|Make validation rules and validator for model properies (default: true)| |true| ## IMPORT MAPPING diff --git a/pom.xml b/pom.xml index 9f5e4560814b..93d2f61b8fbe 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 e87aec99cc66..bd2e31c4fbc1 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 @@ public override int GetHashCode() 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 4c59b1d4f010..6b1a305909c2 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 @@ -139,7 +139,6 @@ public override int GetHashCode() 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 92ba2761b5c6..3baab966522b 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 @@ -180,7 +180,6 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 3a0530813ead..0b035eabb51c 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 @@ public enum ArrayStringEnumDefaultEnum [EnumMember(Value = "unclassified")] Unclassified = 3 } - /// /// Initializes a new instance of the class. /// @@ -281,7 +280,6 @@ public override int GetHashCode() 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 ccf8e681847c..919daa9a89e1 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } 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 e3a45973d8b5..5828ba667252 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 @@ public enum StatusEnum Sold = 3 } - /// /// pet status in the store /// @@ -251,7 +250,6 @@ public override int GetHashCode() 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 0ff925611a5b..c4b37671a36f 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 @@ public enum OutcomesEnum [EnumMember(Value = "SKIPPED")] SKIPPED = 3 } - /// /// Initializes a new instance of the class. /// @@ -164,7 +163,6 @@ public override int GetHashCode() 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 66eab762090b..dfe5e85e0b21 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 @@ public override int GetHashCode() 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 d38d85da5203..2228acf8ceac 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 @@ public override int GetHashCode() 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 42b8e674635a..6b01c7ed8731 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 @@ -175,7 +175,6 @@ public override int GetHashCode() 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 a6cad9859cf1..9c15de049b9b 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 @@ public override int GetHashCode() 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 5b15b73862eb..280dad869c98 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 20937702195d..55bf1d8ff9f3 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 9a5fe8ce9068..91a06e2c0e70 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 48d42bfe77b9..137d4095311a 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 667c4aec6db3..ebe46fc73f28 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 13f24706dfd5..9ef6578b13cc 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 653e18c8300b..dac78647f266 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 f1ae6625287e..91540adbccff 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 0b69e30a761e..209b90e04b38 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 b270889eaec8..4c2921ca0e22 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 d2e8f8775297..eeaf29208ff0 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 5b15b73862eb..280dad869c98 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 20937702195d..55bf1d8ff9f3 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 9a5fe8ce9068..91a06e2c0e70 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 48d42bfe77b9..137d4095311a 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 667c4aec6db3..ebe46fc73f28 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 13f24706dfd5..9ef6578b13cc 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 653e18c8300b..dac78647f266 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 f1ae6625287e..91540adbccff 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 0b69e30a761e..209b90e04b38 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 d25366f75c12..19fd383c9910 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 b270889eaec8..4c2921ca0e22 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 d2e8f8775297..eeaf29208ff0 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/ApiClient.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ApiClient.java index bd54e010a3ce..9fa6fef3634b 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ApiClient.java @@ -81,8 +81,7 @@ import org.openapitools.client.auth.HttpBasicAuth; import org.openapitools.client.auth.HttpBearerAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private Map defaultHeaderMap = new HashMap(); private Map defaultCookieMap = new HashMap(); private String basePath = "http://localhost:3000"; diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ApiException.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ApiException.java index 0f5ddd3a5a9d..f3b65695e0f7 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ApiException.java @@ -16,8 +16,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/BaseApi.java index bb2293b9a822..d9252dd7655d 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/BaseApi.java @@ -17,8 +17,7 @@ import java.util.Collections; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/Configuration.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/Configuration.java index d4401c5461f2..711fd7167248 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "0.1.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java index b653cf3ebb7f..b4314800fabf 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/Pair.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/Pair.java index 22aba8fbcde8..a44ec149455e 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java index aecf076c7d9f..65cc5f94edb2 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ServerConfiguration.java index 812faea9f061..d41c382f09b0 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ServerVariable.java index 7b2a6e67cf9a..c3dd84be72d0 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/StringUtil.java index 8a24dba3b4ae..1fd542abde0a 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/AuthApi.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/AuthApi.java index 5d6240449f27..f2bc547d3520 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/AuthApi.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/AuthApi.java @@ -29,8 +29,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AuthApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AuthApi extends BaseApi { public AuthApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/BodyApi.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/BodyApi.java index 313ffd7eff45..c3a4647cb0ba 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/BodyApi.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/BodyApi.java @@ -33,8 +33,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class BodyApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class BodyApi extends BaseApi { public BodyApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/FormApi.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/FormApi.java index ee3d677420dd..44da39434bc5 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/FormApi.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/FormApi.java @@ -30,8 +30,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FormApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FormApi extends BaseApi { public FormApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/HeaderApi.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/HeaderApi.java index b579e7d15287..1d772428413a 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/HeaderApi.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/HeaderApi.java @@ -30,8 +30,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HeaderApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HeaderApi extends BaseApi { public HeaderApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/PathApi.java index 7eee07ae3e02..f0917204e96d 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/PathApi.java @@ -30,8 +30,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PathApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PathApi extends BaseApi { public PathApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/QueryApi.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/QueryApi.java index b2bb54c586d5..35da94d401fe 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/QueryApi.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/api/QueryApi.java @@ -36,8 +36,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class QueryApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class QueryApi extends BaseApi { public QueryApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 39e6d2cdc6da..6ef66ef0cb2a 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -18,8 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index f2f290920c3d..dcaf8b69ea8a 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -21,8 +21,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 1f1d8b348663..af8fdbaa1496 100644 --- a/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -20,8 +20,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; 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 238c05cae822..057cc797c062 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 @@ -88,7 +88,6 @@ public static ArrayStringEnumDefaultEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); @@ -309,7 +308,6 @@ public List getArrayStringNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -354,7 +352,6 @@ public List getArrayStringExtensionNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -387,7 +384,6 @@ public String getStringNullable() { @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/Pet.java b/samples/client/echo_api/java/apache-httpclient/src/main/java/org/openapitools/client/model/Pet.java index 548384c35a4e..18905a7a302c 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 38f8919799dc..75d0a588b952 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 @@ -77,7 +77,6 @@ public static OutcomesEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ApiClient.java index 964fd9e85531..d6cc2aa22963 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ApiClient.java @@ -31,8 +31,7 @@ import org.openapitools.client.auth.ApiKeyAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient { private static final Logger log = Logger.getLogger(ApiClient.class.getName()); public interface Api {} diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ServerConfiguration.java index 812faea9f061..d41c382f09b0 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ServerVariable.java index 7b2a6e67cf9a..c3dd84be72d0 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/StringUtil.java index 8a24dba3b4ae..1fd542abde0a 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/AuthApi.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/AuthApi.java index fe0b705698f2..94cbb0999641 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/AuthApi.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/AuthApi.java @@ -11,8 +11,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface AuthApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface AuthApi extends ApiClient.Api { /** diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/BodyApi.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/BodyApi.java index 730a266a96ca..e2d2adeabc48 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/BodyApi.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/BodyApi.java @@ -15,8 +15,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface BodyApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface BodyApi extends ApiClient.Api { /** diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/FormApi.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/FormApi.java index 779669ae4d77..5e82ccd4b374 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/FormApi.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/FormApi.java @@ -12,8 +12,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface FormApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface FormApi extends ApiClient.Api { /** diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/HeaderApi.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/HeaderApi.java index 5cf5a733075c..099ab7dc6d1d 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/HeaderApi.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/HeaderApi.java @@ -12,8 +12,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface HeaderApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface HeaderApi extends ApiClient.Api { /** diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/PathApi.java index 2b45227f37ed..815569a4c4fd 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/PathApi.java @@ -12,8 +12,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface PathApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface PathApi extends ApiClient.Api { /** diff --git a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/QueryApi.java b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/QueryApi.java index 0f37bc6f0531..6007a969c41b 100644 --- a/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/QueryApi.java +++ b/samples/client/echo_api/java/feign-gson/src/main/java/org/openapitools/client/api/QueryApi.java @@ -18,8 +18,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface QueryApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface QueryApi extends ApiClient.Api { /** 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 658fb45ce80d..3d4966bd7134 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 @@ -81,7 +81,6 @@ public void setColor(String color) { 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 2b4f090865a2..1078e28b8eef 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 @@ -81,7 +81,6 @@ public void setName(String name) { 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 b342d9f92712..5a2120647f45 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 @@ -113,7 +113,6 @@ public void setDate(OffsetDateTime date) { 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 fd6cd0ef8839..045b141666c5 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 @@ -84,7 +84,6 @@ public ArrayStringEnumDefaultEnum read(final JsonReader jsonReader) throws IOExc } } } - public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT) private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); @@ -347,7 +346,6 @@ public void setStringNullable(String stringNullable) { 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 2b95b9226fd4..c54b396a18af 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 @@ -110,7 +110,6 @@ public void setDouble(Double _double) { 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 ea24f1dde653..62db907e2a74 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 @@ -100,7 +100,6 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -255,7 +254,6 @@ public void setStatus(StatusEnum status) { 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 0a4ffb2419fe..539534170ba1 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 @@ -82,7 +82,6 @@ public OutcomesEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_OUTCOMES = "outcomes"; @SerializedName(SERIALIZED_NAME_OUTCOMES) private List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); @@ -141,7 +140,6 @@ public void setOutcomes(List outcomes) { 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 f8a6a7820d04..171e45af2fb2 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 @@ -81,7 +81,6 @@ public void setName(String name) { 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 98f4a06cf1c4..f61a3b0c70d1 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 @@ -55,7 +55,6 @@ public void setName(String name) { 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 59ce8949c91c..1e448b0dadac 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 @@ -133,7 +133,6 @@ public void setName(String name) { 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 dddaf4b817b0..cea7bc0cb5b0 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 @@ -66,7 +66,6 @@ public void setValues(List values) { 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 2a6f8a660d65..958d8cb5b528 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 7289ebf585bb..287bdad9fda4 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 d61a881571c0..22c86098e9f2 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 20a9b8ee2508..5e6eb2bae23d 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 7e153538475a..19fae1c9af0b 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 82aa8a25ed7c..4d0c4ead463a 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 99c6fd6faa5d..c42bafa4e06d 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 dff22ecf074b..74722d1ace40 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 5088b2dd1c31..169ff376a5af 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 3e67574f36d3..108e02d59ea6 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 a756a343e8a8..98b0c847dffe 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 9235e80fb823..3c1de3381a4b 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/ApiClient.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiClient.java index b71b32307334..63eb05cbae27 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiClient.java @@ -51,8 +51,7 @@ *

The setter methods of this class return the current object to facilitate * a fluent style of configuration.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient { private HttpClient.Builder builder; private ObjectMapper mapper; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiException.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiException.java index 913adc8738b1..2c5bc8d2e01a 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiException.java @@ -15,8 +15,7 @@ import java.net.http.HttpHeaders; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiResponse.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiResponse.java index 5728495354cb..8ae57eae296e 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiResponse.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ApiResponse.java @@ -21,8 +21,7 @@ * * @param The type of data that is deserialized from response body */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiResponse { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiResponse { final private int statusCode; final private Map> headers; final private T data; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/Configuration.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/Configuration.java index d4401c5461f2..711fd7167248 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "0.1.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/JSON.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/JSON.java index c98aebcacdd7..bfa68de5be1e 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/JSON.java @@ -26,8 +26,7 @@ import java.util.Map; import java.util.Set; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON { private ObjectMapper mapper; public JSON() { @@ -82,8 +81,7 @@ public static Class getClassForElement(JsonNode node, Class modelClass) { /** * Helper class to register the discriminator mappings. */ - @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") - private static class ClassDiscriminatorMapping { + @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") private static class ClassDiscriminatorMapping { // The model class name. Class modelClass; // The name of the discriminator property. diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/Pair.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/Pair.java index 22aba8fbcde8..a44ec149455e 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/RFC3339DateFormat.java index aecf076c7d9f..65cc5f94edb2 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ServerConfiguration.java index 812faea9f061..d41c382f09b0 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ServerVariable.java index 7b2a6e67cf9a..c3dd84be72d0 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/AuthApi.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/AuthApi.java index 36e286175bbd..830cde3cdced 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/AuthApi.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/AuthApi.java @@ -43,8 +43,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AuthApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AuthApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/BodyApi.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/BodyApi.java index 93f621d4548d..aea4a7ea825c 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/BodyApi.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/BodyApi.java @@ -53,8 +53,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class BodyApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class BodyApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/FormApi.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/FormApi.java index 63cf9f34a110..cff39cb6df58 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/FormApi.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/FormApi.java @@ -50,8 +50,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FormApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FormApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/HeaderApi.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/HeaderApi.java index d5a9a3eaaba9..b4f526e8c15a 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/HeaderApi.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/HeaderApi.java @@ -50,8 +50,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HeaderApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HeaderApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/PathApi.java index 6bfcec209ba0..5326179c7a8a 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/PathApi.java @@ -50,8 +50,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PathApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PathApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/QueryApi.java b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/QueryApi.java index 38a6e7805626..2e2480d5e50d 100644 --- a/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/QueryApi.java +++ b/samples/client/echo_api/java/native/src/main/java/org/openapitools/client/api/QueryApi.java @@ -56,8 +56,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class QueryApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class QueryApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; 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 7e9fe62164ac..8cc46df62549 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 @@ -22,8 +22,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -143,5 +142,4 @@ public Boolean isNullable() { } - } 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 8d0826aa4967..43da92f004b9 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 @@ -94,7 +94,6 @@ public void setColor(String color) { 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 856c030f7d9e..19980a36e515 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 @@ -94,7 +94,6 @@ public void setName(String name) { 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 87952a7ac5d3..0f1106fea992 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 @@ -126,7 +126,6 @@ public void setDate(Instant date) { this.date = date; } - @Override public DataQuery id(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 7317bcf2b988..9da2e3d214ce 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 @@ -90,7 +90,6 @@ public static ArrayStringEnumDefaultEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); @@ -304,7 +303,6 @@ public List getArrayStringNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -348,7 +346,6 @@ public List getArrayStringExtensionNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -380,7 +377,6 @@ public String getStringNullable() { @JsonProperty(JSON_PROPERTY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringNullable_JsonNullable() { return stringNullable; } @@ -394,7 +390,6 @@ public void setStringNullable(String stringNullable) { 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 f89935ea9000..0022051cfe27 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 @@ -125,7 +125,6 @@ public void setDouble(Double _double) { 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 78a98ee0bb74..43afaf76c8fa 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 @@ -97,7 +97,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -263,7 +262,6 @@ public void setStatus(StatusEnum status) { 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 de92f1ad3417..61cece588519 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 @@ -79,7 +79,6 @@ public static OutcomesEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; private List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); @@ -141,7 +140,6 @@ public void setOutcomes(List outcomes) { 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 621f638f4556..58ff1d7100e9 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 @@ -94,7 +94,6 @@ public void setName(String name) { 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 716519e99ff5..17beb95a7894 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 @@ -66,7 +66,6 @@ public void setName(String name) { 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 dcf6d1335956..26b554239d1e 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 @@ -150,7 +150,6 @@ public void setName(String name) { 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 e9cecf869faa..3f536b519316 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 @@ -76,7 +76,6 @@ public void setValues(List values) { 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 18b7e6ab8d12..2f929d6e6343 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 @@ -29,7 +29,6 @@ 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 711231202e78..12b6abf97dc1 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 @@ -29,7 +29,6 @@ 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 0be0cdc32fda..e557fdf40389 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 @@ -29,7 +29,6 @@ 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 b803dfc19459..de04d98a4b91 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 @@ -29,7 +29,6 @@ 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 038ddd899f88..d2a9db5c4f10 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 @@ -29,7 +29,6 @@ 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 503d9cc2fdd0..f1bb56f2b4cf 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 @@ -29,7 +29,6 @@ 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/ApiException.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ApiException.java index 9a967056acb8..b3d1242217ff 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/Configuration.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/Configuration.java index 8df83f558702..8c98d8a647b7 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/Pair.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/Pair.java index e1361d5819f8..da22eec357ef 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ServerConfiguration.java index 4d2a538a2047..12d7bd4173ec 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ServerVariable.java index 67e115bcfb82..b5ba3149296c 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/StringUtil.java index 369a58d04e1b..edc6bb4caacf 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 757f7fdf8c3a..fefab3466283 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index c4958bd7e3ef..091f48e79455 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/OAuth.java index f247770a0dd7..9f39c370ecc3 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 5d37dbd849b0..f067024fe973 100644 --- a/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/echo_api/java/okhttp-gson-user-defined-templates/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 64fa8a0ef971..94a51ad73674 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 dcf01a0fef1c..9412793f2597 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 @@ -99,7 +99,6 @@ public void setName(String name) { } - @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 ddb5ae30e170..2615741dfd7f 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 @@ -122,7 +122,6 @@ public void setMessage(String message) { } - @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 6b9675f9da22..f251d451f09f 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 @@ -120,7 +120,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -246,7 +245,6 @@ public void setComplete(Boolean complete) { } - @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 8fcbb25d6391..4c7020d92ca5 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) @@ -270,7 +269,6 @@ public void setStatus(StatusEnum status) { } - @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 bd55071f915e..c917dfa7fce8 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 @@ -99,7 +99,6 @@ public void setName(String name) { } - @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 c2ff6e0766f5..44b1cb46aedd 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 @@ -237,7 +237,6 @@ public void setUserStatus(Integer userStatus) { } - @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/ApiException.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ApiException.java index efea74089bdd..5164945fb0bd 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/Configuration.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/Configuration.java index d4401c5461f2..711fd7167248 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "0.1.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/Pair.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/Pair.java index 22aba8fbcde8..a44ec149455e 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ServerConfiguration.java index 812faea9f061..d41c382f09b0 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ServerVariable.java index 7b2a6e67cf9a..c3dd84be72d0 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/StringUtil.java index 8a24dba3b4ae..1fd542abde0a 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index e182bc92c111..ddab36cefb4d 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 73bfaffe3f37..465fe9a6dd53 100644 --- a/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/echo_api/java/okhttp-gson/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; 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 aa014bcdb3a9..d06f3ca7fdbc 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 b0475747f2a2..1142b7b65445 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 @@ -99,7 +99,6 @@ public void setColor(String color) { } - @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 f02560657278..dce0a20fb4d2 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 @@ -99,7 +99,6 @@ public void setName(String name) { } - @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 eb5161032373..4f944edaf0a3 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 @@ -126,7 +126,6 @@ public void setDate(OffsetDateTime date) { } - @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 a70fc9b2150e..d47a9d2dfe41 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 @@ -111,7 +111,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti ArrayStringEnumDefaultEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; @SerializedName(SERIALIZED_NAME_ARRAY_STRING_ENUM_DEFAULT) private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); @@ -351,7 +350,6 @@ public void setStringNullable(String stringNullable) { } - @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 353048817315..c9cfd205ef96 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 @@ -125,7 +125,6 @@ public void setDouble(Double _double) { } - @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 dbe07da6fa45..700bced01be3 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -265,7 +264,6 @@ public void setStatus(StatusEnum status) { } - @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 0e34d10b0e90..00e558302118 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 @@ -109,7 +109,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti OutcomesEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_OUTCOMES = "outcomes"; @SerializedName(SERIALIZED_NAME_OUTCOMES) private List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); @@ -163,7 +162,6 @@ public void setOutcomes(List outcomes) { } - @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 42559b879365..dacb30ebf24f 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 @@ -99,7 +99,6 @@ public void setName(String name) { } - @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 44a146bf5f0b..13ad536dad5f 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 @@ -76,7 +76,6 @@ public void setName(String name) { } - @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 bd8d21bad837..fba9eb8cf089 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 @@ -145,7 +145,6 @@ public void setName(String name) { } - @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 1edd7ef2ba25..552602085fe4 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 @@ -86,7 +86,6 @@ public void setValues(List values) { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ApiClient.java index cadf8f35e864..42d89d266277 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ApiClient.java @@ -56,8 +56,7 @@ import org.openapitools.client.auth.HttpBearerAuth; import org.openapitools.client.auth.ApiKeyAuth; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 81f1409e9eb3..9717bf605981 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 9343e26c1bc5..c96b0603fb1d 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ServerConfiguration.java index 313e5bc5bf37..41d9932a888c 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ServerVariable.java index 6560f12ab8ad..52eab443318a 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/StringUtil.java index 9e86366b4de7..4977cb432d5a 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/AuthApi.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/AuthApi.java index d8f71393d0cb..6156bc48f068 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/AuthApi.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/AuthApi.java @@ -22,8 +22,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AuthApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AuthApi { private ApiClient apiClient; public AuthApi() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/BodyApi.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/BodyApi.java index 9242a7f8bb20..f168d8fed6fd 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/BodyApi.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/BodyApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class BodyApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class BodyApi { private ApiClient apiClient; public BodyApi() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/FormApi.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/FormApi.java index 035d9c70c4e7..a3fcffbe299e 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/FormApi.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/FormApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FormApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FormApi { private ApiClient apiClient; public FormApi() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/HeaderApi.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/HeaderApi.java index b4a9de7a1f44..988f904c09ea 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/HeaderApi.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/HeaderApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HeaderApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HeaderApi { private ApiClient apiClient; public HeaderApi() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/PathApi.java index 84d19ae8895f..f1241b98e14d 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/PathApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PathApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PathApi { private ApiClient apiClient; public PathApi() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/QueryApi.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/QueryApi.java index f1f204b571b9..04a5d4dfbbbf 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/QueryApi.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/api/QueryApi.java @@ -29,8 +29,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class QueryApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class QueryApi { private ApiClient apiClient; public QueryApi() { diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index b84e2ff1631b..da1c8aae57dc 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 712fa152f308..292f034766ef 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 0d58f1e81fb3..5aa3b809af27 100644 --- a/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; 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 b656923f00e7..a03cbc6b2c48 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 @@ -85,7 +85,6 @@ public static ArrayStringEnumDefaultEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); @@ -306,7 +305,6 @@ public List getArrayStringNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -351,7 +349,6 @@ public List getArrayStringExtensionNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -384,7 +381,6 @@ public String getStringNullable() { @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/Pet.java b/samples/client/echo_api/java/restclient/src/main/java/org/openapitools/client/model/Pet.java index 277c0c2175d3..9cd72d2105f5 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 @@ -92,7 +92,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 563e3c587f73..ef074e63b770 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 @@ -74,7 +74,6 @@ public static OutcomesEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ApiClient.java index 58ae449b2a06..c5e93758d410 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ApiClient.java @@ -60,8 +60,7 @@ import org.openapitools.client.auth.HttpBearerAuth; import org.openapitools.client.auth.ApiKeyAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private Map defaultHeaderMap = new HashMap(); private Map defaultCookieMap = new HashMap(); private String basePath = "http://localhost:3000"; diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ApiException.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ApiException.java index 0f5ddd3a5a9d..f3b65695e0f7 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ApiException.java @@ -16,8 +16,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/Configuration.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/Configuration.java index d4401c5461f2..711fd7167248 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "0.1.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/JSON.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/JSON.java index 70c9dea82f0b..60b534dc5a88 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/JSON.java @@ -22,8 +22,7 @@ import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON implements ContextResolver { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON implements ContextResolver { private ObjectMapper mapper; public JSON() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/JavaTimeFormatter.java index b653cf3ebb7f..b4314800fabf 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/Pair.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/Pair.java index 22aba8fbcde8..a44ec149455e 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/RFC3339DateFormat.java index aecf076c7d9f..65cc5f94edb2 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ServerConfiguration.java index 812faea9f061..d41c382f09b0 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ServerVariable.java index 7b2a6e67cf9a..c3dd84be72d0 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/StringUtil.java index 8a24dba3b4ae..1fd542abde0a 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/AuthApi.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/AuthApi.java index 5ae466d6a38e..2646dbaea413 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/AuthApi.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/AuthApi.java @@ -13,8 +13,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AuthApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AuthApi { private ApiClient apiClient; public AuthApi() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/BodyApi.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/BodyApi.java index 8abdd8509c44..0afff43a37da 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/BodyApi.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/BodyApi.java @@ -17,8 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class BodyApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class BodyApi { private ApiClient apiClient; public BodyApi() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/FormApi.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/FormApi.java index 450cd3f2b827..02a556e51afe 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/FormApi.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/FormApi.java @@ -14,8 +14,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FormApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FormApi { private ApiClient apiClient; public FormApi() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/HeaderApi.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/HeaderApi.java index 9efa8358b6d8..915236b1096c 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/HeaderApi.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/HeaderApi.java @@ -14,8 +14,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HeaderApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HeaderApi { private ApiClient apiClient; public HeaderApi() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/PathApi.java index 0d194e868875..d1426075ae1d 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/PathApi.java @@ -14,8 +14,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PathApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PathApi { private ApiClient apiClient; public PathApi() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/QueryApi.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/QueryApi.java index e80b60b38c65..2055fb26d49f 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/QueryApi.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/api/QueryApi.java @@ -20,8 +20,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class QueryApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class QueryApi { private ApiClient apiClient; public QueryApi() { diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 39e6d2cdc6da..6ef66ef0cb2a 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -18,8 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index f2f290920c3d..dcaf8b69ea8a 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -21,8 +21,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 1f1d8b348663..af8fdbaa1496 100644 --- a/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -20,8 +20,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; 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 ecdd490bb753..a192716a8598 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 @@ -85,7 +85,6 @@ public static ArrayStringEnumDefaultEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); @@ -306,7 +305,6 @@ public List getArrayStringNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -351,7 +349,6 @@ public List getArrayStringExtensionNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -384,7 +381,6 @@ public String getStringNullable() { @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/Pet.java b/samples/client/echo_api/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java index e82f063d249c..7748c5de2377 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 @@ -92,7 +92,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 339bc1b76a9e..dac8d6bb2da4 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 @@ -74,7 +74,6 @@ public static OutcomesEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ApiClient.java index 551536adf511..86efccbc17df 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ApiClient.java @@ -73,8 +73,7 @@ import org.openapitools.client.auth.HttpBasicAuth; import org.openapitools.client.auth.HttpBearerAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/BaseApi.java index 6c1401edfc95..88d9771b8f07 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/BaseApi.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/JavaTimeFormatter.java index b653cf3ebb7f..b4314800fabf 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/RFC3339DateFormat.java index aecf076c7d9f..65cc5f94edb2 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ServerConfiguration.java index 812faea9f061..d41c382f09b0 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ServerVariable.java index 7b2a6e67cf9a..c3dd84be72d0 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/AuthApi.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/AuthApi.java index 6079d0aa3fda..62d204127baf 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/AuthApi.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/AuthApi.java @@ -25,8 +25,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AuthApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AuthApi extends BaseApi { public AuthApi() { super(new ApiClient()); diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/BodyApi.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/BodyApi.java index f08fa42b7c22..4e1e1c9064ea 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/BodyApi.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/BodyApi.java @@ -29,8 +29,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class BodyApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class BodyApi extends BaseApi { public BodyApi() { super(new ApiClient()); diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/FormApi.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/FormApi.java index 7c305f6632c0..d0a7469a6f31 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/FormApi.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/FormApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FormApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FormApi extends BaseApi { public FormApi() { super(new ApiClient()); diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/HeaderApi.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/HeaderApi.java index b3c324611abc..fe78c91478dc 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/HeaderApi.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/HeaderApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HeaderApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HeaderApi extends BaseApi { public HeaderApi() { super(new ApiClient()); diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/PathApi.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/PathApi.java index 08b79ea3b03a..14f17ab443bc 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/PathApi.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/PathApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PathApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PathApi extends BaseApi { public PathApi() { super(new ApiClient()); diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/QueryApi.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/QueryApi.java index 2fbd4a7d047d..0000a81f873d 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/QueryApi.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/api/QueryApi.java @@ -32,8 +32,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class QueryApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class QueryApi extends BaseApi { public QueryApi() { super(new ApiClient()); diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 10f8cd2ba305..a19998a2d4dd 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 88f19d282243..8c7c928330d4 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index a2bcab141b2c..c79c2da937f4 100644 --- a/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; 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 1029fd39a93a..163fc73305a3 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 @@ -85,7 +85,6 @@ public static ArrayStringEnumDefaultEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_STRING_ENUM_DEFAULT = "array_string_enum_default"; private List arrayStringEnumDefault = new ArrayList<>(Arrays.asList(ArrayStringEnumDefaultEnum.SUCCESS, ArrayStringEnumDefaultEnum.FAILURE)); @@ -306,7 +305,6 @@ public List getArrayStringNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringNullable_JsonNullable() { return arrayStringNullable; } @@ -351,7 +349,6 @@ public List getArrayStringExtensionNullable() { @JsonProperty(JSON_PROPERTY_ARRAY_STRING_EXTENSION_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayStringExtensionNullable_JsonNullable() { return arrayStringExtensionNullable; } @@ -384,7 +381,6 @@ public String getStringNullable() { @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/Pet.java b/samples/client/echo_api/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java index 2d1b9cda8c01..d527a4411345 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 @@ -92,7 +92,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 339bc1b76a9e..dac8d6bb2da4 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 @@ -74,7 +74,6 @@ public static OutcomesEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_OUTCOMES = "outcomes"; protected List outcomes = new ArrayList<>(Arrays.asList(OutcomesEnum.SUCCESS, OutcomesEnum.FAILURE)); 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 4207d12f74be..f8140aa35938 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 9ca46c3d0fa9..5311561ee718 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 aa1c1f36365a..050a787b0ece 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 5658fb2393f0..3e5fb8d425d5 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 adc88b273579..e856badf27a3 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 6c346a4c093f..311b9609be31 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 9cef5f51bd68..2593d03ffb96 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 2c197f0ce801..641b07666fd4 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 4207d12f74be..f8140aa35938 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 9ca46c3d0fa9..5311561ee718 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 aa1c1f36365a..050a787b0ece 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 5658fb2393f0..3e5fb8d425d5 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 adc88b273579..e856badf27a3 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 6c346a4c093f..311b9609be31 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 9cef5f51bd68..2593d03ffb96 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 2c197f0ce801..641b07666fd4 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 ac0f2f486022..37c1001c9c25 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 f8ec4e1cc51e..19366deee230 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 ec5413f8b2cb..223075cceda8 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 0262f3edc403..6fe73b68b74d 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 198ccf7f68ca..7df502db1457 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 e9f961d7441a..59ffbc8cf6f9 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 42e79293f18c..1762b01c81a1 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 f0cd66c86efc..cb900a9574ac 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/.openapi-generator/FILES b/samples/client/echo_api/php-nextgen-streaming/.openapi-generator/FILES index c51141c743e7..53ad43f78dc2 100644 --- a/samples/client/echo_api/php-nextgen-streaming/.openapi-generator/FILES +++ b/samples/client/echo_api/php-nextgen-streaming/.openapi-generator/FILES @@ -24,13 +24,13 @@ docs/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md docs/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md git_push.sh phpunit.xml.dist +src/ApiException.php src/Api/AuthApi.php src/Api/BodyApi.php src/Api/FormApi.php src/Api/HeaderApi.php src/Api/PathApi.php src/Api/QueryApi.php -src/ApiException.php src/Configuration.php src/HeaderSelector.php src/Model/Bird.php diff --git a/samples/client/echo_api/php-nextgen-streaming/README.md b/samples/client/echo_api/php-nextgen-streaming/README.md index dd813875cf49..b79503a9cec0 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 874f3c61c69c..fa163ae37317 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 6c26bb843ffd..ecbfb3a66d17 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 f9236a17214e..02aa7adc9059 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 62de1378949d..1535bb97a1ac 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 9d3001f01390..7ce4b5453213 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 10208136e80f..b5b84f10e6bd 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/phpunit.xml.dist b/samples/client/echo_api/php-nextgen-streaming/phpunit.xml.dist index 1135449a8d9b..cba878f52707 100644 --- a/samples/client/echo_api/php-nextgen-streaming/phpunit.xml.dist +++ b/samples/client/echo_api/php-nextgen-streaming/phpunit.xml.dist @@ -2,8 +2,8 @@ - ./src/Api - ./src/Model + ./src\/Api + ./src\/Model 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 7c3dc10acf3f..7c282e418a88 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.9.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 bc47cee3d1ca..2e434ba458b2 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.9.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 8a67a6113445..87b2443e6938 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.9.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 6465a1b3ba45..25c16f95f22f 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.9.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 dbeb47e3dde3..92b082942b88 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.9.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 ca420cea4f22..009650dc9eeb 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.9.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 3fbcc34488b3..7b141d7a0267 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.9.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 ce8f4cf44a04..a2230e2121f5 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.9.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 13a3f711092b..2969c39b82ff 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.9.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 564ecbeeaaf5..a7658d16a1f9 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.9.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 ed2eb9ca6a28..3e7d134c7e8f 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.9.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 0403db5f49e4..32bc9c1a3bd1 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.9.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 d349b341ec7f..ec0a86f58046 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.9.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 5f7e41862461..fcc52308b5e6 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.9.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 8bc8fd8f436c..858ec0ca2308 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.9.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 7bc3d0182cc0..17668e7d25af 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.9.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 ededb9cd405e..aa06c69c3076 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.9.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 337fc1a3f8d0..636ba764f57d 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.9.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 754c54b03c22..67d67b8526c4 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.9.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 527e63fbf815..0ae3174e2313 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.9.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 ba8f468493f6..3b176a0326c9 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.9.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 3a36fceec904..42c9e06fd42d 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.9.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 e75e7b623e01..ea3923304f91 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.9.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/.openapi-generator/FILES b/samples/client/echo_api/php-nextgen/.openapi-generator/FILES index c51141c743e7..53ad43f78dc2 100644 --- a/samples/client/echo_api/php-nextgen/.openapi-generator/FILES +++ b/samples/client/echo_api/php-nextgen/.openapi-generator/FILES @@ -24,13 +24,13 @@ docs/Model/TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter.md docs/Model/TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter.md git_push.sh phpunit.xml.dist +src/ApiException.php src/Api/AuthApi.php src/Api/BodyApi.php src/Api/FormApi.php src/Api/HeaderApi.php src/Api/PathApi.php src/Api/QueryApi.php -src/ApiException.php src/Configuration.php src/HeaderSelector.php src/Model/Bird.php diff --git a/samples/client/echo_api/php-nextgen/README.md b/samples/client/echo_api/php-nextgen/README.md index dd813875cf49..b79503a9cec0 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 874f3c61c69c..fa163ae37317 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 f9b966860b77..3161f8bf190a 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 f9236a17214e..02aa7adc9059 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 62de1378949d..1535bb97a1ac 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 9d3001f01390..7ce4b5453213 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 10208136e80f..b5b84f10e6bd 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/phpunit.xml.dist b/samples/client/echo_api/php-nextgen/phpunit.xml.dist index 1135449a8d9b..cba878f52707 100644 --- a/samples/client/echo_api/php-nextgen/phpunit.xml.dist +++ b/samples/client/echo_api/php-nextgen/phpunit.xml.dist @@ -2,8 +2,8 @@ - ./src/Api - ./src/Model + ./src\/Api + ./src\/Model 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 7c3dc10acf3f..7c282e418a88 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.9.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 20521664c4aa..33eb06e077f9 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.9.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 8a67a6113445..87b2443e6938 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.9.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 6465a1b3ba45..25c16f95f22f 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.9.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 dbeb47e3dde3..92b082942b88 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.9.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 ca420cea4f22..009650dc9eeb 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.9.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 3fbcc34488b3..7b141d7a0267 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.9.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 ce8f4cf44a04..a2230e2121f5 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.9.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 13a3f711092b..2969c39b82ff 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.9.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 564ecbeeaaf5..a7658d16a1f9 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.9.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 ed2eb9ca6a28..3e7d134c7e8f 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.9.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 0403db5f49e4..32bc9c1a3bd1 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.9.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 d349b341ec7f..ec0a86f58046 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.9.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 5f7e41862461..fcc52308b5e6 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.9.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 8bc8fd8f436c..858ec0ca2308 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.9.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 7bc3d0182cc0..17668e7d25af 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.9.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 ededb9cd405e..aa06c69c3076 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.9.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 337fc1a3f8d0..636ba764f57d 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.9.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 754c54b03c22..67d67b8526c4 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.9.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 527e63fbf815..0ae3174e2313 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.9.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 ba8f468493f6..3b176a0326c9 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.9.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 3a36fceec904..42c9e06fd42d 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.9.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 e75e7b623e01..ea3923304f91 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.9.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 3ea65a59c5ac..7f3f4e457eb0 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 a256bd9e763d..8d507f0f38ab 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 507592b4811e..56ca14f2de09 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 d4cc6d4dab6d..a6311d82dfd2 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 86ae2be36975..47e5bc6e3c80 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 137b5c00d105..d2f37031165e 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 dd9362bb746e..19cfab1ad3de 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 8c8bf981a5f7..bf706e43ab12 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 3f63fe12abdb..4bce0c3dffdb 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 2f3e9dfcdb63..4a1bbcd8973f 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 @@ -88,8 +87,7 @@ def test_auth_http_basic( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -151,8 +149,7 @@ def test_auth_http_basic_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -214,8 +211,7 @@ def test_auth_http_basic_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -334,8 +330,7 @@ def test_auth_http_bearer( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -397,8 +392,7 @@ def test_auth_http_bearer_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -460,8 +454,7 @@ def test_auth_http_bearer_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 33aba2cbd446..f03c6f6c5628 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 @@ -93,8 +92,7 @@ def test_binary_gif( _response_types_map: Dict[str, Optional[str]] = { '200': "bytearray", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -156,8 +154,7 @@ def test_binary_gif_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "bytearray", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -219,8 +216,7 @@ def test_binary_gif_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "bytearray", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -342,8 +338,7 @@ def test_body_application_octetstream_binary( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -409,8 +404,7 @@ def test_body_application_octetstream_binary_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -476,8 +470,7 @@ def test_body_application_octetstream_binary_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -623,8 +616,7 @@ def test_body_multipart_formdata_array_of_binary( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -690,8 +682,7 @@ def test_body_multipart_formdata_array_of_binary_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -757,8 +748,7 @@ def test_body_multipart_formdata_array_of_binary_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -897,8 +887,7 @@ def test_body_multipart_formdata_single_binary( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -964,8 +953,7 @@ def test_body_multipart_formdata_single_binary_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1031,8 +1019,7 @@ def test_body_multipart_formdata_single_binary_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1170,8 +1157,7 @@ def test_echo_body_all_of_pet( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1237,8 +1223,7 @@ def test_echo_body_all_of_pet_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1304,8 +1289,7 @@ def test_echo_body_all_of_pet_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1443,8 +1427,7 @@ def test_echo_body_free_form_object_response_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1510,8 +1493,7 @@ def test_echo_body_free_form_object_response_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1577,8 +1559,7 @@ def test_echo_body_free_form_object_response_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1716,8 +1697,7 @@ def test_echo_body_pet( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1783,8 +1763,7 @@ def test_echo_body_pet_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1850,8 +1829,7 @@ def test_echo_body_pet_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1989,8 +1967,7 @@ def test_echo_body_pet_response_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2056,8 +2033,7 @@ def test_echo_body_pet_response_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2123,8 +2099,7 @@ def test_echo_body_pet_response_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2262,8 +2237,7 @@ def test_echo_body_string_enum( _response_types_map: Dict[str, Optional[str]] = { '200': "StringEnumRef", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2329,8 +2303,7 @@ def test_echo_body_string_enum_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "StringEnumRef", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2396,8 +2369,7 @@ def test_echo_body_string_enum_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "StringEnumRef", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2535,8 +2507,7 @@ def test_echo_body_tag_response_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2602,8 +2573,7 @@ def test_echo_body_tag_response_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2669,8 +2639,7 @@ def test_echo_body_tag_response_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 3353457f7ee8..2cd442dab48e 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 @@ -102,8 +101,7 @@ def test_form_integer_boolean_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -177,8 +175,7 @@ def test_form_integer_boolean_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -252,8 +249,7 @@ def test_form_integer_boolean_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -397,8 +393,7 @@ def test_form_object_multipart( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -464,8 +459,7 @@ def test_form_object_multipart_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -531,8 +525,7 @@ def test_form_object_multipart_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -690,8 +683,7 @@ def test_form_oneof( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -777,8 +769,7 @@ def test_form_oneof_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -864,8 +855,7 @@ def test_form_oneof_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 5c1cd1b540dd..bae5ed1daef3 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 @@ -110,8 +109,7 @@ def test_header_integer_boolean_string_enums( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -193,8 +191,7 @@ def test_header_integer_boolean_string_enums_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -276,8 +273,7 @@ def test_header_integer_boolean_string_enums_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 d2ba4662c21a..f75a339e2451 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 @@ -105,8 +104,7 @@ def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_e _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -184,8 +182,7 @@ def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_e _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -263,8 +260,7 @@ def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_e _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 7d2ecbb1c2ca..19e85f82f09e 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 @@ -101,8 +100,7 @@ def test_enum_ref_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -172,8 +170,7 @@ def test_enum_ref_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -243,8 +240,7 @@ def test_enum_ref_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -384,8 +380,7 @@ def test_query_datetime_date_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -459,8 +454,7 @@ def test_query_datetime_date_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -534,8 +528,7 @@ def test_query_datetime_date_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -698,8 +691,7 @@ def test_query_integer_boolean_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -773,8 +765,7 @@ def test_query_integer_boolean_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -848,8 +839,7 @@ def test_query_integer_boolean_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -986,8 +976,7 @@ def test_query_style_deep_object_explode_true_object( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1053,8 +1042,7 @@ def test_query_style_deep_object_explode_true_object_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1120,8 +1108,7 @@ def test_query_style_deep_object_explode_true_object_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1248,8 +1235,7 @@ def test_query_style_deep_object_explode_true_object_all_of( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1315,8 +1301,7 @@ def test_query_style_deep_object_explode_true_object_all_of_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1382,8 +1367,7 @@ def test_query_style_deep_object_explode_true_object_all_of_without_preload_cont _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1510,8 +1494,7 @@ def test_query_style_form_explode_false_array_integer( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1577,8 +1560,7 @@ def test_query_style_form_explode_false_array_integer_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1644,8 +1626,7 @@ def test_query_style_form_explode_false_array_integer_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1773,8 +1754,7 @@ def test_query_style_form_explode_false_array_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1840,8 +1820,7 @@ def test_query_style_form_explode_false_array_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1907,8 +1886,7 @@ def test_query_style_form_explode_false_array_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2036,8 +2014,7 @@ def test_query_style_form_explode_true_array_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2103,8 +2080,7 @@ def test_query_style_form_explode_true_array_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2170,8 +2146,7 @@ def test_query_style_form_explode_true_array_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2298,8 +2273,7 @@ def test_query_style_form_explode_true_object( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2365,8 +2339,7 @@ def test_query_style_form_explode_true_object_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2432,8 +2405,7 @@ def test_query_style_form_explode_true_object_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2560,8 +2532,7 @@ def test_query_style_form_explode_true_object_all_of( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2627,8 +2598,7 @@ def test_query_style_form_explode_true_object_all_of_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2694,8 +2664,7 @@ def test_query_style_form_explode_true_object_all_of_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 d6403e55cdc1..f2ba42d12d6e 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 27946de17875..538582ae96a9 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 bd5561d241ed..71a5635b686d 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 f070f6323167..6fa8559939ed 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 9bb24b9e6d80..b2018a0e30a9 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 c8e9bb709fd1..cf228582ba24 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 255a5ab7f422..403412aaa2e9 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 8dceac31e3d5..3b9d6270daa9 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 d089c9775ace..0ea20b5e68ed 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 bfe90956d977..4c0dd2f5334f 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 97199fb7fd95..3dfcb2499b10 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 90328aea76dd..a61ff40dfba3 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 @@ def from_json(cls, json_str: str) -> Self: """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 5ec177ca73ae..49479ae6f3d0 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 9fab70ea178d..c2b2d96a507a 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 8cf292b6a90b..df23b86f30b8 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 726b427743ca..f99c4d65f4f2 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 02b8176438b1..01aa8eb42158 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 82528555eef1..4a1ef8c5102f 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 15039c6abddd..ce715f83e3f6 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 e4db5503ece0..5fe745efd960 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 0f22b6b2a6d2..e5bca9679287 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 56841c42d416..e269a4337674 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 7bf15b0037c0..be956f9d2b22 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 14e23b66b969..6b2b87f0a158 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 5d56e95efc23..ae0fad791e3b 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 3f63fe12abdb..4bce0c3dffdb 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 dcb3ff423f8e..d72ff5790da8 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 73a283c02b1a..48e8066ea136 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 4d33489816c6..76e88698e25b 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 fe24cff0b3bb..f4733e12c1e9 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 9660feaad571..c90608083f16 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 680dbd3fba51..4b547e02d156 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 6d0d11c5b538..c5155518e8fa 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 7c6f3e11f99f..0ef86ebbec3f 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 ae3e985d2fee..20eaf143ed04 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 f070f6323167..6fa8559939ed 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 77887a53120d..6a7648e8870a 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 ee8e5c258ae9..9a3aa84749bc 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 84f355f3fdd5..dad52f88e88a 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 a73193247fd1..432c7d110530 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 10bb3a590a21..16a7a427490f 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 26832037b0e3..e5a67b9472e7 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 43919c0f569d..b711fffcf6c8 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 f200a1dafb8e..de008042890a 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 @@ def from_json(cls, json_str: str) -> StringEnumRef: """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 66a39adff29c..ee1c96ed5c61 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 54ea54fd8d27..9d93ffb76fa2 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 42e1101ec022..9b37e16f6dce 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 1bff80a6df1c..70cc0afef53a 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 8538f9ee5200..763aa6ff3720 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 192f8f2b0402..650f7c494d38 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 a256bd9e763d..8d507f0f38ab 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 507592b4811e..56ca14f2de09 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 d4cc6d4dab6d..a6311d82dfd2 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 86ae2be36975..47e5bc6e3c80 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 137b5c00d105..d2f37031165e 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 dd9362bb746e..19cfab1ad3de 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 8c8bf981a5f7..bf706e43ab12 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 3f63fe12abdb..4bce0c3dffdb 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 2f3e9dfcdb63..4a1bbcd8973f 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 @@ -88,8 +87,7 @@ def test_auth_http_basic( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -151,8 +149,7 @@ def test_auth_http_basic_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -214,8 +211,7 @@ def test_auth_http_basic_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -334,8 +330,7 @@ def test_auth_http_bearer( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -397,8 +392,7 @@ def test_auth_http_bearer_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -460,8 +454,7 @@ def test_auth_http_bearer_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 33aba2cbd446..f03c6f6c5628 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 @@ -93,8 +92,7 @@ def test_binary_gif( _response_types_map: Dict[str, Optional[str]] = { '200': "bytearray", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -156,8 +154,7 @@ def test_binary_gif_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "bytearray", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -219,8 +216,7 @@ def test_binary_gif_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "bytearray", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -342,8 +338,7 @@ def test_body_application_octetstream_binary( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -409,8 +404,7 @@ def test_body_application_octetstream_binary_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -476,8 +470,7 @@ def test_body_application_octetstream_binary_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -623,8 +616,7 @@ def test_body_multipart_formdata_array_of_binary( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -690,8 +682,7 @@ def test_body_multipart_formdata_array_of_binary_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -757,8 +748,7 @@ def test_body_multipart_formdata_array_of_binary_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -897,8 +887,7 @@ def test_body_multipart_formdata_single_binary( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -964,8 +953,7 @@ def test_body_multipart_formdata_single_binary_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1031,8 +1019,7 @@ def test_body_multipart_formdata_single_binary_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1170,8 +1157,7 @@ def test_echo_body_all_of_pet( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1237,8 +1223,7 @@ def test_echo_body_all_of_pet_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1304,8 +1289,7 @@ def test_echo_body_all_of_pet_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1443,8 +1427,7 @@ def test_echo_body_free_form_object_response_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1510,8 +1493,7 @@ def test_echo_body_free_form_object_response_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1577,8 +1559,7 @@ def test_echo_body_free_form_object_response_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1716,8 +1697,7 @@ def test_echo_body_pet( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1783,8 +1763,7 @@ def test_echo_body_pet_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1850,8 +1829,7 @@ def test_echo_body_pet_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "Pet", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1989,8 +1967,7 @@ def test_echo_body_pet_response_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2056,8 +2033,7 @@ def test_echo_body_pet_response_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2123,8 +2099,7 @@ def test_echo_body_pet_response_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2262,8 +2237,7 @@ def test_echo_body_string_enum( _response_types_map: Dict[str, Optional[str]] = { '200': "StringEnumRef", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2329,8 +2303,7 @@ def test_echo_body_string_enum_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "StringEnumRef", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2396,8 +2369,7 @@ def test_echo_body_string_enum_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "StringEnumRef", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2535,8 +2507,7 @@ def test_echo_body_tag_response_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2602,8 +2573,7 @@ def test_echo_body_tag_response_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2669,8 +2639,7 @@ def test_echo_body_tag_response_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 3353457f7ee8..2cd442dab48e 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 @@ -102,8 +101,7 @@ def test_form_integer_boolean_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -177,8 +175,7 @@ def test_form_integer_boolean_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -252,8 +249,7 @@ def test_form_integer_boolean_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -397,8 +393,7 @@ def test_form_object_multipart( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -464,8 +459,7 @@ def test_form_object_multipart_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -531,8 +525,7 @@ def test_form_object_multipart_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -690,8 +683,7 @@ def test_form_oneof( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -777,8 +769,7 @@ def test_form_oneof_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -864,8 +855,7 @@ def test_form_oneof_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 5c1cd1b540dd..bae5ed1daef3 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 @@ -110,8 +109,7 @@ def test_header_integer_boolean_string_enums( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -193,8 +191,7 @@ def test_header_integer_boolean_string_enums_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -276,8 +273,7 @@ def test_header_integer_boolean_string_enums_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 d2ba4662c21a..f75a339e2451 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 @@ -105,8 +104,7 @@ def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_e _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -184,8 +182,7 @@ def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_e _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -263,8 +260,7 @@ def tests_path_string_path_string_integer_path_integer_enum_nonref_string_path_e _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 7d2ecbb1c2ca..19e85f82f09e 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 @@ -101,8 +100,7 @@ def test_enum_ref_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -172,8 +170,7 @@ def test_enum_ref_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -243,8 +240,7 @@ def test_enum_ref_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -384,8 +380,7 @@ def test_query_datetime_date_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -459,8 +454,7 @@ def test_query_datetime_date_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -534,8 +528,7 @@ def test_query_datetime_date_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -698,8 +691,7 @@ def test_query_integer_boolean_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -773,8 +765,7 @@ def test_query_integer_boolean_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -848,8 +839,7 @@ def test_query_integer_boolean_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -986,8 +976,7 @@ def test_query_style_deep_object_explode_true_object( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1053,8 +1042,7 @@ def test_query_style_deep_object_explode_true_object_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1120,8 +1108,7 @@ def test_query_style_deep_object_explode_true_object_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1248,8 +1235,7 @@ def test_query_style_deep_object_explode_true_object_all_of( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1315,8 +1301,7 @@ def test_query_style_deep_object_explode_true_object_all_of_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1382,8 +1367,7 @@ def test_query_style_deep_object_explode_true_object_all_of_without_preload_cont _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1510,8 +1494,7 @@ def test_query_style_form_explode_false_array_integer( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1577,8 +1560,7 @@ def test_query_style_form_explode_false_array_integer_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1644,8 +1626,7 @@ def test_query_style_form_explode_false_array_integer_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1773,8 +1754,7 @@ def test_query_style_form_explode_false_array_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1840,8 +1820,7 @@ def test_query_style_form_explode_false_array_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -1907,8 +1886,7 @@ def test_query_style_form_explode_false_array_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2036,8 +2014,7 @@ def test_query_style_form_explode_true_array_string( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2103,8 +2080,7 @@ def test_query_style_form_explode_true_array_string_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2170,8 +2146,7 @@ def test_query_style_form_explode_true_array_string_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2298,8 +2273,7 @@ def test_query_style_form_explode_true_object( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2365,8 +2339,7 @@ def test_query_style_form_explode_true_object_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2432,8 +2405,7 @@ def test_query_style_form_explode_true_object_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2560,8 +2532,7 @@ def test_query_style_form_explode_true_object_all_of( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2627,8 +2598,7 @@ def test_query_style_form_explode_true_object_all_of_with_http_info( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) @@ -2694,8 +2664,7 @@ def test_query_style_form_explode_true_object_all_of_without_preload_content( _response_types_map: Dict[str, Optional[str]] = { '200': "str", - } - response_data = self.api_client.call_api( + } response_data = self.api_client.call_api( *_param, _request_timeout=_request_timeout ) 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 d6403e55cdc1..f2ba42d12d6e 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 27946de17875..538582ae96a9 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 bd5561d241ed..71a5635b686d 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 f070f6323167..6fa8559939ed 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 9f0dd625119d..fb6bd481408b 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 d81b92c0f6e3..1f50d66011ac 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 dc9a58598e63..ba1a837b4d34 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 feee1843319f..73bbdf7da9b6 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 08b3d5600ffa..cd649d395204 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 0a0ae74d1155..fd27af476274 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 97199fb7fd95..3dfcb2499b10 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 90328aea76dd..a61ff40dfba3 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 @@ def from_json(cls, json_str: str) -> Self: """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 feec4b3f31cc..bd600dbdfaa9 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 9f7747151bd5..b14e920ea3db 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 8ed0f58c990b..3bfc60fa5ff4 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 a9a7a5929f2e..c7f197daba6b 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 fbb002c0f6bd..74203a93877a 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 82528555eef1..4a1ef8c5102f 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/r/.openapi-generator/FILES b/samples/client/echo_api/r/.openapi-generator/FILES index cf3034e39d0c..79f7452245e1 100644 --- a/samples/client/echo_api/r/.openapi-generator/FILES +++ b/samples/client/echo_api/r/.openapi-generator/FILES @@ -5,6 +5,7 @@ .travis.yml DESCRIPTION NAMESPACE +README.md R/api_client.R R/api_response.R R/auth_api.R @@ -25,7 +26,6 @@ R/tag.R R/test_form_object_multipart_request_marker.R R/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.R R/test_query_style_form_explode_true_array_string_query_object_parameter.R -README.md docs/AuthApi.md docs/Bird.md docs/BodyApi.md diff --git a/samples/client/echo_api/ruby-faraday/docs/Bird.md b/samples/client/echo_api/ruby-faraday/docs/Bird.md index 53207a9a2f10..3b1f2cfc7a0e 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 17adafbed759..b446f5c207f3 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 2ef4c6b1a0d6..b87c96706ddd 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 72736b7608dc..83ac9ccdb804 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 5040bff00ddd..431022478af1 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 817b46ce714a..5084d224ef79 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 e7b670a033da..4ae83ce678bd 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 169bcb44d76f..ce772a5f3bb1 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 d3bcb5933abd..b3ba35c01a83 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 caf8f8331778..0d212249f837 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 a0f7cd16fe86..573fdb16fd9b 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 b21365f8f3a8..1b06c6c25a69 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 1a79935af16e..544483ecdf5e 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 c42ee8c4ce90..0281f2fd27c8 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 49b4c9936b0d..8d54f558e0b9 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 71026956cbff..9ed7acca4b36 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 0b7b4e9f592b..ab8900e424e3 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 6ce4fbe2c1c5..84e4d5bc00f5 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 5934e6f36a3b..66419250f765 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 e9b6fa7c794c..3938953b06ec 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -245,7 +244,6 @@ def basic_auth(conn) 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 6f2152c3417c..74a51f13d63d 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 19224e434221..f5504699f99e 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module OpenapiClient @@ -150,7 +149,6 @@ class Configuration # 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 6b35a519b08b..01a67e9bee3f 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 93718d36620c..d782f3cc375e 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 bdee3ccff0fa..d0178e9ae2d1 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -262,7 +261,5 @@ def _to_hash(value) 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 fd8158fa89e4..3fb9737443e2 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -311,7 +310,5 @@ def _to_hash(value) 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 1348b5b51b22..38e5f4baac12 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ def _to_hash(value) 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 06f3bced29c9..e574f773f4fd 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -306,7 +305,5 @@ def _to_hash(value) 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 e50f0c41a0c8..4be340ab97dc 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -242,7 +241,5 @@ def _to_hash(value) 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 ef25abe60fd7..cc0a85c6aec7 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 dc8b1b1a2d6a..ceecfc9d5bfd 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 7d8dec07422d..5306f8b87a23 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 319f68f20800..a0a0ae7d699f 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ def _to_hash(value) 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 402393e4f761..a7e539667b48 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 f986ed069886..f8dc0479f304 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 5a2a8255ab7a..9f5a4fcafa3c 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.9.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 810c3be13c6e..a6a0f32983f2 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 53207a9a2f10..3b1f2cfc7a0e 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 17adafbed759..b446f5c207f3 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 2ef4c6b1a0d6..b87c96706ddd 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 72736b7608dc..83ac9ccdb804 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 5040bff00ddd..431022478af1 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 817b46ce714a..5084d224ef79 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 e7b670a033da..4ae83ce678bd 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 169bcb44d76f..ce772a5f3bb1 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 d3bcb5933abd..b3ba35c01a83 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 caf8f8331778..0d212249f837 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 a0f7cd16fe86..573fdb16fd9b 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 b21365f8f3a8..1b06c6c25a69 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 1a79935af16e..544483ecdf5e 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 c42ee8c4ce90..0281f2fd27c8 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 49b4c9936b0d..8d54f558e0b9 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 71026956cbff..9ed7acca4b36 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 0b7b4e9f592b..ab8900e424e3 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 6ce4fbe2c1c5..84e4d5bc00f5 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 5934e6f36a3b..66419250f765 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 001090aebfe9..4263d97a3803 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -178,7 +177,6 @@ def session @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 6f2152c3417c..74a51f13d63d 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 8187a914181e..145334312d03 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module OpenapiClient @@ -121,7 +120,6 @@ class Configuration # @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 6b35a519b08b..01a67e9bee3f 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 93718d36620c..d782f3cc375e 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 bdee3ccff0fa..d0178e9ae2d1 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -262,7 +261,5 @@ def _to_hash(value) 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 fd8158fa89e4..3fb9737443e2 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -311,7 +310,5 @@ def _to_hash(value) 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 1348b5b51b22..38e5f4baac12 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ def _to_hash(value) 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 06f3bced29c9..e574f773f4fd 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -306,7 +305,5 @@ def _to_hash(value) 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 e50f0c41a0c8..4be340ab97dc 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -242,7 +241,5 @@ def _to_hash(value) 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 ef25abe60fd7..cc0a85c6aec7 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 dc8b1b1a2d6a..ceecfc9d5bfd 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 7d8dec07422d..5306f8b87a23 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 319f68f20800..a0a0ae7d699f 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ def _to_hash(value) 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 402393e4f761..a7e539667b48 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 f986ed069886..f8dc0479f304 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 8f1ada80ae80..bf0921f769f9 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.9.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 810c3be13c6e..a6a0f32983f2 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 53207a9a2f10..3b1f2cfc7a0e 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 17adafbed759..b446f5c207f3 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 2ef4c6b1a0d6..b87c96706ddd 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 72736b7608dc..83ac9ccdb804 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 5040bff00ddd..431022478af1 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 817b46ce714a..5084d224ef79 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 e7b670a033da..4ae83ce678bd 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 169bcb44d76f..ce772a5f3bb1 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 d3bcb5933abd..b3ba35c01a83 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 caf8f8331778..0d212249f837 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 a0f7cd16fe86..573fdb16fd9b 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 b21365f8f3a8..1b06c6c25a69 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 1a79935af16e..544483ecdf5e 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 c42ee8c4ce90..0281f2fd27c8 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 49b4c9936b0d..8d54f558e0b9 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 71026956cbff..9ed7acca4b36 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 0b7b4e9f592b..ab8900e424e3 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 6ce4fbe2c1c5..84e4d5bc00f5 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 5934e6f36a3b..66419250f765 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 cf997a8a9638..b8f726718c7c 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -202,7 +201,6 @@ def download_file(request) 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 6f2152c3417c..74a51f13d63d 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 fe2ed458b967..d2fc38a7c930 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module OpenapiClient @@ -151,7 +150,6 @@ class Configuration # 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 6b35a519b08b..01a67e9bee3f 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 93718d36620c..d782f3cc375e 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 bdee3ccff0fa..d0178e9ae2d1 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -262,7 +261,5 @@ def _to_hash(value) 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 fd8158fa89e4..3fb9737443e2 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -311,7 +310,5 @@ def _to_hash(value) 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 1348b5b51b22..38e5f4baac12 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ def _to_hash(value) 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 06f3bced29c9..e574f773f4fd 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -306,7 +305,5 @@ def _to_hash(value) 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 e50f0c41a0c8..4be340ab97dc 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -242,7 +241,5 @@ def _to_hash(value) 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 ef25abe60fd7..cc0a85c6aec7 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 dc8b1b1a2d6a..ceecfc9d5bfd 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 7d8dec07422d..5306f8b87a23 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 319f68f20800..a0a0ae7d699f 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ def _to_hash(value) 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 402393e4f761..a7e539667b48 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 f986ed069886..f8dc0479f304 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 de68efb65a8f..444b23cdd0fd 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.9.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 810c3be13c6e..a6a0f32983f2 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 @@ Contact: team@openapitools.org Generated by: https://openapi-generator.tech Generator version: 7.9.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 ffe05310d2dd..9e6ec6a1bfde 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 b95cd69a9ed8..edc23abc6cd2 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 fc1881f27b35..3a4a39f611a8 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 c952b7aefd76..dbacb1c9bcbf 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 99df53bd2b8a..deff2a0f460c 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 a9568625dbce..01c9835b4eac 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 @@ public override int GetHashCode() 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 5c75594cab70..3be74b7bba33 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 @@ public override int GetHashCode() 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 22c4d970da17..c29be54dcb08 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 @@ public override int GetHashCode() 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 f3922222c8de..3d7ec00d06a3 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 @@ public override int GetHashCode() 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 a7186d87f51f..9a549093ee4c 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 96d4179808c9..0afba2cce91d 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 d3845f84998f..4ea353827c50 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 f403748a8968..47be1241d675 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 c3f9468bc15c..8032959b1e6d 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 f0a03353b5c2..ae61ffb22d6a 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 ee4ff5ec523e..705ea87fc031 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 0e1dbddcd6a1..c75da8ef2796 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/ApiClient.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ApiClient.java index 940798bede50..f8c2b4e359d8 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ApiClient.java @@ -83,8 +83,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private static final Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"); protected Map defaultHeaderMap = new HashMap<>(); diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ApiException.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ApiException.java index 63f34bfe9770..37668a6b0c47 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ApiException.java @@ -19,8 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/Configuration.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/Configuration.java index bf2361444fd7..368f9d490a92 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/JSON.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/JSON.java index e9a4957326d6..36a51eb1a9a4 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/JSON.java @@ -28,8 +28,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON implements ContextResolver { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON implements ContextResolver { private ObjectMapper mapper; public JSON() { diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 59d6cfef6d45..52a881086774 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/Pair.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/Pair.java index 825f12da94d6..9be7b98c1a95 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/RFC3339DateFormat.java index ba40fae1f09f..30fcc3123708 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ServerConfiguration.java index 1fa4551e0888..ecdadc1106ec 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ServerVariable.java index dbc52a38b709..0d6aabd52c39 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/StringUtil.java index b971a54ae8a2..68febcd2a9d8 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/api/DefaultApi.java index 4199d5631d23..33f41cf9e2aa 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -16,8 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index ca51af66e809..8c2ed6ab2a05 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index c50bb1d254ae..494f41f09ac4 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -23,8 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 0c9a152dee19..2eed7daa8c90 100644 --- a/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/others/java/jersey2-oneOf-Mixed/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; 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 6843275ba219..68af75ce1d65 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 @@ -24,8 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -145,5 +144,4 @@ public Boolean isNullable() { } - } 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 7fd556601601..bbfc952d4bc2 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 @@ -140,7 +140,6 @@ public Example getNullValue(DeserializationContext ctxt) throws JsonMappingExcep 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 f9241275dbb1..c2474e8419e4 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/ApiClient.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ApiClient.java index 940798bede50..f8c2b4e359d8 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ApiClient.java @@ -83,8 +83,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private static final Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"); protected Map defaultHeaderMap = new HashMap<>(); diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ApiException.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ApiException.java index 63f34bfe9770..37668a6b0c47 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ApiException.java @@ -19,8 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/Configuration.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/Configuration.java index bf2361444fd7..368f9d490a92 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/JSON.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/JSON.java index e9a4957326d6..36a51eb1a9a4 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/JSON.java @@ -28,8 +28,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON implements ContextResolver { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON implements ContextResolver { private ObjectMapper mapper; public JSON() { diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 59d6cfef6d45..52a881086774 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/Pair.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/Pair.java index 825f12da94d6..9be7b98c1a95 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/RFC3339DateFormat.java index ba40fae1f09f..30fcc3123708 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ServerConfiguration.java index 1fa4551e0888..ecdadc1106ec 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ServerVariable.java index dbc52a38b709..0d6aabd52c39 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/StringUtil.java index b971a54ae8a2..68febcd2a9d8 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/api/DefaultApi.java index 4199d5631d23..33f41cf9e2aa 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -16,8 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index ca51af66e809..8c2ed6ab2a05 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index c50bb1d254ae..494f41f09ac4 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -23,8 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 0c9a152dee19..2eed7daa8c90 100644 --- a/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/others/java/jersey2-oneOf-duplicates/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; 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 6843275ba219..68af75ce1d65 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 @@ -24,8 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -145,5 +144,4 @@ public Boolean isNullable() { } - } 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 d39111ccdfc5..857bdccd3690 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 @@ -140,7 +140,6 @@ public Example getNullValue(DeserializationContext ctxt) throws JsonMappingExcep 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/src/main/java/org/openapitools/client/ApiException.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ApiException.java index e6917138e6ba..b7ccdbaa74dc 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/Configuration.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/Configuration.java index ae5db081e80d..02b87093befb 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/Pair.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/Pair.java index ba217f0ce8da..ab017d38078c 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ServerConfiguration.java index c4493b9bbf03..432425d736cd 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ServerVariable.java index 737fb97e6ac0..395a42c6e3f4 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/StringUtil.java index 5c7603c88ac3..9a73b7a1b0cf 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index f896734de90f..53cc86e76d96 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index a9b9422cac86..5984743c61b8 100644 --- a/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/others/java/okhttp-gson-oneOf/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; 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 e9f78b19a3fb..bf522c725d48 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ApiException.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ApiException.java index 7bf09ba124b9..1296a336f94b 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/Configuration.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/Configuration.java index 043bd39ca284..b168d8df8054 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/Pair.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/Pair.java index d1ec318b65b9..8120dcf6d315 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ServerConfiguration.java index 3e4f731e7d21..fb9934342197 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ServerVariable.java index 74ff087c25fb..f53574c4fa66 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/StringUtil.java index 3fb9cd21cec3..d0ba6b9f3c7f 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 808e088be4fe..be2439fd51bc 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index d173450d54b6..c21ee77fdeb9 100644 --- a/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/others/java/okhttp-gson-streaming/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; 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 ffd01c2c5e5d..44695782f6b5 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 9cb367038a53..187c3a2091c4 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 @@ -102,7 +102,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti TypeEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_$_TYPE = "$_type"; @SerializedName(SERIALIZED_NAME_$_TYPE) private TypeEnum $type = TypeEnum.SOME_OBJ_IDENTIFIER; @@ -221,7 +220,6 @@ public void setType(String type) { } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java index 490ab1033dfa..01a69b69d025 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java @@ -56,8 +56,7 @@ import org.openapitools.client.auth.HttpBearerAuth; import org.openapitools.client.auth.ApiKeyAuth; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 080afdb3ba87..f1f0bd78c7b3 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java index c47f83f711fc..327894add800 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java index a47d156d297a..62f64463e0a7 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java index 0f75511af8f3..27ba5b1a26c2 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/StringUtil.java index f011ddeb164a..5026a3b7e25e 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java index f50ec4e31876..d012aa4e73b4 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ResourceApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ResourceApi { private ApiClient apiClient; public ResourceApi() { diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 9f55834b11d6..46f26c1607ed 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 9633524608cf..52d7f4eaa080 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 16fcff8482ca..801e293003bf 100644 --- a/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/others/java/restclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ApiClient.java index 207d345e7b2f..521041c948a8 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ApiClient.java @@ -71,8 +71,7 @@ import org.openapitools.client.auth.Authentication; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/BaseApi.java index a41d9319881c..f327f7235f3f 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/BaseApi.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 2fabff7ff8a4..3dcf3dcb7d2f 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 764082d612ed..f790969e2714 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ServerConfiguration.java index 06f25f2cc527..a39b5cb413f9 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ServerVariable.java index a58e0cfac97a..2ed59b8a99b8 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/api/UserApi.java index 3ebbaf3c23e9..47cdf8924584 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/api/UserApi.java @@ -28,8 +28,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi extends BaseApi { public UserApi() { super(new ApiClient()); diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 04622efdd72f..2a6d433083f5 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index b6d952dcc261..f62c65cf1885 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index ab285b85e223..d01a17d2fc21 100644 --- a/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/others/java/resttemplate-list-schema-validation/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java index 977ed635a3f8..45942a4d514d 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java @@ -71,8 +71,7 @@ import org.openapitools.client.auth.Authentication; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/BaseApi.java index 8c4ccb39aa80..f65876755c0a 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/BaseApi.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java index dfa5910449f9..8ed2718d2b60 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java index c26e0db7acb6..e0bf72ff3e49 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java index ca659a182356..f39335c6476f 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java index 268103f08865..e33ab2dbe492 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java index 33bfcf67fd3f..738636a24391 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ResourceApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ResourceApi extends BaseApi { public ResourceApi() { super(new ApiClient()); diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 38584ca51c22..ff548e7ed0ff 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 489a55dcb886..ce7197cff4f5 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index dd70605deced..b324eaea4061 100644 --- a/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/others/java/resttemplate-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java index 80576c4db4b1..83aab07475bd 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ApiClient.java @@ -79,8 +79,7 @@ import org.openapitools.client.auth.HttpBearerAuth; import org.openapitools.client.auth.ApiKeyAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java index dfa5910449f9..8ed2718d2b60 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java index c26e0db7acb6..e0bf72ff3e49 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java index ca659a182356..f39335c6476f 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java index 268103f08865..e33ab2dbe492 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/StringUtil.java index 7cd94bf7ef58..39cfd1f53a5a 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java index f9cdf7434f4c..6ac4ee2aa662 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/api/ResourceApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ResourceApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ResourceApi { private ApiClient apiClient; public ResourceApi() { diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 38584ca51c22..ff548e7ed0ff 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 489a55dcb886..ce7197cff4f5 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index a58063189510..7648f66f6562 100644 --- a/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/others/java/webclient-useAbstractionForFiles/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; 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 5a0e145deb88..adc039498478 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 0edfd1a07179..435d13840b24 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 a45844e85f20..2b50d2e5fd45 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 79f4f55c0470..8295e03888e6 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 37104f1e2d4e..557875553912 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 24a3e3a0424b..eb07ddbd2730 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 39744d612101..28ce8912b39b 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 2fc3c93a5bc7..ad6f90e1e177 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 76a72f3a74a7..1047512983a6 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 208ec53dda46..3d7ce8653e4e 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 95d62a0dcddb..29f664099899 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 2b516f9129ed..0de3571269b1 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 09f94830a1fe..5919c078a7b3 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 9604cf4c300b..3be24c42de00 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 3643cc60cff6..2a0892f03efb 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 4c6d31ceb243..619a9bb10645 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 12cd97a7d4cc..f422254ea475 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 b3d1d3737cab..d5499daf8db3 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 0cfe57c46a78..2f18f848d5fb 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 53bf52f50bb9..37eec88de4f1 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 5de31fa073f8..e8222c8be5c6 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 14a4f768ac4f..10291ce36de7 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 6791e2e1216f..6819a50e0a78 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 7dab7bfd087e..e60287f1e388 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 50216e7be704..bf09b2b3499e 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 98c39a6ecd68..1de11a781779 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 2122f4c7a134..434495241561 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 34e768bf77e7..6752d32dedcc 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 8d648c02f4c9..99b9e89896e2 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 f66efcce6af9..4d8c61ea82b9 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 64b0b2b4ad40..ea971a274537 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/R-httr2-wrapper/.openapi-generator/FILES b/samples/client/petstore/R-httr2-wrapper/.openapi-generator/FILES index 379998b2a2b8..03da4aaacabb 100644 --- a/samples/client/petstore/R-httr2-wrapper/.openapi-generator/FILES +++ b/samples/client/petstore/R-httr2-wrapper/.openapi-generator/FILES @@ -5,6 +5,7 @@ .travis.yml DESCRIPTION NAMESPACE +README.md R/allof_tag_api_response.R R/animal.R R/any_of_pig.R @@ -39,7 +40,6 @@ R/user.R R/user_api.R R/whale.R R/zebra.R -README.md docs/AllofTagApiResponse.md docs/Animal.md docs/AnyOfPig.md diff --git a/samples/client/petstore/R-httr2/.openapi-generator/FILES b/samples/client/petstore/R-httr2/.openapi-generator/FILES index 07243c898d78..af8bc6f011d8 100644 --- a/samples/client/petstore/R-httr2/.openapi-generator/FILES +++ b/samples/client/petstore/R-httr2/.openapi-generator/FILES @@ -5,6 +5,7 @@ .travis.yml DESCRIPTION NAMESPACE +README.md R/allof_tag_api_response.R R/animal.R R/any_of_pig.R @@ -38,7 +39,6 @@ R/user.R R/user_api.R R/whale.R R/zebra.R -README.md docs/AllofTagApiResponse.md docs/Animal.md docs/AnyOfPig.md diff --git a/samples/client/petstore/R/.openapi-generator/FILES b/samples/client/petstore/R/.openapi-generator/FILES index 43681d7ddb2c..d5c00e7a92f3 100644 --- a/samples/client/petstore/R/.openapi-generator/FILES +++ b/samples/client/petstore/R/.openapi-generator/FILES @@ -5,6 +5,7 @@ .travis.yml DESCRIPTION NAMESPACE +README.md R/allof_tag_api_response.R R/animal.R R/any_of_pig.R @@ -38,7 +39,6 @@ R/user.R R/user_api.R R/whale.R R/zebra.R -README.md docs/AllofTagApiResponse.md docs/Animal.md docs/AnyOfPig.md 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 641462b2e6c6..bbf730d7ed21 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 b97944478972..0d6b3a02d6f0 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 70ba78ced163..388fdbe8ff50 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 c281b8bf322a..f6a24f0b4034 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 d400bffa8a56..c54d34f76737 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 0aabe2d7705e..c80b4bed29b4 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 88707d5896a7..2de908ce407d 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 c1fd36c3f02f..87baa07639ec 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 2fdbf4cfe67b..474acc18f4ed 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 ec91b153b8d8..fa035a61a4a7 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 e9013f0ed0df..40c4c74fcb8a 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 @@ public enum StatusEnum [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 d5a816cd5ee1..9a37e9201bf1 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 @@ public enum StatusEnum [EnumMember(Value = "sold")] SoldEnum = 3 } - /// /// pet status in the store /// 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 f65336b2c81a..d682bc9155ec 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 @@ private void AfterListDefaultImplementation(IListApiResponse apiResponseLocalVar 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 @@ private void OnErrorListDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorList(ref suppressDefaultLog, exception, pathFormat, path, personId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public ListApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 78fdad8039f0..051114c5c25a 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 0d99f099669a..edc2fc6b750e 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 a7f3806b960f..d2ac4eec7491 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 @@ public class DateTimeJsonConverter : JsonConverter "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 c818977618f2..0b74c2d903fc 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 0b113d11177e..70967c615a56 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 53ad628a9a3f..db4b3209d70b 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 ed829aca7729..a7f2e8229bc9 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 3cdde4b29d96..212edbb1f3b2 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -193,13 +191,11 @@ public void WriteProperties(Utf8JsonWriter writer, Adult adult, JsonSerializerOp 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 7f96dcd8b664..497d3534e43f 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -209,19 +207,16 @@ public void WriteProperties(Utf8JsonWriter writer, Child child, JsonSerializerOp 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.FirstNameOption.IsSet) - writer.WriteString("firstName", child.FirstName); - - if (child.LastNameOption.IsSet) - writer.WriteString("lastName", child.LastName); - - writer.WriteString("$_type", child.Type); + 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.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 6c9261c98790..88f0894aa660 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -235,13 +232,11 @@ public void WriteProperties(Utf8JsonWriter writer, Person person, JsonSerializer 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 9fb9257ced6e..b5b5f42d58cc 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 @@ private void AfterRootGetDefaultImplementation(IRootGetApiResponse apiResponseLo 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 @@ private void OnErrorRootGetDefaultImplementation(Exception exception, string pat bool suppressDefaultLog = false; OnErrorRootGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RootGetApiResponse(ILogger logger, System.Net.Http.Ht 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 1d43e69742f6..b87facb8932f 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 96bba8467893..99eb4714a50d 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 68e90f4ecbb2..8b40c1d54609 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 @@ public class DateTimeJsonConverter : JsonConverter "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 3cb4b6ce51e7..b07b11762f60 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 55d56f3f2049..9721738eaf36 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 8e7bed46e9c5..80fcdd367e32 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 3924246ab7c2..abcc7cbee93c 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 7867e6645419..263bf9b911eb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 15899a012afd..5cd766ff9855 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 cd1e938ffb37..be08e3b49df9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -235,8 +232,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 9fb9257ced6e..b5b5f42d58cc 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 @@ private void AfterRootGetDefaultImplementation(IRootGetApiResponse apiResponseLo 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 @@ private void OnErrorRootGetDefaultImplementation(Exception exception, string pat bool suppressDefaultLog = false; OnErrorRootGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RootGetApiResponse(ILogger logger, System.Net.Http.Ht 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 1d43e69742f6..b87facb8932f 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 96bba8467893..99eb4714a50d 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 68e90f4ecbb2..8b40c1d54609 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 @@ public class DateTimeJsonConverter : JsonConverter "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 3cb4b6ce51e7..b07b11762f60 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 55d56f3f2049..9721738eaf36 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 8e7bed46e9c5..80fcdd367e32 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 3924246ab7c2..abcc7cbee93c 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 70534c23212e..321baaa577dd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,8 +163,8 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 bdb8dcaba25b..6171c154f3ee 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -164,8 +161,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 de8c3fcf7b7b..853771b26adb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,8 +231,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 eef2a62a180a..f90646223bea 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 @@ private void AfterCall123TestSpecialTagsDefaultImplementation(ICall123TestSpecia 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 @@ private void OnErrorCall123TestSpecialTagsDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public Call123TestSpecialTagsApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -393,7 +390,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 5151d6053e5a..110a5dfc6213 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 @@ private void AfterFooGetDefaultImplementation(IFooGetApiResponse apiResponseLoca 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 @@ private void OnErrorFooGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorFooGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FooGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetCountryDefaultImplementation(IGetCountryApiResponse apiResp 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 @@ private void OnErrorGetCountryDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetCountry(ref suppressDefaultLog, exception, pathFormat, path, country); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterHelloDefaultImplementation(IHelloApiResponse apiResponseLocalV 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 @@ private void OnErrorHelloDefaultImplementation(Exception exception, string pathF bool suppressDefaultLog = false; OnErrorHello(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public HelloApiResponse(ILogger logger, System.Net.Http.HttpRe 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterRolesReportGetDefaultImplementation(IRolesReportGetApiResponse 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 @@ private void OnErrorRolesReportGetDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorRolesReportGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RolesReportGetApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestDefaultImplementation(ITestApiResponse apiResponseLocalVar 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 @@ private void OnErrorTestDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorTest(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 89f28095bdaa..b145703f5ac7 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 @@ private void AfterFakeHealthGetDefaultImplementation(IFakeHealthGetApiResponse a 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 @@ private void OnErrorFakeHealthGetDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorFakeHealthGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeHealthGetApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterBooleanSerializeDefaultImplementation(IFakeOuterBoole 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 @@ private void OnErrorFakeOuterBooleanSerializeDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterBooleanSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1695,7 +1690,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterCompositeSerializeDefaultImplementation(IFakeOuterCom 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 @@ private void OnErrorFakeOuterCompositeSerializeDefaultImplementation(Exception e bool suppressDefaultLog = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLog, exception, pathFormat, path, outerComposite); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterCompositeSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1925,7 +1918,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterNumberSerializeDefaultImplementation(IFakeOuterNumber 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 @@ private void OnErrorFakeOuterNumberSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterNumberSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2142,7 +2133,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterStringSerializeDefaultImplementation(IFakeOuterString 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 @@ private void OnErrorFakeOuterStringSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLog, exception, pathFormat, path, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterStringSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2384,7 +2373,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetArrayOfEnumsDefaultImplementation(IGetArrayOfEnumsApiRespon 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 @@ private void OnErrorGetArrayOfEnumsDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorGetArrayOfEnums(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetArrayOfEnumsApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedAnyOfDefaultImplementation(IGetMixedAnyOfApiResponse a 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 @@ private void OnErrorGetMixedAnyOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedAnyOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedAnyOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedOneOfDefaultImplementation(IGetMixedOneOfApiResponse a 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 @@ private void OnErrorGetMixedOneOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedOneOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedOneOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestAdditionalPropertiesReferenceDefaultImplementation(ITestAd 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 @@ private void OnErrorTestAdditionalPropertiesReferenceDefaultImplementation(Excep bool suppressDefaultLog = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithFileSchemaDefaultImplementation(ITestBodyWithFileS 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 @@ private void OnErrorTestBodyWithFileSchemaDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLog, exception, pathFormat, path, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithQueryParamsDefaultImplementation(ITestBodyWithQuer 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 @@ private void OnErrorTestBodyWithQueryParamsDefaultImplementation(Exception excep bool suppressDefaultLog = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLog, exception, pathFormat, path, query, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestClientModelDefaultImplementation(ITestClientModelApiRespon 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 @@ private void OnErrorTestClientModelDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorTestClientModel(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClientModelApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEndpointParametersDefaultImplementation(ITestEndpointParam 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 @@ private void OnErrorTestEndpointParametersDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestEndpointParameters(ref suppressDefaultLog, exception, pathFormat, path, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEnumParametersDefaultImplementation(ITestEnumParametersApi 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 @@ private void OnErrorTestEnumParametersDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorTestEnumParameters(ref suppressDefaultLog, exception, pathFormat, path, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestGroupParametersDefaultImplementation(ITestGroupParametersA 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 @@ private void OnErrorTestGroupParametersDefaultImplementation(Exception exception bool suppressDefaultLog = false; OnErrorTestGroupParameters(ref suppressDefaultLog, exception, pathFormat, path, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineAdditionalPropertiesDefaultImplementation(ITestInlin 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 @@ private void OnErrorTestInlineAdditionalPropertiesDefaultImplementation(Exceptio bool suppressDefaultLog = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineFreeformAdditionalPropertiesDefaultImplementation(IT 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 @@ private void OnErrorTestInlineFreeformAdditionalPropertiesDefaultImplementation( bool suppressDefaultLog = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestJsonFormDataDefaultImplementation(ITestJsonFormDataApiResp 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 @@ private void OnErrorTestJsonFormDataDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorTestJsonFormData(ref suppressDefaultLog, exception, pathFormat, path, param, param2); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestQueryParameterCollectionFormatDefaultImplementation(ITestQ 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 @@ private void OnErrorTestQueryParameterCollectionFormatDefaultImplementation(Exce bool suppressDefaultLog = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLog, exception, pathFormat, path, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestStringMapReferenceDefaultImplementation(ITestStringMapRefe 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 @@ private void OnErrorTestStringMapReferenceDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestStringMapReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 ff66cc2a2097..db99b99fa0d3 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 @@ private void AfterTestClassnameDefaultImplementation(ITestClassnameApiResponse a 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 @@ private void OnErrorTestClassnameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorTestClassname(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClassnameApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 bc79234f09b1..2ca4619fd89b 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 @@ private void AfterAddPetDefaultImplementation(IAddPetApiResponse apiResponseLoca 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 @@ private void OnErrorAddPetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorAddPet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeletePetDefaultImplementation(IDeletePetApiResponse apiRespon 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 @@ private void OnErrorDeletePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorDeletePet(ref suppressDefaultLog, exception, pathFormat, path, petId, apiKey); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByStatusDefaultImplementation(IFindPetsByStatusApiResp 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 @@ private void OnErrorFindPetsByStatusDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorFindPetsByStatus(ref suppressDefaultLog, exception, pathFormat, path, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByStatusApiResponse(ILogger logger, 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByTagsDefaultImplementation(IFindPetsByTagsApiResponse 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 @@ private void OnErrorFindPetsByTagsDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorFindPetsByTags(ref suppressDefaultLog, exception, pathFormat, path, tags); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByTagsApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetPetByIdDefaultImplementation(IGetPetByIdApiResponse apiResp 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 @@ private void OnErrorGetPetByIdDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetPetById(ref suppressDefaultLog, exception, pathFormat, path, petId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetPetByIdApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetDefaultImplementation(IUpdatePetApiResponse apiRespon 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 @@ private void OnErrorUpdatePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorUpdatePet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetWithFormDefaultImplementation(IUpdatePetWithFormApiRe 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 @@ private void OnErrorUpdatePetWithFormDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorUpdatePetWithForm(ref suppressDefaultLog, exception, pathFormat, path, petId, name, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileDefaultImplementation(IUploadFileApiResponse apiResp 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 @@ private void OnErrorUploadFileDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUploadFile(ref suppressDefaultLog, exception, pathFormat, path, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileWithRequiredFileDefaultImplementation(IUploadFileWit 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 @@ private void OnErrorUploadFileWithRequiredFileDefaultImplementation(Exception ex bool suppressDefaultLog = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLog, exception, pathFormat, path, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileWithRequiredFileApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2813,7 +2794,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 f098e2395926..dd2822c9a16e 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 @@ private void AfterDeleteOrderDefaultImplementation(IDeleteOrderApiResponse apiRe 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 @@ private void OnErrorDeleteOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteOrder(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetInventoryDefaultImplementation(IGetInventoryApiResponse 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 @@ private void OnErrorGetInventoryDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetInventory(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetInventoryApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetOrderByIdDefaultImplementation(IGetOrderByIdApiResponse 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 @@ private void OnErrorGetOrderByIdDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetOrderById(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetOrderByIdApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterPlaceOrderDefaultImplementation(IPlaceOrderApiResponse apiResp 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 @@ private void OnErrorPlaceOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorPlaceOrder(ref suppressDefaultLog, exception, pathFormat, path, order); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public PlaceOrderApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 25824cb3dcad..96052485d721 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 @@ private void AfterCreateUserDefaultImplementation(ICreateUserApiResponse apiResp 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 @@ private void OnErrorCreateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorCreateUser(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithArrayInputDefaultImplementation(ICreateUsersWit 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 @@ private void OnErrorCreateUsersWithArrayInputDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithListInputDefaultImplementation(ICreateUsersWith 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 @@ private void OnErrorCreateUsersWithListInputDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeleteUserDefaultImplementation(IDeleteUserApiResponse apiResp 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 @@ private void OnErrorDeleteUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteUser(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetUserByNameDefaultImplementation(IGetUserByNameApiResponse a 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 @@ private void OnErrorGetUserByNameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetUserByName(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetUserByNameApiResponse(ILogger logger, System 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 @@ public bool TryOk(out Org.OpenAPITools.Model.User result) 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLoginUserDefaultImplementation(ILoginUserApiResponse apiRespon 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 @@ private void OnErrorLoginUserDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorLoginUser(ref suppressDefaultLog, exception, pathFormat, path, password, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public LoginUserApiResponse(ILogger logger, System.Net.Htt 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLogoutUserDefaultImplementation(ILogoutUserApiResponse apiResp 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 @@ private void OnErrorLogoutUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorLogoutUser(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdateUserDefaultImplementation(IUpdateUserApiResponse apiResp 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 @@ private void OnErrorUpdateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUpdateUser(ref suppressDefaultLog, exception, pathFormat, path, user, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 fdd11dd19c9a..0f220825a1f2 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 416f7a04e3d6..364befb0206d 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 973f9e9d4e80..218395c88306 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 @@ public class DateTimeJsonConverter : JsonConverter "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 b491c61f07fa..6817e3c39270 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 5c4159491eec..f58b4501c674 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 8cf79a713b74..0d3b4a720e90 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 534f27a8cc52..1b233732bfc6 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 36d7dad03e23..996fb07a1fa5 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 a5e4bd35e9bc..58d445021e5d 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 @@ public override string ToString() 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 d7b4374e6a7b..cf96397d517f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ public void WriteProperties(Utf8JsonWriter writer, ActivityOutputElementRepresen 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 ec17222fbc8f..9eef9e63b103 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 @@ public override string ToString() 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 74cb14f52d91..c574d5a2ea6e 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ public void WriteProperties(Utf8JsonWriter writer, Animal animal, JsonSerializer 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 77ec0bd5ed2d..3b312a560cb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ public void WriteProperties(Utf8JsonWriter writer, ApiResponse apiResponse, Json 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 df3bc9af06cc..9fda41895306 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 1cc72ecd59d3..44bf8667e208 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ public void WriteProperties(Utf8JsonWriter writer, AppleReq appleReq, JsonSerial 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 d2398a452eee..f00c246ac84d 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 @@ public override string ToString() 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 cce8d5d564b6..073503dca9ee 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 @@ public override string ToString() 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 3fbc72e2f5ab..30a9fd8381d9 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 @@ public override string ToString() 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 d92ba4ae6aef..2a87cf4680be 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 c9734cbe3808..f3366e53886e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ public override void Write(Utf8JsonWriter writer, BananaReq bananaReq, JsonSeria /// 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 9938d89e008d..4848a599f7cd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, BasquePig basquePig, JsonSeri 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 a1fb0b3eb574..55c4682af23c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ public void WriteProperties(Utf8JsonWriter writer, Capitalization capitalization 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 0ffe1228015d..dc43e6dd6cd8 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ public void WriteProperties(Utf8JsonWriter writer, Cat cat, JsonSerializerOption 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 f483d87f36c8..4bf859316189 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ public void WriteProperties(Utf8JsonWriter writer, Category category, JsonSerial 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 8d76e5b9a7ce..bd1d1a7976c4 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -172,8 +170,8 @@ public void WriteProperties(Utf8JsonWriter writer, ChildCat childCat, JsonSerial 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 9e8bc253fdb2..21f91ce0dd43 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 7c49d7adb55c..cb921fcaf865 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ClassModel classModel, JsonSe 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 3023a45610e4..34179cf3eeb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ComplexQuadrilateral complexQ 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 14b2ed3b153f..b689eff90ae4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, DanishPig danishPig, JsonSeri 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 2ed0b166d7f6..8c540b69de29 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ public override void Write(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, J /// 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 08067c5cc07c..ab41548c7686 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, DeprecatedObject deprecatedOb 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 605dc512434b..486f9de74139 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ public void WriteProperties(Utf8JsonWriter writer, Dog dog, JsonSerializerOption 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 a853b96144e2..d0abaf05c053 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 @@ public override string ToString() 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 6520bebabc0f..0e8a2f08a7cc 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 @@ public override string ToString() 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 c620b7197c40..a400e7a5e607 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 4a414d11d0db..9fdae0149620 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 b1aff0adf0d8..9e4dceb77312 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 cb22e561feaf..bb7ca09ead8b 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 @@ public override string ToString() 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 3a1302bf271e..549f50903eeb 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 cd0add6cf3ce..19db7af3bb09 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 adad28355b70..307c5035bc78 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 d65c7740e5e8..4c6b57312e55 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, EquilateralTriangle equilater 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 092f10c09324..9d2bdcce2860 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ public void WriteProperties(Utf8JsonWriter writer, File file, JsonSerializerOpti 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 f9d9d9f7a7b8..6e1c51ef8b0c 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 @@ public override string ToString() 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 da357d93dd28..e02997cbefd1 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 3eeca0aa2112..d82c3b21439c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Foo foo, JsonSerializerOption 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 c7d043666115..274ef7b4267a 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 @@ public override string ToString() 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 b0822c334f55..c08bcc48b04f 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ public void WriteProperties(Utf8JsonWriter writer, FormatTest formatTest, JsonSe 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 cc8b4530f01c..f1ec3159ed17 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 1e72875d4d32..c9711ef9205e 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 @@ public override string ToString() 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 78cb87b61a31..5b356ea284fc 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ public void WriteProperties(Utf8JsonWriter writer, GmFruit gmFruit, JsonSerializ 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 b23e4826fd6b..294ed66fccad 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 a4e67f73a8e5..dd2d22efc53b 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ public void WriteProperties(Utf8JsonWriter writer, HasOnlyReadOnly hasOnlyReadOn 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 16afc025fa03..e1e0d40f4ac0 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ public override void Write(Utf8JsonWriter writer, HealthCheckResult healthCheckR /// 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 cce859524111..73a93b84842c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ public void WriteProperties(Utf8JsonWriter writer, IsoscelesTriangle isoscelesTr 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 050d58f85c23..7dcc77628b90 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, List list, JsonSerializerOpti 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 522ba51e6cb3..fa3c03f346f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, LiteralStringClass literalStr 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 267ac8769d31..401b68452acf 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 120a8fb0dd54..b0e44363fdd4 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 @@ public override string ToString() 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 441ea5dcb7da..6c9c1eecc950 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 d18711f51031..31dd097161f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializer 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 c81de3d2f67d..7e50c69e51b5 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 @@ public override string ToString() 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 5de026753ef2..2416a236128e 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 @@ public override string ToString() 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 32515bc04405..a4467dcf5ff7 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 @@ public override string ToString() 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 4cb69dae28cd..ae6c47f1fd1f 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 @@ public override string ToString() 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 3cef3330300e..a0b39c8f7228 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 @@ public override string ToString() 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 @@ public void WriteProperties(Utf8JsonWriter writer, MixedPropertiesAndAdditionalP 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 34198e6f437a..03d7fe50ba88 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, MixedSubId mixedSubId, JsonSe 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 bf37307ad965..63f3b46af6e2 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Model200Response model200Resp 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 5d459e8b5eb1..a1162409132b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ModelClient modelClient, Json 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 b322aaf568ce..2348f9b6ea30 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ public void WriteProperties(Utf8JsonWriter writer, Name name, JsonSerializerOpti 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 ea8abdda0d78..705b4a9724af 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ public void WriteProperties(Utf8JsonWriter writer, NotificationtestGetElementsV1 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 42533f9c7ebf..5be040369fd9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 56db535e3921..6d2ef985e6ed 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ public override void Write(Utf8JsonWriter writer, NullableGuidClass nullableGuid /// 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 9a93cb734e9c..c234d27be972 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 29f5a80e6462..abd2ee91e7ea 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSer /// 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 83f513bc63bb..a81386ab9dbb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ public void WriteProperties(Utf8JsonWriter writer, ObjectWithDeprecatedFields ob 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 c89963f55a36..77bb2a7369ef 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 @@ public override string ToString() 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 e20274621cfc..86d0773786bf 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -292,22 +289,17 @@ public override void Write(Utf8JsonWriter writer, Order order, JsonSerializerOpt /// 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 6566ca4aa564..cb3a96c98c6b 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 92ec1939d1af..2cbec554f7c9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ public void WriteProperties(Utf8JsonWriter writer, OuterComposite outerComposite 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 47bb6793c6ac..4282e90bd0f0 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 136fb4c54c4e..aa3d355d7927 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 2ed4f18a657e..42215ac7c69a 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 c6a470cc64d1..6203818d13c8 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 a2e789f2edef..5e02cf051415 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 83104e900d01..c2fcaae270c8 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 @@ public override string ToString() 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 20725ef079f3..55496a1e4083 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -290,19 +287,17 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption 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 9e19b612bf97..80e8237afa9c 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 b6f300c94400..661e350a9d29 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ddea47edf40c..a87c3cadb6b8 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 @@ public override string ToString() 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 e8a2e2439975..667e7fa28222 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 519ed66393ca..2c5d5dd59f81 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, QuadrilateralInterface quadri 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 a7cd43316ac8..2f95cf4e9464 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ public void WriteProperties(Utf8JsonWriter writer, ReadOnlyFirst readOnlyFirst, 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 33f289378d3d..ddd0f5e6cc7d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -1111,15 +1108,12 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 04988ef3ee99..5a88e78a43d5 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 775aba4f6af0..aa2ab4bd8956 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 5b4f29294ac6..5d7b5f2e72b5 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 365504a241bf..413ba5f03531 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 4c5f2c56ba58..8a9e89443054 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 36bcb1481310..9e1a16e28b4e 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 6a2c4c85eb4a..031648b131a9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ public void WriteProperties(Utf8JsonWriter writer, Return varReturn, JsonSeriali 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 46625cb093a3..3505a0f0ecfa 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHash rolesReports 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 29c8760c9722..8b7c60dbfd1b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHashRole rolesRep 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 5c960eb54744..0de13eec2fb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ScaleneTriangle scaleneTriang 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 c651ac7d2454..90c0ee7ddeb8 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 37db5df64908..e57f6dc449e4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeInterface shapeInterface 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 1f0b22030070..54354c9536c4 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ffa68d1e75de..487a20689f33 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, SimpleQuadrilateral simpleQua 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 7ec3c110c2a1..c6abc777133f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, SpecialModelName specialModel 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 4290e8270ff9..043704287724 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Tag tag, JsonSerializerOption 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 11d1cd5963c0..e51918c7a305 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL 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 04d04337aa4a..4743b09271dc 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 @@ public override string ToString() 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 ccb446b02503..b0d3189ca1e0 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 ec14b39944da..47602a4ec2a5 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 33ff2ce2cc21..3270c9d4ccaf 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 d86b48d4a9b7..2a92b6fa5b07 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 4f1c9c53c603..cc15199cd7fb 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 33f5183651a3..13c411093c35 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestInlineFreeformAdditionalP 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 cf22051519ad..b38208d0f98c 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 0f13b0e77451..ee9a25dd35ae 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, TriangleInterface triangleInt 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 e89d58457324..f92a3edc061f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 834e6957c675..156753c72517 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ public void WriteProperties(Utf8JsonWriter writer, Whale whale, JsonSerializerOp 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 0b9bb3c3bc51..755bd2d5bfac 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,9 +185,8 @@ public void WriteProperties(Utf8JsonWriter writer, Zebra zebra, JsonSerializerOp 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 4a54f2a265a1..18ee3f6629bf 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 34a044fb8b13..e290a4733f04 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 d538b722cae0..0b47e8dbb78e 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 @@ public override string ToString() 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 2b062a550aba..44b4495cdd20 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 9fb9257ced6e..b5b5f42d58cc 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 @@ private void AfterRootGetDefaultImplementation(IRootGetApiResponse apiResponseLo 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 @@ private void OnErrorRootGetDefaultImplementation(Exception exception, string pat bool suppressDefaultLog = false; OnErrorRootGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RootGetApiResponse(ILogger logger, System.Net.Http.Ht 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 1d43e69742f6..b87facb8932f 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 96bba8467893..99eb4714a50d 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 68e90f4ecbb2..8b40c1d54609 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 @@ public class DateTimeJsonConverter : JsonConverter "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 3cb4b6ce51e7..b07b11762f60 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 55d56f3f2049..9721738eaf36 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 8e7bed46e9c5..80fcdd367e32 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 3924246ab7c2..abcc7cbee93c 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 7867e6645419..263bf9b911eb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 15899a012afd..5cd766ff9855 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 1d1c7c5388c0..7c048dcc1c2b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -218,8 +215,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 eef2a62a180a..f90646223bea 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 @@ private void AfterCall123TestSpecialTagsDefaultImplementation(ICall123TestSpecia 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 @@ private void OnErrorCall123TestSpecialTagsDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public Call123TestSpecialTagsApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -393,7 +390,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 5151d6053e5a..110a5dfc6213 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 @@ private void AfterFooGetDefaultImplementation(IFooGetApiResponse apiResponseLoca 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 @@ private void OnErrorFooGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorFooGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FooGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetCountryDefaultImplementation(IGetCountryApiResponse apiResp 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 @@ private void OnErrorGetCountryDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetCountry(ref suppressDefaultLog, exception, pathFormat, path, country); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterHelloDefaultImplementation(IHelloApiResponse apiResponseLocalV 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 @@ private void OnErrorHelloDefaultImplementation(Exception exception, string pathF bool suppressDefaultLog = false; OnErrorHello(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public HelloApiResponse(ILogger logger, System.Net.Http.HttpRe 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterRolesReportGetDefaultImplementation(IRolesReportGetApiResponse 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 @@ private void OnErrorRolesReportGetDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorRolesReportGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RolesReportGetApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestDefaultImplementation(ITestApiResponse apiResponseLocalVar 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 @@ private void OnErrorTestDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorTest(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 402f72e32af3..4ade3596b71e 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 @@ private void AfterFakeHealthGetDefaultImplementation(IFakeHealthGetApiResponse a 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 @@ private void OnErrorFakeHealthGetDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorFakeHealthGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeHealthGetApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterBooleanSerializeDefaultImplementation(IFakeOuterBoole 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 @@ private void OnErrorFakeOuterBooleanSerializeDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterBooleanSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1695,7 +1690,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterCompositeSerializeDefaultImplementation(IFakeOuterCom 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 @@ private void OnErrorFakeOuterCompositeSerializeDefaultImplementation(Exception e bool suppressDefaultLog = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLog, exception, pathFormat, path, outerComposite); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterCompositeSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1925,7 +1918,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterNumberSerializeDefaultImplementation(IFakeOuterNumber 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 @@ private void OnErrorFakeOuterNumberSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterNumberSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2142,7 +2133,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterStringSerializeDefaultImplementation(IFakeOuterString 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 @@ private void OnErrorFakeOuterStringSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLog, exception, pathFormat, path, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterStringSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2384,7 +2373,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetArrayOfEnumsDefaultImplementation(IGetArrayOfEnumsApiRespon 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 @@ private void OnErrorGetArrayOfEnumsDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorGetArrayOfEnums(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetArrayOfEnumsApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedAnyOfDefaultImplementation(IGetMixedAnyOfApiResponse a 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 @@ private void OnErrorGetMixedAnyOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedAnyOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedAnyOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedOneOfDefaultImplementation(IGetMixedOneOfApiResponse a 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 @@ private void OnErrorGetMixedOneOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedOneOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedOneOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestAdditionalPropertiesReferenceDefaultImplementation(ITestAd 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 @@ private void OnErrorTestAdditionalPropertiesReferenceDefaultImplementation(Excep bool suppressDefaultLog = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithFileSchemaDefaultImplementation(ITestBodyWithFileS 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 @@ private void OnErrorTestBodyWithFileSchemaDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLog, exception, pathFormat, path, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithQueryParamsDefaultImplementation(ITestBodyWithQuer 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 @@ private void OnErrorTestBodyWithQueryParamsDefaultImplementation(Exception excep bool suppressDefaultLog = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLog, exception, pathFormat, path, query, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestClientModelDefaultImplementation(ITestClientModelApiRespon 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 @@ private void OnErrorTestClientModelDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorTestClientModel(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClientModelApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEndpointParametersDefaultImplementation(ITestEndpointParam 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 @@ private void OnErrorTestEndpointParametersDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestEndpointParameters(ref suppressDefaultLog, exception, pathFormat, path, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEnumParametersDefaultImplementation(ITestEnumParametersApi 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 @@ private void OnErrorTestEnumParametersDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorTestEnumParameters(ref suppressDefaultLog, exception, pathFormat, path, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestGroupParametersDefaultImplementation(ITestGroupParametersA 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 @@ private void OnErrorTestGroupParametersDefaultImplementation(Exception exception bool suppressDefaultLog = false; OnErrorTestGroupParameters(ref suppressDefaultLog, exception, pathFormat, path, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineAdditionalPropertiesDefaultImplementation(ITestInlin 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 @@ private void OnErrorTestInlineAdditionalPropertiesDefaultImplementation(Exceptio bool suppressDefaultLog = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineFreeformAdditionalPropertiesDefaultImplementation(IT 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 @@ private void OnErrorTestInlineFreeformAdditionalPropertiesDefaultImplementation( bool suppressDefaultLog = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestJsonFormDataDefaultImplementation(ITestJsonFormDataApiResp 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 @@ private void OnErrorTestJsonFormDataDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorTestJsonFormData(ref suppressDefaultLog, exception, pathFormat, path, param, param2); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestQueryParameterCollectionFormatDefaultImplementation(ITestQ 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 @@ private void OnErrorTestQueryParameterCollectionFormatDefaultImplementation(Exce bool suppressDefaultLog = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLog, exception, pathFormat, path, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestStringMapReferenceDefaultImplementation(ITestStringMapRefe 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 @@ private void OnErrorTestStringMapReferenceDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestStringMapReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 ff66cc2a2097..db99b99fa0d3 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 @@ private void AfterTestClassnameDefaultImplementation(ITestClassnameApiResponse a 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 @@ private void OnErrorTestClassnameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorTestClassname(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClassnameApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 31e5b9963e22..69a9c76294fd 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 @@ private void AfterAddPetDefaultImplementation(IAddPetApiResponse apiResponseLoca 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 @@ private void OnErrorAddPetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorAddPet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeletePetDefaultImplementation(IDeletePetApiResponse apiRespon 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 @@ private void OnErrorDeletePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorDeletePet(ref suppressDefaultLog, exception, pathFormat, path, petId, apiKey); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByStatusDefaultImplementation(IFindPetsByStatusApiResp 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 @@ private void OnErrorFindPetsByStatusDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorFindPetsByStatus(ref suppressDefaultLog, exception, pathFormat, path, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByStatusApiResponse(ILogger logger, 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByTagsDefaultImplementation(IFindPetsByTagsApiResponse 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 @@ private void OnErrorFindPetsByTagsDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorFindPetsByTags(ref suppressDefaultLog, exception, pathFormat, path, tags); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByTagsApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetPetByIdDefaultImplementation(IGetPetByIdApiResponse apiResp 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 @@ private void OnErrorGetPetByIdDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetPetById(ref suppressDefaultLog, exception, pathFormat, path, petId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetPetByIdApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetDefaultImplementation(IUpdatePetApiResponse apiRespon 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 @@ private void OnErrorUpdatePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorUpdatePet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetWithFormDefaultImplementation(IUpdatePetWithFormApiRe 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 @@ private void OnErrorUpdatePetWithFormDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorUpdatePetWithForm(ref suppressDefaultLog, exception, pathFormat, path, petId, name, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileDefaultImplementation(IUploadFileApiResponse apiResp 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 @@ private void OnErrorUploadFileDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUploadFile(ref suppressDefaultLog, exception, pathFormat, path, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileWithRequiredFileDefaultImplementation(IUploadFileWit 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 @@ private void OnErrorUploadFileWithRequiredFileDefaultImplementation(Exception ex bool suppressDefaultLog = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLog, exception, pathFormat, path, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileWithRequiredFileApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2813,7 +2794,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 f098e2395926..dd2822c9a16e 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 @@ private void AfterDeleteOrderDefaultImplementation(IDeleteOrderApiResponse apiRe 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 @@ private void OnErrorDeleteOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteOrder(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetInventoryDefaultImplementation(IGetInventoryApiResponse 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 @@ private void OnErrorGetInventoryDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetInventory(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetInventoryApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetOrderByIdDefaultImplementation(IGetOrderByIdApiResponse 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 @@ private void OnErrorGetOrderByIdDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetOrderById(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetOrderByIdApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterPlaceOrderDefaultImplementation(IPlaceOrderApiResponse apiResp 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 @@ private void OnErrorPlaceOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorPlaceOrder(ref suppressDefaultLog, exception, pathFormat, path, order); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public PlaceOrderApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 25824cb3dcad..96052485d721 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 @@ private void AfterCreateUserDefaultImplementation(ICreateUserApiResponse apiResp 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 @@ private void OnErrorCreateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorCreateUser(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithArrayInputDefaultImplementation(ICreateUsersWit 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 @@ private void OnErrorCreateUsersWithArrayInputDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithListInputDefaultImplementation(ICreateUsersWith 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 @@ private void OnErrorCreateUsersWithListInputDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeleteUserDefaultImplementation(IDeleteUserApiResponse apiResp 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 @@ private void OnErrorDeleteUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteUser(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetUserByNameDefaultImplementation(IGetUserByNameApiResponse a 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 @@ private void OnErrorGetUserByNameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetUserByName(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetUserByNameApiResponse(ILogger logger, System 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 @@ public bool TryOk(out Org.OpenAPITools.Model.User result) 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLoginUserDefaultImplementation(ILoginUserApiResponse apiRespon 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 @@ private void OnErrorLoginUserDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorLoginUser(ref suppressDefaultLog, exception, pathFormat, path, password, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public LoginUserApiResponse(ILogger logger, System.Net.Htt 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLogoutUserDefaultImplementation(ILogoutUserApiResponse apiResp 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 @@ private void OnErrorLogoutUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorLogoutUser(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdateUserDefaultImplementation(IUpdateUserApiResponse apiResp 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 @@ private void OnErrorUpdateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUpdateUser(ref suppressDefaultLog, exception, pathFormat, path, user, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 fdd11dd19c9a..0f220825a1f2 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 416f7a04e3d6..364befb0206d 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 973f9e9d4e80..218395c88306 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 @@ public class DateTimeJsonConverter : JsonConverter "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 b491c61f07fa..6817e3c39270 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 5c4159491eec..f58b4501c674 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 8cf79a713b74..0d3b4a720e90 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 534f27a8cc52..1b233732bfc6 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 36d7dad03e23..996fb07a1fa5 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 a5e4bd35e9bc..58d445021e5d 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 @@ public override string ToString() 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 d7b4374e6a7b..cf96397d517f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ public void WriteProperties(Utf8JsonWriter writer, ActivityOutputElementRepresen 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 ec17222fbc8f..9eef9e63b103 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 @@ public override string ToString() 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 74cb14f52d91..c574d5a2ea6e 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ public void WriteProperties(Utf8JsonWriter writer, Animal animal, JsonSerializer 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 77ec0bd5ed2d..3b312a560cb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ public void WriteProperties(Utf8JsonWriter writer, ApiResponse apiResponse, Json 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 df3bc9af06cc..9fda41895306 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 1cc72ecd59d3..44bf8667e208 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ public void WriteProperties(Utf8JsonWriter writer, AppleReq appleReq, JsonSerial 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 d2398a452eee..f00c246ac84d 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 @@ public override string ToString() 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 cce8d5d564b6..073503dca9ee 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 @@ public override string ToString() 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 3fbc72e2f5ab..30a9fd8381d9 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 @@ public override string ToString() 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 d92ba4ae6aef..2a87cf4680be 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 c9734cbe3808..f3366e53886e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ public override void Write(Utf8JsonWriter writer, BananaReq bananaReq, JsonSeria /// 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 9938d89e008d..4848a599f7cd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, BasquePig basquePig, JsonSeri 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 a1fb0b3eb574..55c4682af23c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ public void WriteProperties(Utf8JsonWriter writer, Capitalization capitalization 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 0ffe1228015d..dc43e6dd6cd8 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ public void WriteProperties(Utf8JsonWriter writer, Cat cat, JsonSerializerOption 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 f483d87f36c8..4bf859316189 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ public void WriteProperties(Utf8JsonWriter writer, Category category, JsonSerial 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 2eb5dd8dc35a..6027bde8f37c 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 @@ public static string PetTypeEnumToJsonValue(PetTypeEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -128,7 +126,6 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -222,10 +219,9 @@ public void WriteProperties(Utf8JsonWriter writer, ChildCat childCat, JsonSerial 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 7c49d7adb55c..cb921fcaf865 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ClassModel classModel, JsonSe 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 3023a45610e4..34179cf3eeb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ComplexQuadrilateral complexQ 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 14b2ed3b153f..b689eff90ae4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, DanishPig danishPig, JsonSeri 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 2ed0b166d7f6..8c540b69de29 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ public override void Write(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, J /// 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 08067c5cc07c..ab41548c7686 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, DeprecatedObject deprecatedOb 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 605dc512434b..486f9de74139 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ public void WriteProperties(Utf8JsonWriter writer, Dog dog, JsonSerializerOption 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 a853b96144e2..d0abaf05c053 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 @@ public override string ToString() 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 b6716a58e539..23f818fe4723 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 @@ public static string ArrayEnumEnumToJsonValue(ArrayEnumEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -175,7 +173,6 @@ public static string JustSymbolEnumToJsonValue(JustSymbolEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -231,9 +228,7 @@ public override string ToString() 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 b1aff0adf0d8..9e4dceb77312 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 08e961298725..9970b90fe0b4 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 @@ public static string EnumStringRequiredEnumToJsonValue(EnumStringRequiredEnum va throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -272,7 +270,6 @@ public static int EnumIntegerEnumToJsonValue(EnumIntegerEnum value) { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -344,7 +341,6 @@ public static int EnumIntegerOnlyEnumToJsonValue(EnumIntegerOnlyEnum value) { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -423,7 +419,6 @@ public static double EnumNumberEnumToJsonValue(EnumNumberEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -586,7 +581,6 @@ public static string EnumStringEnumToJsonValue(EnumStringEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -688,9 +682,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -842,16 +834,13 @@ public void WriteProperties(Utf8JsonWriter writer, EnumTest enumTest, JsonSerial { 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 d65c7740e5e8..4c6b57312e55 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, EquilateralTriangle equilater 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 092f10c09324..9d2bdcce2860 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ public void WriteProperties(Utf8JsonWriter writer, File file, JsonSerializerOpti 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 f9d9d9f7a7b8..6e1c51ef8b0c 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 @@ public override string ToString() 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 3eeca0aa2112..d82c3b21439c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Foo foo, JsonSerializerOption 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 c7d043666115..274ef7b4267a 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 @@ public override string ToString() 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 b0822c334f55..c08bcc48b04f 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ public void WriteProperties(Utf8JsonWriter writer, FormatTest formatTest, JsonSe 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 cc8b4530f01c..f1ec3159ed17 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 1e72875d4d32..c9711ef9205e 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 @@ public override string ToString() 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 78cb87b61a31..5b356ea284fc 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ public void WriteProperties(Utf8JsonWriter writer, GmFruit gmFruit, JsonSerializ 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 b23e4826fd6b..294ed66fccad 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 a4e67f73a8e5..dd2d22efc53b 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ public void WriteProperties(Utf8JsonWriter writer, HasOnlyReadOnly hasOnlyReadOn 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 16afc025fa03..e1e0d40f4ac0 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ public override void Write(Utf8JsonWriter writer, HealthCheckResult healthCheckR /// 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 cce859524111..73a93b84842c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ public void WriteProperties(Utf8JsonWriter writer, IsoscelesTriangle isoscelesTr 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 050d58f85c23..7dcc77628b90 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, List list, JsonSerializerOpti 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 522ba51e6cb3..fa3c03f346f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, LiteralStringClass literalStr 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 267ac8769d31..401b68452acf 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 97588d56888a..f6e951e924e2 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 @@ public static string InnerEnumToJsonValue(InnerEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -197,9 +195,7 @@ public override string ToString() 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 d18711f51031..31dd097161f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializer 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 c81de3d2f67d..7e50c69e51b5 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 @@ public override string ToString() 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 5de026753ef2..2416a236128e 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 @@ public override string ToString() 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 32515bc04405..a4467dcf5ff7 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 @@ public override string ToString() 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 4cb69dae28cd..ae6c47f1fd1f 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 @@ public override string ToString() 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 3cef3330300e..a0b39c8f7228 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 @@ public override string ToString() 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 @@ public void WriteProperties(Utf8JsonWriter writer, MixedPropertiesAndAdditionalP 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 34198e6f437a..03d7fe50ba88 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, MixedSubId mixedSubId, JsonSe 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 bf37307ad965..63f3b46af6e2 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Model200Response model200Resp 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 5d459e8b5eb1..a1162409132b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ModelClient modelClient, Json 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 b322aaf568ce..2348f9b6ea30 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ public void WriteProperties(Utf8JsonWriter writer, Name name, JsonSerializerOpti 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 ea8abdda0d78..705b4a9724af 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ public void WriteProperties(Utf8JsonWriter writer, NotificationtestGetElementsV1 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 42533f9c7ebf..5be040369fd9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 56db535e3921..6d2ef985e6ed 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ public override void Write(Utf8JsonWriter writer, NullableGuidClass nullableGuid /// 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 9a93cb734e9c..c234d27be972 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 29f5a80e6462..abd2ee91e7ea 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSer /// 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 83f513bc63bb..a81386ab9dbb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ public void WriteProperties(Utf8JsonWriter writer, ObjectWithDeprecatedFields ob 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 c89963f55a36..77bb2a7369ef 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 @@ public override string ToString() 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 4889b1c2f3c1..bec549a70934 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -246,9 +244,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,22 +370,17 @@ public override void Write(Utf8JsonWriter writer, Order order, JsonSerializerOpt /// 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 92ec1939d1af..2cbec554f7c9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ public void WriteProperties(Utf8JsonWriter writer, OuterComposite outerComposite 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 47bb6793c6ac..4282e90bd0f0 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 136fb4c54c4e..aa3d355d7927 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 2ed4f18a657e..42215ac7c69a 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 c6a470cc64d1..6203818d13c8 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 a2e789f2edef..5e02cf051415 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 83104e900d01..c2fcaae270c8 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 @@ public override string ToString() 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 ee37b1594dce..6247bf637b43 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -232,9 +230,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -372,19 +368,17 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption 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 b6f300c94400..661e350a9d29 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ddea47edf40c..a87c3cadb6b8 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 @@ public override string ToString() 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 e8a2e2439975..667e7fa28222 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 519ed66393ca..2c5d5dd59f81 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, QuadrilateralInterface quadri 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 a7cd43316ac8..2f95cf4e9464 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ public void WriteProperties(Utf8JsonWriter writer, ReadOnlyFirst readOnlyFirst, 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 e1c23b4ac973..07c1a5dc091a 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 @@ public static int RequiredNotnullableEnumIntegerEnumToJsonValue(RequiredNotnulla { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -251,7 +249,6 @@ public static int RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(RequiredNotn { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -407,7 +404,6 @@ public static string RequiredNotnullableEnumStringEnumToJsonValue(RequiredNotnul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -478,7 +474,6 @@ public static int NotrequiredNotnullableEnumIntegerEnumToJsonValue(NotrequiredNo { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -550,7 +545,6 @@ public static int NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(Notrequir { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -713,7 +707,6 @@ public static string NotrequiredNotnullableEnumStringEnumToJsonValue(Notrequired throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -798,7 +791,6 @@ public static int NotrequiredNullableEnumIntegerEnumToJsonValue(NotrequiredNulla { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -870,7 +862,6 @@ public static int NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(NotrequiredN { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1036,7 +1027,6 @@ public static string NotrequiredNullableEnumStringEnumToJsonValue(NotrequiredNul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1121,7 +1111,6 @@ public static int RequiredNullableEnumIntegerEnumToJsonValue(RequiredNullableEnu { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1186,7 +1175,6 @@ public static int RequiredNullableEnumIntegerOnlyEnumToJsonValue(RequiredNullabl { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1345,7 +1333,6 @@ public static string RequiredNullableEnumStringEnumToJsonValue(RequiredNullableE throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1699,9 +1686,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2181,78 +2166,60 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 6a2c4c85eb4a..031648b131a9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ public void WriteProperties(Utf8JsonWriter writer, Return varReturn, JsonSeriali 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 46625cb093a3..3505a0f0ecfa 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHash rolesReports 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 29c8760c9722..8b7c60dbfd1b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHashRole rolesRep 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 5c960eb54744..0de13eec2fb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ScaleneTriangle scaleneTriang 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 c651ac7d2454..90c0ee7ddeb8 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 37db5df64908..e57f6dc449e4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeInterface shapeInterface 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 1f0b22030070..54354c9536c4 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ffa68d1e75de..487a20689f33 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, SimpleQuadrilateral simpleQua 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 7ec3c110c2a1..c6abc777133f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, SpecialModelName specialModel 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 4290e8270ff9..043704287724 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Tag tag, JsonSerializerOption 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 11d1cd5963c0..e51918c7a305 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL 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 04d04337aa4a..4743b09271dc 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 @@ public override string ToString() 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 33f5183651a3..13c411093c35 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestInlineFreeformAdditionalP 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 cf22051519ad..b38208d0f98c 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 0f13b0e77451..ee9a25dd35ae 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, TriangleInterface triangleInt 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 e89d58457324..f92a3edc061f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 834e6957c675..156753c72517 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ public void WriteProperties(Utf8JsonWriter writer, Whale whale, JsonSerializerOp 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 bdf489815279..798ed23c9b10 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 @@ public static string TypeEnumToJsonValue(TypeEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -172,9 +170,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,9 +264,8 @@ public void WriteProperties(Utf8JsonWriter writer, Zebra zebra, JsonSerializerOp 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 34a044fb8b13..e290a4733f04 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 a6d408aeecc1..ea1af5c7ee4a 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 @@ public static string ZeroBasedEnumEnumToJsonValue(ZeroBasedEnumEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -149,9 +147,7 @@ public override string ToString() 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 bf0983e3e335..4b4e44fa5898 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 @@ private void AfterNowGetDefaultImplementation(INowGetApiResponse apiResponseLoca 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 @@ private void OnErrorNowGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorNowGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public NowGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 cf39d3c11d75..2489028b0421 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 fe5b2fe67aa2..3371a880a416 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 52e971d082a7..48937d5478ed 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 @@ public class DateTimeJsonConverter : JsonConverter "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 968d29161b12..84d3f2293127 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 2b34371084b5..4a8753660d61 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 cddb84058868..70e61323455d 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 069d52308681..633c345decd4 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 504c2976b3f4..a86ce711c8c6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public override void Write(Utf8JsonWriter writer, NowGet200Response nowGet200Res /// 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 f65336b2c81a..d682bc9155ec 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 @@ private void AfterListDefaultImplementation(IListApiResponse apiResponseLocalVar 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 @@ private void OnErrorListDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorList(ref suppressDefaultLog, exception, pathFormat, path, personId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public ListApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 78fdad8039f0..051114c5c25a 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 0d99f099669a..edc2fc6b750e 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 a7f3806b960f..d2ac4eec7491 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 @@ public class DateTimeJsonConverter : JsonConverter "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 c818977618f2..0b74c2d903fc 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 0b113d11177e..70967c615a56 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 53ad628a9a3f..db4b3209d70b 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 ed829aca7729..a7f2e8229bc9 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 3cdde4b29d96..212edbb1f3b2 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -193,13 +191,11 @@ public void WriteProperties(Utf8JsonWriter writer, Adult adult, JsonSerializerOp 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 7f96dcd8b664..497d3534e43f 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -209,19 +207,16 @@ public void WriteProperties(Utf8JsonWriter writer, Child child, JsonSerializerOp 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.FirstNameOption.IsSet) - writer.WriteString("firstName", child.FirstName); - - if (child.LastNameOption.IsSet) - writer.WriteString("lastName", child.LastName); - - writer.WriteString("$_type", child.Type); + 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.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 6c9261c98790..88f0894aa660 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -235,13 +232,11 @@ public void WriteProperties(Utf8JsonWriter writer, Person person, JsonSerializer 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 9fb9257ced6e..b5b5f42d58cc 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 @@ private void AfterRootGetDefaultImplementation(IRootGetApiResponse apiResponseLo 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 @@ private void OnErrorRootGetDefaultImplementation(Exception exception, string pat bool suppressDefaultLog = false; OnErrorRootGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RootGetApiResponse(ILogger logger, System.Net.Http.Ht 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 1d43e69742f6..b87facb8932f 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 96bba8467893..99eb4714a50d 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 68e90f4ecbb2..8b40c1d54609 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 @@ public class DateTimeJsonConverter : JsonConverter "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 3cb4b6ce51e7..b07b11762f60 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 55d56f3f2049..9721738eaf36 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 8e7bed46e9c5..80fcdd367e32 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 3924246ab7c2..abcc7cbee93c 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 7867e6645419..263bf9b911eb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 15899a012afd..5cd766ff9855 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 cd1e938ffb37..be08e3b49df9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -235,8 +232,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 9fb9257ced6e..b5b5f42d58cc 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 @@ private void AfterRootGetDefaultImplementation(IRootGetApiResponse apiResponseLo 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 @@ private void OnErrorRootGetDefaultImplementation(Exception exception, string pat bool suppressDefaultLog = false; OnErrorRootGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RootGetApiResponse(ILogger logger, System.Net.Http.Ht 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 1d43e69742f6..b87facb8932f 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 96bba8467893..99eb4714a50d 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 68e90f4ecbb2..8b40c1d54609 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 @@ public class DateTimeJsonConverter : JsonConverter "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 3cb4b6ce51e7..b07b11762f60 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 55d56f3f2049..9721738eaf36 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 8e7bed46e9c5..80fcdd367e32 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 3924246ab7c2..abcc7cbee93c 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 70534c23212e..321baaa577dd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,8 +163,8 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 bdb8dcaba25b..6171c154f3ee 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -164,8 +161,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 de8c3fcf7b7b..853771b26adb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,8 +231,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 eef2a62a180a..f90646223bea 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 @@ private void AfterCall123TestSpecialTagsDefaultImplementation(ICall123TestSpecia 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 @@ private void OnErrorCall123TestSpecialTagsDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public Call123TestSpecialTagsApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -393,7 +390,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 5151d6053e5a..110a5dfc6213 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 @@ private void AfterFooGetDefaultImplementation(IFooGetApiResponse apiResponseLoca 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 @@ private void OnErrorFooGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorFooGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FooGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetCountryDefaultImplementation(IGetCountryApiResponse apiResp 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 @@ private void OnErrorGetCountryDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetCountry(ref suppressDefaultLog, exception, pathFormat, path, country); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterHelloDefaultImplementation(IHelloApiResponse apiResponseLocalV 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 @@ private void OnErrorHelloDefaultImplementation(Exception exception, string pathF bool suppressDefaultLog = false; OnErrorHello(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public HelloApiResponse(ILogger logger, System.Net.Http.HttpRe 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterRolesReportGetDefaultImplementation(IRolesReportGetApiResponse 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 @@ private void OnErrorRolesReportGetDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorRolesReportGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RolesReportGetApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestDefaultImplementation(ITestApiResponse apiResponseLocalVar 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 @@ private void OnErrorTestDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorTest(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 89f28095bdaa..b145703f5ac7 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 @@ private void AfterFakeHealthGetDefaultImplementation(IFakeHealthGetApiResponse a 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 @@ private void OnErrorFakeHealthGetDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorFakeHealthGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeHealthGetApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterBooleanSerializeDefaultImplementation(IFakeOuterBoole 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 @@ private void OnErrorFakeOuterBooleanSerializeDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterBooleanSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1695,7 +1690,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterCompositeSerializeDefaultImplementation(IFakeOuterCom 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 @@ private void OnErrorFakeOuterCompositeSerializeDefaultImplementation(Exception e bool suppressDefaultLog = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLog, exception, pathFormat, path, outerComposite); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterCompositeSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1925,7 +1918,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterNumberSerializeDefaultImplementation(IFakeOuterNumber 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 @@ private void OnErrorFakeOuterNumberSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterNumberSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2142,7 +2133,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterStringSerializeDefaultImplementation(IFakeOuterString 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 @@ private void OnErrorFakeOuterStringSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLog, exception, pathFormat, path, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterStringSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2384,7 +2373,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetArrayOfEnumsDefaultImplementation(IGetArrayOfEnumsApiRespon 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 @@ private void OnErrorGetArrayOfEnumsDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorGetArrayOfEnums(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetArrayOfEnumsApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedAnyOfDefaultImplementation(IGetMixedAnyOfApiResponse a 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 @@ private void OnErrorGetMixedAnyOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedAnyOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedAnyOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedOneOfDefaultImplementation(IGetMixedOneOfApiResponse a 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 @@ private void OnErrorGetMixedOneOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedOneOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedOneOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestAdditionalPropertiesReferenceDefaultImplementation(ITestAd 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 @@ private void OnErrorTestAdditionalPropertiesReferenceDefaultImplementation(Excep bool suppressDefaultLog = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithFileSchemaDefaultImplementation(ITestBodyWithFileS 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 @@ private void OnErrorTestBodyWithFileSchemaDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLog, exception, pathFormat, path, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithQueryParamsDefaultImplementation(ITestBodyWithQuer 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 @@ private void OnErrorTestBodyWithQueryParamsDefaultImplementation(Exception excep bool suppressDefaultLog = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLog, exception, pathFormat, path, query, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestClientModelDefaultImplementation(ITestClientModelApiRespon 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 @@ private void OnErrorTestClientModelDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorTestClientModel(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClientModelApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEndpointParametersDefaultImplementation(ITestEndpointParam 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 @@ private void OnErrorTestEndpointParametersDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestEndpointParameters(ref suppressDefaultLog, exception, pathFormat, path, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEnumParametersDefaultImplementation(ITestEnumParametersApi 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 @@ private void OnErrorTestEnumParametersDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorTestEnumParameters(ref suppressDefaultLog, exception, pathFormat, path, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestGroupParametersDefaultImplementation(ITestGroupParametersA 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 @@ private void OnErrorTestGroupParametersDefaultImplementation(Exception exception bool suppressDefaultLog = false; OnErrorTestGroupParameters(ref suppressDefaultLog, exception, pathFormat, path, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineAdditionalPropertiesDefaultImplementation(ITestInlin 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 @@ private void OnErrorTestInlineAdditionalPropertiesDefaultImplementation(Exceptio bool suppressDefaultLog = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineFreeformAdditionalPropertiesDefaultImplementation(IT 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 @@ private void OnErrorTestInlineFreeformAdditionalPropertiesDefaultImplementation( bool suppressDefaultLog = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestJsonFormDataDefaultImplementation(ITestJsonFormDataApiResp 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 @@ private void OnErrorTestJsonFormDataDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorTestJsonFormData(ref suppressDefaultLog, exception, pathFormat, path, param, param2); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestQueryParameterCollectionFormatDefaultImplementation(ITestQ 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 @@ private void OnErrorTestQueryParameterCollectionFormatDefaultImplementation(Exce bool suppressDefaultLog = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLog, exception, pathFormat, path, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestStringMapReferenceDefaultImplementation(ITestStringMapRefe 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 @@ private void OnErrorTestStringMapReferenceDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestStringMapReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 ff66cc2a2097..db99b99fa0d3 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 @@ private void AfterTestClassnameDefaultImplementation(ITestClassnameApiResponse a 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 @@ private void OnErrorTestClassnameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorTestClassname(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClassnameApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 bc79234f09b1..2ca4619fd89b 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 @@ private void AfterAddPetDefaultImplementation(IAddPetApiResponse apiResponseLoca 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 @@ private void OnErrorAddPetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorAddPet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeletePetDefaultImplementation(IDeletePetApiResponse apiRespon 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 @@ private void OnErrorDeletePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorDeletePet(ref suppressDefaultLog, exception, pathFormat, path, petId, apiKey); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByStatusDefaultImplementation(IFindPetsByStatusApiResp 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 @@ private void OnErrorFindPetsByStatusDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorFindPetsByStatus(ref suppressDefaultLog, exception, pathFormat, path, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByStatusApiResponse(ILogger logger, 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByTagsDefaultImplementation(IFindPetsByTagsApiResponse 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 @@ private void OnErrorFindPetsByTagsDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorFindPetsByTags(ref suppressDefaultLog, exception, pathFormat, path, tags); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByTagsApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetPetByIdDefaultImplementation(IGetPetByIdApiResponse apiResp 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 @@ private void OnErrorGetPetByIdDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetPetById(ref suppressDefaultLog, exception, pathFormat, path, petId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetPetByIdApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetDefaultImplementation(IUpdatePetApiResponse apiRespon 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 @@ private void OnErrorUpdatePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorUpdatePet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetWithFormDefaultImplementation(IUpdatePetWithFormApiRe 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 @@ private void OnErrorUpdatePetWithFormDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorUpdatePetWithForm(ref suppressDefaultLog, exception, pathFormat, path, petId, name, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileDefaultImplementation(IUploadFileApiResponse apiResp 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 @@ private void OnErrorUploadFileDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUploadFile(ref suppressDefaultLog, exception, pathFormat, path, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileWithRequiredFileDefaultImplementation(IUploadFileWit 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 @@ private void OnErrorUploadFileWithRequiredFileDefaultImplementation(Exception ex bool suppressDefaultLog = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLog, exception, pathFormat, path, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileWithRequiredFileApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2813,7 +2794,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 f098e2395926..dd2822c9a16e 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 @@ private void AfterDeleteOrderDefaultImplementation(IDeleteOrderApiResponse apiRe 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 @@ private void OnErrorDeleteOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteOrder(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetInventoryDefaultImplementation(IGetInventoryApiResponse 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 @@ private void OnErrorGetInventoryDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetInventory(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetInventoryApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetOrderByIdDefaultImplementation(IGetOrderByIdApiResponse 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 @@ private void OnErrorGetOrderByIdDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetOrderById(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetOrderByIdApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterPlaceOrderDefaultImplementation(IPlaceOrderApiResponse apiResp 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 @@ private void OnErrorPlaceOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorPlaceOrder(ref suppressDefaultLog, exception, pathFormat, path, order); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public PlaceOrderApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 25824cb3dcad..96052485d721 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 @@ private void AfterCreateUserDefaultImplementation(ICreateUserApiResponse apiResp 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 @@ private void OnErrorCreateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorCreateUser(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithArrayInputDefaultImplementation(ICreateUsersWit 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 @@ private void OnErrorCreateUsersWithArrayInputDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithListInputDefaultImplementation(ICreateUsersWith 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 @@ private void OnErrorCreateUsersWithListInputDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeleteUserDefaultImplementation(IDeleteUserApiResponse apiResp 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 @@ private void OnErrorDeleteUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteUser(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetUserByNameDefaultImplementation(IGetUserByNameApiResponse a 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 @@ private void OnErrorGetUserByNameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetUserByName(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetUserByNameApiResponse(ILogger logger, System 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 @@ public bool TryOk(out Org.OpenAPITools.Model.User result) 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLoginUserDefaultImplementation(ILoginUserApiResponse apiRespon 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 @@ private void OnErrorLoginUserDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorLoginUser(ref suppressDefaultLog, exception, pathFormat, path, password, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public LoginUserApiResponse(ILogger logger, System.Net.Htt 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLogoutUserDefaultImplementation(ILogoutUserApiResponse apiResp 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 @@ private void OnErrorLogoutUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorLogoutUser(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdateUserDefaultImplementation(IUpdateUserApiResponse apiResp 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 @@ private void OnErrorUpdateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUpdateUser(ref suppressDefaultLog, exception, pathFormat, path, user, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 fdd11dd19c9a..0f220825a1f2 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 416f7a04e3d6..364befb0206d 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 973f9e9d4e80..218395c88306 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 @@ public class DateTimeJsonConverter : JsonConverter "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 b491c61f07fa..6817e3c39270 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 5c4159491eec..f58b4501c674 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 8cf79a713b74..0d3b4a720e90 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 534f27a8cc52..1b233732bfc6 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 36d7dad03e23..996fb07a1fa5 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 a5e4bd35e9bc..58d445021e5d 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 @@ public override string ToString() 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 d7b4374e6a7b..cf96397d517f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ public void WriteProperties(Utf8JsonWriter writer, ActivityOutputElementRepresen 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 ec17222fbc8f..9eef9e63b103 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 @@ public override string ToString() 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 74cb14f52d91..c574d5a2ea6e 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ public void WriteProperties(Utf8JsonWriter writer, Animal animal, JsonSerializer 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 77ec0bd5ed2d..3b312a560cb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ public void WriteProperties(Utf8JsonWriter writer, ApiResponse apiResponse, Json 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 df3bc9af06cc..9fda41895306 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 1cc72ecd59d3..44bf8667e208 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ public void WriteProperties(Utf8JsonWriter writer, AppleReq appleReq, JsonSerial 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 d2398a452eee..f00c246ac84d 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 @@ public override string ToString() 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 cce8d5d564b6..073503dca9ee 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 @@ public override string ToString() 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 3fbc72e2f5ab..30a9fd8381d9 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 @@ public override string ToString() 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 d92ba4ae6aef..2a87cf4680be 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 c9734cbe3808..f3366e53886e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ public override void Write(Utf8JsonWriter writer, BananaReq bananaReq, JsonSeria /// 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 9938d89e008d..4848a599f7cd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, BasquePig basquePig, JsonSeri 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 a1fb0b3eb574..55c4682af23c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ public void WriteProperties(Utf8JsonWriter writer, Capitalization capitalization 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 0ffe1228015d..dc43e6dd6cd8 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ public void WriteProperties(Utf8JsonWriter writer, Cat cat, JsonSerializerOption 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 f483d87f36c8..4bf859316189 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ public void WriteProperties(Utf8JsonWriter writer, Category category, JsonSerial 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 8d76e5b9a7ce..bd1d1a7976c4 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -172,8 +170,8 @@ public void WriteProperties(Utf8JsonWriter writer, ChildCat childCat, JsonSerial 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 9e8bc253fdb2..21f91ce0dd43 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 7c49d7adb55c..cb921fcaf865 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ClassModel classModel, JsonSe 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 3023a45610e4..34179cf3eeb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ComplexQuadrilateral complexQ 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 14b2ed3b153f..b689eff90ae4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, DanishPig danishPig, JsonSeri 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 2ed0b166d7f6..8c540b69de29 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ public override void Write(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, J /// 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 08067c5cc07c..ab41548c7686 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, DeprecatedObject deprecatedOb 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 605dc512434b..486f9de74139 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ public void WriteProperties(Utf8JsonWriter writer, Dog dog, JsonSerializerOption 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 a853b96144e2..d0abaf05c053 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 @@ public override string ToString() 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 6520bebabc0f..0e8a2f08a7cc 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 @@ public override string ToString() 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 c620b7197c40..a400e7a5e607 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 4a414d11d0db..9fdae0149620 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 b1aff0adf0d8..9e4dceb77312 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 cb22e561feaf..bb7ca09ead8b 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 @@ public override string ToString() 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 3a1302bf271e..549f50903eeb 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 cd0add6cf3ce..19db7af3bb09 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 adad28355b70..307c5035bc78 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 d65c7740e5e8..4c6b57312e55 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, EquilateralTriangle equilater 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 092f10c09324..9d2bdcce2860 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ public void WriteProperties(Utf8JsonWriter writer, File file, JsonSerializerOpti 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 f9d9d9f7a7b8..6e1c51ef8b0c 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 @@ public override string ToString() 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 da357d93dd28..e02997cbefd1 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 3eeca0aa2112..d82c3b21439c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Foo foo, JsonSerializerOption 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 c7d043666115..274ef7b4267a 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 @@ public override string ToString() 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 b0822c334f55..c08bcc48b04f 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ public void WriteProperties(Utf8JsonWriter writer, FormatTest formatTest, JsonSe 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 cc8b4530f01c..f1ec3159ed17 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 1e72875d4d32..c9711ef9205e 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 @@ public override string ToString() 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 78cb87b61a31..5b356ea284fc 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ public void WriteProperties(Utf8JsonWriter writer, GmFruit gmFruit, JsonSerializ 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 b23e4826fd6b..294ed66fccad 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 a4e67f73a8e5..dd2d22efc53b 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ public void WriteProperties(Utf8JsonWriter writer, HasOnlyReadOnly hasOnlyReadOn 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 16afc025fa03..e1e0d40f4ac0 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ public override void Write(Utf8JsonWriter writer, HealthCheckResult healthCheckR /// 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 cce859524111..73a93b84842c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ public void WriteProperties(Utf8JsonWriter writer, IsoscelesTriangle isoscelesTr 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 050d58f85c23..7dcc77628b90 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, List list, JsonSerializerOpti 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 522ba51e6cb3..fa3c03f346f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, LiteralStringClass literalStr 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 267ac8769d31..401b68452acf 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 120a8fb0dd54..b0e44363fdd4 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 @@ public override string ToString() 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 441ea5dcb7da..6c9c1eecc950 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 d18711f51031..31dd097161f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializer 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 c81de3d2f67d..7e50c69e51b5 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 @@ public override string ToString() 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 5de026753ef2..2416a236128e 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 @@ public override string ToString() 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 32515bc04405..a4467dcf5ff7 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 @@ public override string ToString() 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 4cb69dae28cd..ae6c47f1fd1f 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 @@ public override string ToString() 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 3cef3330300e..a0b39c8f7228 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 @@ public override string ToString() 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 @@ public void WriteProperties(Utf8JsonWriter writer, MixedPropertiesAndAdditionalP 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 34198e6f437a..03d7fe50ba88 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, MixedSubId mixedSubId, JsonSe 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 bf37307ad965..63f3b46af6e2 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Model200Response model200Resp 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 5d459e8b5eb1..a1162409132b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ModelClient modelClient, Json 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 b322aaf568ce..2348f9b6ea30 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ public void WriteProperties(Utf8JsonWriter writer, Name name, JsonSerializerOpti 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 ea8abdda0d78..705b4a9724af 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ public void WriteProperties(Utf8JsonWriter writer, NotificationtestGetElementsV1 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 42533f9c7ebf..5be040369fd9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 56db535e3921..6d2ef985e6ed 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ public override void Write(Utf8JsonWriter writer, NullableGuidClass nullableGuid /// 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 9a93cb734e9c..c234d27be972 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 29f5a80e6462..abd2ee91e7ea 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSer /// 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 83f513bc63bb..a81386ab9dbb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ public void WriteProperties(Utf8JsonWriter writer, ObjectWithDeprecatedFields ob 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 c89963f55a36..77bb2a7369ef 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 @@ public override string ToString() 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 e20274621cfc..86d0773786bf 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -292,22 +289,17 @@ public override void Write(Utf8JsonWriter writer, Order order, JsonSerializerOpt /// 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 6566ca4aa564..cb3a96c98c6b 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 92ec1939d1af..2cbec554f7c9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ public void WriteProperties(Utf8JsonWriter writer, OuterComposite outerComposite 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 47bb6793c6ac..4282e90bd0f0 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 136fb4c54c4e..aa3d355d7927 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 2ed4f18a657e..42215ac7c69a 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 c6a470cc64d1..6203818d13c8 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 a2e789f2edef..5e02cf051415 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 83104e900d01..c2fcaae270c8 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 @@ public override string ToString() 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 20725ef079f3..55496a1e4083 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -290,19 +287,17 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption 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 9e19b612bf97..80e8237afa9c 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 b6f300c94400..661e350a9d29 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ddea47edf40c..a87c3cadb6b8 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 @@ public override string ToString() 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 e8a2e2439975..667e7fa28222 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 519ed66393ca..2c5d5dd59f81 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, QuadrilateralInterface quadri 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 a7cd43316ac8..2f95cf4e9464 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ public void WriteProperties(Utf8JsonWriter writer, ReadOnlyFirst readOnlyFirst, 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 33f289378d3d..ddd0f5e6cc7d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -1111,15 +1108,12 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 04988ef3ee99..5a88e78a43d5 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 775aba4f6af0..aa2ab4bd8956 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 5b4f29294ac6..5d7b5f2e72b5 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 365504a241bf..413ba5f03531 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 4c5f2c56ba58..8a9e89443054 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 36bcb1481310..9e1a16e28b4e 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 6a2c4c85eb4a..031648b131a9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ public void WriteProperties(Utf8JsonWriter writer, Return varReturn, JsonSeriali 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 46625cb093a3..3505a0f0ecfa 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHash rolesReports 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 29c8760c9722..8b7c60dbfd1b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHashRole rolesRep 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 5c960eb54744..0de13eec2fb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ScaleneTriangle scaleneTriang 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 c651ac7d2454..90c0ee7ddeb8 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 37db5df64908..e57f6dc449e4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeInterface shapeInterface 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 1f0b22030070..54354c9536c4 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ffa68d1e75de..487a20689f33 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, SimpleQuadrilateral simpleQua 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 7ec3c110c2a1..c6abc777133f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, SpecialModelName specialModel 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 4290e8270ff9..043704287724 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Tag tag, JsonSerializerOption 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 11d1cd5963c0..e51918c7a305 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL 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 04d04337aa4a..4743b09271dc 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 @@ public override string ToString() 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 ccb446b02503..b0d3189ca1e0 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 ec14b39944da..47602a4ec2a5 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 33ff2ce2cc21..3270c9d4ccaf 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 d86b48d4a9b7..2a92b6fa5b07 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 4f1c9c53c603..cc15199cd7fb 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 33f5183651a3..13c411093c35 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestInlineFreeformAdditionalP 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 cf22051519ad..b38208d0f98c 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 0f13b0e77451..ee9a25dd35ae 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, TriangleInterface triangleInt 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 e89d58457324..f92a3edc061f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 834e6957c675..156753c72517 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ public void WriteProperties(Utf8JsonWriter writer, Whale whale, JsonSerializerOp 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 0b9bb3c3bc51..755bd2d5bfac 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,9 +185,8 @@ public void WriteProperties(Utf8JsonWriter writer, Zebra zebra, JsonSerializerOp 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 4a54f2a265a1..18ee3f6629bf 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 34a044fb8b13..e290a4733f04 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 d538b722cae0..0b47e8dbb78e 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 @@ public override string ToString() 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 2b062a550aba..44b4495cdd20 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 9fb9257ced6e..b5b5f42d58cc 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 @@ private void AfterRootGetDefaultImplementation(IRootGetApiResponse apiResponseLo 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 @@ private void OnErrorRootGetDefaultImplementation(Exception exception, string pat bool suppressDefaultLog = false; OnErrorRootGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RootGetApiResponse(ILogger logger, System.Net.Http.Ht 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 1d43e69742f6..b87facb8932f 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 96bba8467893..99eb4714a50d 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 68e90f4ecbb2..8b40c1d54609 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 @@ public class DateTimeJsonConverter : JsonConverter "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 3cb4b6ce51e7..b07b11762f60 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 55d56f3f2049..9721738eaf36 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 8e7bed46e9c5..80fcdd367e32 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 3924246ab7c2..abcc7cbee93c 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 7867e6645419..263bf9b911eb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 15899a012afd..5cd766ff9855 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 1d1c7c5388c0..7c048dcc1c2b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -218,8 +215,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 eef2a62a180a..f90646223bea 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 @@ private void AfterCall123TestSpecialTagsDefaultImplementation(ICall123TestSpecia 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 @@ private void OnErrorCall123TestSpecialTagsDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public Call123TestSpecialTagsApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -393,7 +390,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 5151d6053e5a..110a5dfc6213 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 @@ private void AfterFooGetDefaultImplementation(IFooGetApiResponse apiResponseLoca 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 @@ private void OnErrorFooGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorFooGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FooGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetCountryDefaultImplementation(IGetCountryApiResponse apiResp 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 @@ private void OnErrorGetCountryDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetCountry(ref suppressDefaultLog, exception, pathFormat, path, country); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterHelloDefaultImplementation(IHelloApiResponse apiResponseLocalV 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 @@ private void OnErrorHelloDefaultImplementation(Exception exception, string pathF bool suppressDefaultLog = false; OnErrorHello(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public HelloApiResponse(ILogger logger, System.Net.Http.HttpRe 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterRolesReportGetDefaultImplementation(IRolesReportGetApiResponse 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 @@ private void OnErrorRolesReportGetDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorRolesReportGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RolesReportGetApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestDefaultImplementation(ITestApiResponse apiResponseLocalVar 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 @@ private void OnErrorTestDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorTest(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 402f72e32af3..4ade3596b71e 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 @@ private void AfterFakeHealthGetDefaultImplementation(IFakeHealthGetApiResponse a 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 @@ private void OnErrorFakeHealthGetDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorFakeHealthGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeHealthGetApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterBooleanSerializeDefaultImplementation(IFakeOuterBoole 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 @@ private void OnErrorFakeOuterBooleanSerializeDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterBooleanSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1695,7 +1690,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterCompositeSerializeDefaultImplementation(IFakeOuterCom 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 @@ private void OnErrorFakeOuterCompositeSerializeDefaultImplementation(Exception e bool suppressDefaultLog = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLog, exception, pathFormat, path, outerComposite); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterCompositeSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1925,7 +1918,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterNumberSerializeDefaultImplementation(IFakeOuterNumber 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 @@ private void OnErrorFakeOuterNumberSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterNumberSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2142,7 +2133,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterStringSerializeDefaultImplementation(IFakeOuterString 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 @@ private void OnErrorFakeOuterStringSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLog, exception, pathFormat, path, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterStringSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2384,7 +2373,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetArrayOfEnumsDefaultImplementation(IGetArrayOfEnumsApiRespon 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 @@ private void OnErrorGetArrayOfEnumsDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorGetArrayOfEnums(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetArrayOfEnumsApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedAnyOfDefaultImplementation(IGetMixedAnyOfApiResponse a 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 @@ private void OnErrorGetMixedAnyOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedAnyOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedAnyOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedOneOfDefaultImplementation(IGetMixedOneOfApiResponse a 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 @@ private void OnErrorGetMixedOneOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedOneOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedOneOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestAdditionalPropertiesReferenceDefaultImplementation(ITestAd 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 @@ private void OnErrorTestAdditionalPropertiesReferenceDefaultImplementation(Excep bool suppressDefaultLog = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithFileSchemaDefaultImplementation(ITestBodyWithFileS 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 @@ private void OnErrorTestBodyWithFileSchemaDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLog, exception, pathFormat, path, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithQueryParamsDefaultImplementation(ITestBodyWithQuer 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 @@ private void OnErrorTestBodyWithQueryParamsDefaultImplementation(Exception excep bool suppressDefaultLog = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLog, exception, pathFormat, path, query, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestClientModelDefaultImplementation(ITestClientModelApiRespon 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 @@ private void OnErrorTestClientModelDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorTestClientModel(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClientModelApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEndpointParametersDefaultImplementation(ITestEndpointParam 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 @@ private void OnErrorTestEndpointParametersDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestEndpointParameters(ref suppressDefaultLog, exception, pathFormat, path, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEnumParametersDefaultImplementation(ITestEnumParametersApi 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 @@ private void OnErrorTestEnumParametersDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorTestEnumParameters(ref suppressDefaultLog, exception, pathFormat, path, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestGroupParametersDefaultImplementation(ITestGroupParametersA 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 @@ private void OnErrorTestGroupParametersDefaultImplementation(Exception exception bool suppressDefaultLog = false; OnErrorTestGroupParameters(ref suppressDefaultLog, exception, pathFormat, path, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineAdditionalPropertiesDefaultImplementation(ITestInlin 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 @@ private void OnErrorTestInlineAdditionalPropertiesDefaultImplementation(Exceptio bool suppressDefaultLog = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineFreeformAdditionalPropertiesDefaultImplementation(IT 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 @@ private void OnErrorTestInlineFreeformAdditionalPropertiesDefaultImplementation( bool suppressDefaultLog = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestJsonFormDataDefaultImplementation(ITestJsonFormDataApiResp 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 @@ private void OnErrorTestJsonFormDataDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorTestJsonFormData(ref suppressDefaultLog, exception, pathFormat, path, param, param2); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestQueryParameterCollectionFormatDefaultImplementation(ITestQ 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 @@ private void OnErrorTestQueryParameterCollectionFormatDefaultImplementation(Exce bool suppressDefaultLog = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLog, exception, pathFormat, path, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestStringMapReferenceDefaultImplementation(ITestStringMapRefe 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 @@ private void OnErrorTestStringMapReferenceDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestStringMapReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 ff66cc2a2097..db99b99fa0d3 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 @@ private void AfterTestClassnameDefaultImplementation(ITestClassnameApiResponse a 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 @@ private void OnErrorTestClassnameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorTestClassname(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClassnameApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 31e5b9963e22..69a9c76294fd 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 @@ private void AfterAddPetDefaultImplementation(IAddPetApiResponse apiResponseLoca 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 @@ private void OnErrorAddPetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorAddPet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeletePetDefaultImplementation(IDeletePetApiResponse apiRespon 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 @@ private void OnErrorDeletePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorDeletePet(ref suppressDefaultLog, exception, pathFormat, path, petId, apiKey); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByStatusDefaultImplementation(IFindPetsByStatusApiResp 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 @@ private void OnErrorFindPetsByStatusDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorFindPetsByStatus(ref suppressDefaultLog, exception, pathFormat, path, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByStatusApiResponse(ILogger logger, 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByTagsDefaultImplementation(IFindPetsByTagsApiResponse 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 @@ private void OnErrorFindPetsByTagsDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorFindPetsByTags(ref suppressDefaultLog, exception, pathFormat, path, tags); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByTagsApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetPetByIdDefaultImplementation(IGetPetByIdApiResponse apiResp 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 @@ private void OnErrorGetPetByIdDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetPetById(ref suppressDefaultLog, exception, pathFormat, path, petId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetPetByIdApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetDefaultImplementation(IUpdatePetApiResponse apiRespon 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 @@ private void OnErrorUpdatePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorUpdatePet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetWithFormDefaultImplementation(IUpdatePetWithFormApiRe 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 @@ private void OnErrorUpdatePetWithFormDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorUpdatePetWithForm(ref suppressDefaultLog, exception, pathFormat, path, petId, name, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileDefaultImplementation(IUploadFileApiResponse apiResp 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 @@ private void OnErrorUploadFileDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUploadFile(ref suppressDefaultLog, exception, pathFormat, path, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileWithRequiredFileDefaultImplementation(IUploadFileWit 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 @@ private void OnErrorUploadFileWithRequiredFileDefaultImplementation(Exception ex bool suppressDefaultLog = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLog, exception, pathFormat, path, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileWithRequiredFileApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2813,7 +2794,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 f098e2395926..dd2822c9a16e 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 @@ private void AfterDeleteOrderDefaultImplementation(IDeleteOrderApiResponse apiRe 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 @@ private void OnErrorDeleteOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteOrder(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetInventoryDefaultImplementation(IGetInventoryApiResponse 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 @@ private void OnErrorGetInventoryDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetInventory(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetInventoryApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetOrderByIdDefaultImplementation(IGetOrderByIdApiResponse 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 @@ private void OnErrorGetOrderByIdDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetOrderById(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetOrderByIdApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterPlaceOrderDefaultImplementation(IPlaceOrderApiResponse apiResp 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 @@ private void OnErrorPlaceOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorPlaceOrder(ref suppressDefaultLog, exception, pathFormat, path, order); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public PlaceOrderApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 25824cb3dcad..96052485d721 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 @@ private void AfterCreateUserDefaultImplementation(ICreateUserApiResponse apiResp 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 @@ private void OnErrorCreateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorCreateUser(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithArrayInputDefaultImplementation(ICreateUsersWit 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 @@ private void OnErrorCreateUsersWithArrayInputDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithListInputDefaultImplementation(ICreateUsersWith 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 @@ private void OnErrorCreateUsersWithListInputDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeleteUserDefaultImplementation(IDeleteUserApiResponse apiResp 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 @@ private void OnErrorDeleteUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteUser(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetUserByNameDefaultImplementation(IGetUserByNameApiResponse a 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 @@ private void OnErrorGetUserByNameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetUserByName(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetUserByNameApiResponse(ILogger logger, System 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 @@ public bool TryOk(out Org.OpenAPITools.Model.User result) 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLoginUserDefaultImplementation(ILoginUserApiResponse apiRespon 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 @@ private void OnErrorLoginUserDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorLoginUser(ref suppressDefaultLog, exception, pathFormat, path, password, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public LoginUserApiResponse(ILogger logger, System.Net.Htt 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLogoutUserDefaultImplementation(ILogoutUserApiResponse apiResp 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 @@ private void OnErrorLogoutUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorLogoutUser(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdateUserDefaultImplementation(IUpdateUserApiResponse apiResp 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 @@ private void OnErrorUpdateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUpdateUser(ref suppressDefaultLog, exception, pathFormat, path, user, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 fdd11dd19c9a..0f220825a1f2 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 416f7a04e3d6..364befb0206d 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 973f9e9d4e80..218395c88306 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 @@ public class DateTimeJsonConverter : JsonConverter "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 b491c61f07fa..6817e3c39270 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 5c4159491eec..f58b4501c674 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 8cf79a713b74..0d3b4a720e90 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 534f27a8cc52..1b233732bfc6 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 36d7dad03e23..996fb07a1fa5 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 a5e4bd35e9bc..58d445021e5d 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 @@ public override string ToString() 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 d7b4374e6a7b..cf96397d517f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ public void WriteProperties(Utf8JsonWriter writer, ActivityOutputElementRepresen 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 ec17222fbc8f..9eef9e63b103 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 @@ public override string ToString() 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 74cb14f52d91..c574d5a2ea6e 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ public void WriteProperties(Utf8JsonWriter writer, Animal animal, JsonSerializer 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 77ec0bd5ed2d..3b312a560cb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ public void WriteProperties(Utf8JsonWriter writer, ApiResponse apiResponse, Json 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 df3bc9af06cc..9fda41895306 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 1cc72ecd59d3..44bf8667e208 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ public void WriteProperties(Utf8JsonWriter writer, AppleReq appleReq, JsonSerial 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 d2398a452eee..f00c246ac84d 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 @@ public override string ToString() 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 cce8d5d564b6..073503dca9ee 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 @@ public override string ToString() 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 3fbc72e2f5ab..30a9fd8381d9 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 @@ public override string ToString() 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 d92ba4ae6aef..2a87cf4680be 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 c9734cbe3808..f3366e53886e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ public override void Write(Utf8JsonWriter writer, BananaReq bananaReq, JsonSeria /// 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 9938d89e008d..4848a599f7cd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, BasquePig basquePig, JsonSeri 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 a1fb0b3eb574..55c4682af23c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ public void WriteProperties(Utf8JsonWriter writer, Capitalization capitalization 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 0ffe1228015d..dc43e6dd6cd8 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ public void WriteProperties(Utf8JsonWriter writer, Cat cat, JsonSerializerOption 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 f483d87f36c8..4bf859316189 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ public void WriteProperties(Utf8JsonWriter writer, Category category, JsonSerial 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 2eb5dd8dc35a..6027bde8f37c 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 @@ public static string PetTypeEnumToJsonValue(PetTypeEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -128,7 +126,6 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -222,10 +219,9 @@ public void WriteProperties(Utf8JsonWriter writer, ChildCat childCat, JsonSerial 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 7c49d7adb55c..cb921fcaf865 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ClassModel classModel, JsonSe 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 3023a45610e4..34179cf3eeb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ComplexQuadrilateral complexQ 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 14b2ed3b153f..b689eff90ae4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, DanishPig danishPig, JsonSeri 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 2ed0b166d7f6..8c540b69de29 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ public override void Write(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, J /// 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 08067c5cc07c..ab41548c7686 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, DeprecatedObject deprecatedOb 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 605dc512434b..486f9de74139 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ public void WriteProperties(Utf8JsonWriter writer, Dog dog, JsonSerializerOption 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 a853b96144e2..d0abaf05c053 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 @@ public override string ToString() 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 b6716a58e539..23f818fe4723 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 @@ public static string ArrayEnumEnumToJsonValue(ArrayEnumEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -175,7 +173,6 @@ public static string JustSymbolEnumToJsonValue(JustSymbolEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -231,9 +228,7 @@ public override string ToString() 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 b1aff0adf0d8..9e4dceb77312 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 08e961298725..9970b90fe0b4 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 @@ public static string EnumStringRequiredEnumToJsonValue(EnumStringRequiredEnum va throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -272,7 +270,6 @@ public static int EnumIntegerEnumToJsonValue(EnumIntegerEnum value) { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -344,7 +341,6 @@ public static int EnumIntegerOnlyEnumToJsonValue(EnumIntegerOnlyEnum value) { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -423,7 +419,6 @@ public static double EnumNumberEnumToJsonValue(EnumNumberEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -586,7 +581,6 @@ public static string EnumStringEnumToJsonValue(EnumStringEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -688,9 +682,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -842,16 +834,13 @@ public void WriteProperties(Utf8JsonWriter writer, EnumTest enumTest, JsonSerial { 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 d65c7740e5e8..4c6b57312e55 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, EquilateralTriangle equilater 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 092f10c09324..9d2bdcce2860 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ public void WriteProperties(Utf8JsonWriter writer, File file, JsonSerializerOpti 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 f9d9d9f7a7b8..6e1c51ef8b0c 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 @@ public override string ToString() 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 3eeca0aa2112..d82c3b21439c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Foo foo, JsonSerializerOption 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 c7d043666115..274ef7b4267a 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 @@ public override string ToString() 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 b0822c334f55..c08bcc48b04f 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ public void WriteProperties(Utf8JsonWriter writer, FormatTest formatTest, JsonSe 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 cc8b4530f01c..f1ec3159ed17 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 1e72875d4d32..c9711ef9205e 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 @@ public override string ToString() 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 78cb87b61a31..5b356ea284fc 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ public void WriteProperties(Utf8JsonWriter writer, GmFruit gmFruit, JsonSerializ 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 b23e4826fd6b..294ed66fccad 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 a4e67f73a8e5..dd2d22efc53b 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ public void WriteProperties(Utf8JsonWriter writer, HasOnlyReadOnly hasOnlyReadOn 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 16afc025fa03..e1e0d40f4ac0 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ public override void Write(Utf8JsonWriter writer, HealthCheckResult healthCheckR /// 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 cce859524111..73a93b84842c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ public void WriteProperties(Utf8JsonWriter writer, IsoscelesTriangle isoscelesTr 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 050d58f85c23..7dcc77628b90 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, List list, JsonSerializerOpti 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 522ba51e6cb3..fa3c03f346f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, LiteralStringClass literalStr 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 267ac8769d31..401b68452acf 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 97588d56888a..f6e951e924e2 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 @@ public static string InnerEnumToJsonValue(InnerEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -197,9 +195,7 @@ public override string ToString() 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 d18711f51031..31dd097161f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializer 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 c81de3d2f67d..7e50c69e51b5 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 @@ public override string ToString() 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 5de026753ef2..2416a236128e 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 @@ public override string ToString() 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 32515bc04405..a4467dcf5ff7 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 @@ public override string ToString() 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 4cb69dae28cd..ae6c47f1fd1f 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 @@ public override string ToString() 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 3cef3330300e..a0b39c8f7228 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 @@ public override string ToString() 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 @@ public void WriteProperties(Utf8JsonWriter writer, MixedPropertiesAndAdditionalP 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 34198e6f437a..03d7fe50ba88 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, MixedSubId mixedSubId, JsonSe 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 bf37307ad965..63f3b46af6e2 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Model200Response model200Resp 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 5d459e8b5eb1..a1162409132b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ModelClient modelClient, Json 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 b322aaf568ce..2348f9b6ea30 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ public void WriteProperties(Utf8JsonWriter writer, Name name, JsonSerializerOpti 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 ea8abdda0d78..705b4a9724af 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ public void WriteProperties(Utf8JsonWriter writer, NotificationtestGetElementsV1 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 42533f9c7ebf..5be040369fd9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 56db535e3921..6d2ef985e6ed 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ public override void Write(Utf8JsonWriter writer, NullableGuidClass nullableGuid /// 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 9a93cb734e9c..c234d27be972 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 29f5a80e6462..abd2ee91e7ea 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSer /// 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 83f513bc63bb..a81386ab9dbb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ public void WriteProperties(Utf8JsonWriter writer, ObjectWithDeprecatedFields ob 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 c89963f55a36..77bb2a7369ef 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 @@ public override string ToString() 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 4889b1c2f3c1..bec549a70934 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -246,9 +244,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,22 +370,17 @@ public override void Write(Utf8JsonWriter writer, Order order, JsonSerializerOpt /// 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 92ec1939d1af..2cbec554f7c9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ public void WriteProperties(Utf8JsonWriter writer, OuterComposite outerComposite 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 47bb6793c6ac..4282e90bd0f0 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 136fb4c54c4e..aa3d355d7927 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 2ed4f18a657e..42215ac7c69a 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 c6a470cc64d1..6203818d13c8 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 a2e789f2edef..5e02cf051415 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 83104e900d01..c2fcaae270c8 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 @@ public override string ToString() 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 ee37b1594dce..6247bf637b43 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -232,9 +230,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -372,19 +368,17 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption 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 b6f300c94400..661e350a9d29 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ddea47edf40c..a87c3cadb6b8 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 @@ public override string ToString() 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 e8a2e2439975..667e7fa28222 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 519ed66393ca..2c5d5dd59f81 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, QuadrilateralInterface quadri 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 a7cd43316ac8..2f95cf4e9464 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ public void WriteProperties(Utf8JsonWriter writer, ReadOnlyFirst readOnlyFirst, 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 e1c23b4ac973..07c1a5dc091a 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 @@ public static int RequiredNotnullableEnumIntegerEnumToJsonValue(RequiredNotnulla { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -251,7 +249,6 @@ public static int RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(RequiredNotn { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -407,7 +404,6 @@ public static string RequiredNotnullableEnumStringEnumToJsonValue(RequiredNotnul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -478,7 +474,6 @@ public static int NotrequiredNotnullableEnumIntegerEnumToJsonValue(NotrequiredNo { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -550,7 +545,6 @@ public static int NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(Notrequir { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -713,7 +707,6 @@ public static string NotrequiredNotnullableEnumStringEnumToJsonValue(Notrequired throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -798,7 +791,6 @@ public static int NotrequiredNullableEnumIntegerEnumToJsonValue(NotrequiredNulla { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -870,7 +862,6 @@ public static int NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(NotrequiredN { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1036,7 +1027,6 @@ public static string NotrequiredNullableEnumStringEnumToJsonValue(NotrequiredNul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1121,7 +1111,6 @@ public static int RequiredNullableEnumIntegerEnumToJsonValue(RequiredNullableEnu { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1186,7 +1175,6 @@ public static int RequiredNullableEnumIntegerOnlyEnumToJsonValue(RequiredNullabl { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1345,7 +1333,6 @@ public static string RequiredNullableEnumStringEnumToJsonValue(RequiredNullableE throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1699,9 +1686,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2181,78 +2166,60 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 6a2c4c85eb4a..031648b131a9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ public void WriteProperties(Utf8JsonWriter writer, Return varReturn, JsonSeriali 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 46625cb093a3..3505a0f0ecfa 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHash rolesReports 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 29c8760c9722..8b7c60dbfd1b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHashRole rolesRep 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 5c960eb54744..0de13eec2fb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ScaleneTriangle scaleneTriang 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 c651ac7d2454..90c0ee7ddeb8 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 37db5df64908..e57f6dc449e4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeInterface shapeInterface 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 1f0b22030070..54354c9536c4 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ffa68d1e75de..487a20689f33 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, SimpleQuadrilateral simpleQua 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 7ec3c110c2a1..c6abc777133f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, SpecialModelName specialModel 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 4290e8270ff9..043704287724 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Tag tag, JsonSerializerOption 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 11d1cd5963c0..e51918c7a305 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL 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 04d04337aa4a..4743b09271dc 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 @@ public override string ToString() 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 33f5183651a3..13c411093c35 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestInlineFreeformAdditionalP 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 cf22051519ad..b38208d0f98c 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 0f13b0e77451..ee9a25dd35ae 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, TriangleInterface triangleInt 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 e89d58457324..f92a3edc061f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 834e6957c675..156753c72517 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ public void WriteProperties(Utf8JsonWriter writer, Whale whale, JsonSerializerOp 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 bdf489815279..798ed23c9b10 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 @@ public static string TypeEnumToJsonValue(TypeEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -172,9 +170,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,9 +264,8 @@ public void WriteProperties(Utf8JsonWriter writer, Zebra zebra, JsonSerializerOp 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 34a044fb8b13..e290a4733f04 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 a6d408aeecc1..ea1af5c7ee4a 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 @@ public static string ZeroBasedEnumEnumToJsonValue(ZeroBasedEnumEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -149,9 +147,7 @@ public override string ToString() 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 bf0983e3e335..4b4e44fa5898 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 @@ private void AfterNowGetDefaultImplementation(INowGetApiResponse apiResponseLoca 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 @@ private void OnErrorNowGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorNowGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public NowGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 cf39d3c11d75..2489028b0421 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 fe5b2fe67aa2..3371a880a416 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 52e971d082a7..48937d5478ed 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 @@ public class DateTimeJsonConverter : JsonConverter "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 968d29161b12..84d3f2293127 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 2b34371084b5..4a8753660d61 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 cddb84058868..70e61323455d 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 069d52308681..633c345decd4 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 504c2976b3f4..a86ce711c8c6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public override void Write(Utf8JsonWriter writer, NowGet200Response nowGet200Res /// 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 13fd3112aa24..0e990e870f36 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 @@ private void AfterListDefaultImplementation(IListApiResponse apiResponseLocalVar 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 @@ private void OnErrorListDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorList(ref suppressDefaultLog, exception, pathFormat, path, personId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public ListApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 eaf62115550f..bf99cd2cf0d1 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 29ca5094b343..724a1133152f 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 f7fe93629939..e5b76b9c9ff1 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 @@ public class DateOnlyJsonConverter : JsonConverter 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 a5cb490f3ef1..7a16707547de 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 @@ public class DateOnlyNullableJsonConverter : JsonConverter 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 79fb8600e4be..c046a0663c18 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 @@ public class DateTimeJsonConverter : JsonConverter "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 26d8b0757ba4..87a26fea7e41 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 b3419229d654..8ca6449d3692 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 d50991f16ec4..9d5cef4f2f7c 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 25a52d3c7185..54dfd87a7c84 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 061761d954f3..b5584f4aafc4 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -195,13 +193,11 @@ public void WriteProperties(Utf8JsonWriter writer, Adult adult, JsonSerializerOp 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 94bb37a7732d..08254db30acb 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -211,19 +209,16 @@ public void WriteProperties(Utf8JsonWriter writer, Child child, JsonSerializerOp 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.FirstNameOption.IsSet) - writer.WriteString("firstName", child.FirstName); - - if (child.LastNameOption.IsSet) - writer.WriteString("lastName", child.LastName); - - writer.WriteString("$_type", child.Type); + 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.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 d3f9d198830e..798b6d692589 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -237,13 +234,11 @@ public void WriteProperties(Utf8JsonWriter writer, Person person, JsonSerializer 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 2337327fdc77..cd04a05d288a 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 @@ private void AfterRootGetDefaultImplementation(IRootGetApiResponse apiResponseLo 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 @@ private void OnErrorRootGetDefaultImplementation(Exception exception, string pat bool suppressDefaultLog = false; OnErrorRootGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RootGetApiResponse(ILogger logger, System.Net.Http.Ht 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 6ca1d86d4a35..4a1897951fa3 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 2675478b8b4f..eba42d9fae90 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 5009ae5304f7..deb94fa62fd9 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 @@ public class DateOnlyJsonConverter : JsonConverter 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 02dda463ab26..77d24176265b 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 @@ public class DateOnlyNullableJsonConverter : JsonConverter 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 4be8e3a725e0..049f791ce622 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 @@ public class DateTimeJsonConverter : JsonConverter "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 06d46536f037..e9cf0b8d003b 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 6f4db75a4454..e1feaf22dc4a 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 b10d5ac58f56..8628cb568d31 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 db3ce767d4af..3de98d60d634 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 dd3528fa42a4..03ee3d05aa72 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 66a33723aebc..7caa64b812ed 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 64a206e3bd57..a2d2d96bf489 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -237,8 +234,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 2337327fdc77..cd04a05d288a 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 @@ private void AfterRootGetDefaultImplementation(IRootGetApiResponse apiResponseLo 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 @@ private void OnErrorRootGetDefaultImplementation(Exception exception, string pat bool suppressDefaultLog = false; OnErrorRootGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RootGetApiResponse(ILogger logger, System.Net.Http.Ht 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 6ca1d86d4a35..4a1897951fa3 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 2675478b8b4f..eba42d9fae90 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 5009ae5304f7..deb94fa62fd9 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 @@ public class DateOnlyJsonConverter : JsonConverter 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 02dda463ab26..77d24176265b 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 @@ public class DateOnlyNullableJsonConverter : JsonConverter 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 4be8e3a725e0..049f791ce622 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 @@ public class DateTimeJsonConverter : JsonConverter "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 06d46536f037..e9cf0b8d003b 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 6f4db75a4454..e1feaf22dc4a 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 b10d5ac58f56..8628cb568d31 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 db3ce767d4af..3de98d60d634 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 8531edebf731..6487aa80a4d6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 36e0ac854e6d..2f16244f311e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,8 +163,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 73c92d0cded3..efe48ced6362 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -236,8 +233,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 346fbdf85655..c023f5f9b662 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 @@ private void AfterCall123TestSpecialTagsDefaultImplementation(ICall123TestSpecia 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 @@ private void OnErrorCall123TestSpecialTagsDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public Call123TestSpecialTagsApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -394,7 +391,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 c996a3fc0fad..5bf8a2d2f494 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 @@ private void AfterFooGetDefaultImplementation(IFooGetApiResponse apiResponseLoca 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 @@ private void OnErrorFooGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorFooGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FooGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetCountryDefaultImplementation(IGetCountryApiResponse apiResp 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 @@ private void OnErrorGetCountryDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetCountry(ref suppressDefaultLog, exception, pathFormat, path, country); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterHelloDefaultImplementation(IHelloApiResponse apiResponseLocalV 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 @@ private void OnErrorHelloDefaultImplementation(Exception exception, string pathF bool suppressDefaultLog = false; OnErrorHello(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public HelloApiResponse(ILogger logger, System.Net.Http.HttpRe 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterRolesReportGetDefaultImplementation(IRolesReportGetApiResponse 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 @@ private void OnErrorRolesReportGetDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorRolesReportGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RolesReportGetApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestDefaultImplementation(ITestApiResponse apiResponseLocalVar 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 @@ private void OnErrorTestDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorTest(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 fd357fdbec8d..5a4740022c6a 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 @@ private void AfterFakeHealthGetDefaultImplementation(IFakeHealthGetApiResponse a 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 @@ private void OnErrorFakeHealthGetDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorFakeHealthGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeHealthGetApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterBooleanSerializeDefaultImplementation(IFakeOuterBoole 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 @@ private void OnErrorFakeOuterBooleanSerializeDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterBooleanSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1697,7 +1692,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterCompositeSerializeDefaultImplementation(IFakeOuterCom 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 @@ private void OnErrorFakeOuterCompositeSerializeDefaultImplementation(Exception e bool suppressDefaultLog = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLog, exception, pathFormat, path, outerComposite); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterCompositeSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1928,7 +1921,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterNumberSerializeDefaultImplementation(IFakeOuterNumber 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 @@ private void OnErrorFakeOuterNumberSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterNumberSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2146,7 +2137,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterStringSerializeDefaultImplementation(IFakeOuterString 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 @@ private void OnErrorFakeOuterStringSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLog, exception, pathFormat, path, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterStringSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2389,7 +2378,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetArrayOfEnumsDefaultImplementation(IGetArrayOfEnumsApiRespon 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 @@ private void OnErrorGetArrayOfEnumsDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorGetArrayOfEnums(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetArrayOfEnumsApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedAnyOfDefaultImplementation(IGetMixedAnyOfApiResponse a 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 @@ private void OnErrorGetMixedAnyOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedAnyOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedAnyOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedOneOfDefaultImplementation(IGetMixedOneOfApiResponse a 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 @@ private void OnErrorGetMixedOneOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedOneOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedOneOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestAdditionalPropertiesReferenceDefaultImplementation(ITestAd 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 @@ private void OnErrorTestAdditionalPropertiesReferenceDefaultImplementation(Excep bool suppressDefaultLog = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithFileSchemaDefaultImplementation(ITestBodyWithFileS 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 @@ private void OnErrorTestBodyWithFileSchemaDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLog, exception, pathFormat, path, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithQueryParamsDefaultImplementation(ITestBodyWithQuer 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 @@ private void OnErrorTestBodyWithQueryParamsDefaultImplementation(Exception excep bool suppressDefaultLog = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLog, exception, pathFormat, path, query, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestClientModelDefaultImplementation(ITestClientModelApiRespon 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 @@ private void OnErrorTestClientModelDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorTestClientModel(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClientModelApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEndpointParametersDefaultImplementation(ITestEndpointParam 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 @@ private void OnErrorTestEndpointParametersDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestEndpointParameters(ref suppressDefaultLog, exception, pathFormat, path, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEnumParametersDefaultImplementation(ITestEnumParametersApi 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 @@ private void OnErrorTestEnumParametersDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorTestEnumParameters(ref suppressDefaultLog, exception, pathFormat, path, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestGroupParametersDefaultImplementation(ITestGroupParametersA 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 @@ private void OnErrorTestGroupParametersDefaultImplementation(Exception exception bool suppressDefaultLog = false; OnErrorTestGroupParameters(ref suppressDefaultLog, exception, pathFormat, path, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineAdditionalPropertiesDefaultImplementation(ITestInlin 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 @@ private void OnErrorTestInlineAdditionalPropertiesDefaultImplementation(Exceptio bool suppressDefaultLog = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineFreeformAdditionalPropertiesDefaultImplementation(IT 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 @@ private void OnErrorTestInlineFreeformAdditionalPropertiesDefaultImplementation( bool suppressDefaultLog = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestJsonFormDataDefaultImplementation(ITestJsonFormDataApiResp 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 @@ private void OnErrorTestJsonFormDataDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorTestJsonFormData(ref suppressDefaultLog, exception, pathFormat, path, param, param2); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestQueryParameterCollectionFormatDefaultImplementation(ITestQ 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 @@ private void OnErrorTestQueryParameterCollectionFormatDefaultImplementation(Exce bool suppressDefaultLog = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLog, exception, pathFormat, path, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestStringMapReferenceDefaultImplementation(ITestStringMapRefe 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 @@ private void OnErrorTestStringMapReferenceDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestStringMapReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 7ef4632bb3b3..3ca95371a32c 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 @@ private void AfterTestClassnameDefaultImplementation(ITestClassnameApiResponse a 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 @@ private void OnErrorTestClassnameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorTestClassname(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClassnameApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 464aeeb875e4..99130742124b 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 @@ private void AfterAddPetDefaultImplementation(IAddPetApiResponse apiResponseLoca 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 @@ private void OnErrorAddPetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorAddPet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeletePetDefaultImplementation(IDeletePetApiResponse apiRespon 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 @@ private void OnErrorDeletePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorDeletePet(ref suppressDefaultLog, exception, pathFormat, path, petId, apiKey); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByStatusDefaultImplementation(IFindPetsByStatusApiResp 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 @@ private void OnErrorFindPetsByStatusDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorFindPetsByStatus(ref suppressDefaultLog, exception, pathFormat, path, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByStatusApiResponse(ILogger logger, 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByTagsDefaultImplementation(IFindPetsByTagsApiResponse 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 @@ private void OnErrorFindPetsByTagsDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorFindPetsByTags(ref suppressDefaultLog, exception, pathFormat, path, tags); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByTagsApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetPetByIdDefaultImplementation(IGetPetByIdApiResponse apiResp 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 @@ private void OnErrorGetPetByIdDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetPetById(ref suppressDefaultLog, exception, pathFormat, path, petId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetPetByIdApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetDefaultImplementation(IUpdatePetApiResponse apiRespon 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 @@ private void OnErrorUpdatePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorUpdatePet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetWithFormDefaultImplementation(IUpdatePetWithFormApiRe 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 @@ private void OnErrorUpdatePetWithFormDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorUpdatePetWithForm(ref suppressDefaultLog, exception, pathFormat, path, petId, name, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileDefaultImplementation(IUploadFileApiResponse apiResp 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 @@ private void OnErrorUploadFileDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUploadFile(ref suppressDefaultLog, exception, pathFormat, path, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileWithRequiredFileDefaultImplementation(IUploadFileWit 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 @@ private void OnErrorUploadFileWithRequiredFileDefaultImplementation(Exception ex bool suppressDefaultLog = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLog, exception, pathFormat, path, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileWithRequiredFileApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2819,7 +2800,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 7d6c118e4dbb..cb23fa065419 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 @@ private void AfterDeleteOrderDefaultImplementation(IDeleteOrderApiResponse apiRe 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 @@ private void OnErrorDeleteOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteOrder(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetInventoryDefaultImplementation(IGetInventoryApiResponse 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 @@ private void OnErrorGetInventoryDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetInventory(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetInventoryApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetOrderByIdDefaultImplementation(IGetOrderByIdApiResponse 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 @@ private void OnErrorGetOrderByIdDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetOrderById(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetOrderByIdApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterPlaceOrderDefaultImplementation(IPlaceOrderApiResponse apiResp 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 @@ private void OnErrorPlaceOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorPlaceOrder(ref suppressDefaultLog, exception, pathFormat, path, order); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public PlaceOrderApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 b84ef2f23b58..ee4e1900d60d 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 @@ private void AfterCreateUserDefaultImplementation(ICreateUserApiResponse apiResp 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 @@ private void OnErrorCreateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorCreateUser(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithArrayInputDefaultImplementation(ICreateUsersWit 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 @@ private void OnErrorCreateUsersWithArrayInputDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithListInputDefaultImplementation(ICreateUsersWith 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 @@ private void OnErrorCreateUsersWithListInputDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeleteUserDefaultImplementation(IDeleteUserApiResponse apiResp 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 @@ private void OnErrorDeleteUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteUser(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetUserByNameDefaultImplementation(IGetUserByNameApiResponse a 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 @@ private void OnErrorGetUserByNameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetUserByName(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetUserByNameApiResponse(ILogger logger, System 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 @@ public bool TryOk([NotNullWhen(true)]out Org.OpenAPITools.Model.User result) 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLoginUserDefaultImplementation(ILoginUserApiResponse apiRespon 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 @@ private void OnErrorLoginUserDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorLoginUser(ref suppressDefaultLog, exception, pathFormat, path, password, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public LoginUserApiResponse(ILogger logger, System.Net.Htt 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLogoutUserDefaultImplementation(ILogoutUserApiResponse apiResp 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 @@ private void OnErrorLogoutUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorLogoutUser(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdateUserDefaultImplementation(IUpdateUserApiResponse apiResp 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 @@ private void OnErrorUpdateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUpdateUser(ref suppressDefaultLog, exception, pathFormat, path, user, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 fdd11dd19c9a..0f220825a1f2 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 794b3601c853..1508675e41db 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 11b100056516..c61f8d5dedde 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 @@ public class DateOnlyJsonConverter : JsonConverter 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 92ef8f6c92bf..80cde8635d94 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 @@ public class DateOnlyNullableJsonConverter : JsonConverter 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 623f3c18353c..377941f9d864 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 @@ public class DateTimeJsonConverter : JsonConverter "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 43730a86b868..c1c4ebac9ff1 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 012e633f989c..f629b4e85643 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 8cf79a713b74..0d3b4a720e90 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 eb894eec8416..7895afa24ef1 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 36d7dad03e23..996fb07a1fa5 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 f9d2680b0ad5..4a1a8d59f28e 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 @@ public override string ToString() 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 f5bcaf712030..3c4df990ffcd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ public void WriteProperties(Utf8JsonWriter writer, ActivityOutputElementRepresen 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 8d4153d53022..3af354e696f7 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 @@ public override string ToString() 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 d0b07da62cc8..0c6a356ae8b5 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ public void WriteProperties(Utf8JsonWriter writer, Animal animal, JsonSerializer 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 3b185247e442..01fd9f5dd847 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ public void WriteProperties(Utf8JsonWriter writer, ApiResponse apiResponse, Json 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 26fbe0516849..00b4a21fa06a 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 942640761b26..d5e361f9582e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ public void WriteProperties(Utf8JsonWriter writer, AppleReq appleReq, JsonSerial 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 debcff217b93..72d121d8c76f 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 @@ public override string ToString() 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 ded293438a45..8b3ac888c67c 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 @@ public override string ToString() 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 ee7b94f08bd3..1e9afa3065f8 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 @@ public override string ToString() 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 476a1c25352b..776e9d0234b8 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 a3a0a15428b4..44b747359a6b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ public override void Write(Utf8JsonWriter writer, BananaReq bananaReq, JsonSeria /// 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 9938d89e008d..4848a599f7cd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, BasquePig basquePig, JsonSeri 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 8308df3a0912..8d39e16c9b2f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ public void WriteProperties(Utf8JsonWriter writer, Capitalization capitalization 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 6a1dfe1d90b6..57af710a4ba5 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ public void WriteProperties(Utf8JsonWriter writer, Cat cat, JsonSerializerOption 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 9bd387646078..4ec9fec90697 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ public void WriteProperties(Utf8JsonWriter writer, Category category, JsonSerial 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 d920c4ded985..2615246e5ea9 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -172,8 +170,8 @@ public void WriteProperties(Utf8JsonWriter writer, ChildCat childCat, JsonSerial 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 9e8bc253fdb2..21f91ce0dd43 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 9730e5b1185e..9fa23ffeedf6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ClassModel classModel, JsonSe 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 3023a45610e4..34179cf3eeb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ComplexQuadrilateral complexQ 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 14b2ed3b153f..b689eff90ae4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, DanishPig danishPig, JsonSeri 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 df8c6f1b018a..b57783a42f32 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ public override void Write(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, J /// 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 65695f863abb..30aa92910e58 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, DeprecatedObject deprecatedOb 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 2ab1ca19d2d0..af2b116fb360 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ public void WriteProperties(Utf8JsonWriter writer, Dog dog, JsonSerializerOption 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 72e59c9baf44..da48ce140939 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 @@ public override string ToString() 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 516c952c2071..348856f1f84f 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 @@ public override string ToString() 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 c620b7197c40..a400e7a5e607 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 4a414d11d0db..9fdae0149620 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 b1aff0adf0d8..9e4dceb77312 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 49ce4b0a6d6e..9aa31f048fc0 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 @@ public override string ToString() 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 3a1302bf271e..549f50903eeb 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 cd0add6cf3ce..19db7af3bb09 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 adad28355b70..307c5035bc78 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 d65c7740e5e8..4c6b57312e55 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, EquilateralTriangle equilater 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 3962bf2beee0..1ee1f107e4ba 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ public void WriteProperties(Utf8JsonWriter writer, File file, JsonSerializerOpti 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 b4307b69a3b6..927f689a3581 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 @@ public override string ToString() 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 da357d93dd28..e02997cbefd1 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 8c2e7c2aeb35..cee3f52e7825 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Foo foo, JsonSerializerOption 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 1540483527a3..ad986f43ffcb 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 @@ public override string ToString() 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 74dddf235e24..08837ffed070 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ public void WriteProperties(Utf8JsonWriter writer, FormatTest formatTest, JsonSe 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 1b74f3034c82..33771a4ef565 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 1e72875d4d32..c9711ef9205e 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 @@ public override string ToString() 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 d5f9d222bc04..ecf219c05264 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ public void WriteProperties(Utf8JsonWriter writer, GmFruit gmFruit, JsonSerializ 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 b23e4826fd6b..294ed66fccad 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 a4e67f73a8e5..dd2d22efc53b 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ public void WriteProperties(Utf8JsonWriter writer, HasOnlyReadOnly hasOnlyReadOn 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 4b7b17d3f58a..c11463b097e6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ public override void Write(Utf8JsonWriter writer, HealthCheckResult healthCheckR /// 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 cce859524111..73a93b84842c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ public void WriteProperties(Utf8JsonWriter writer, IsoscelesTriangle isoscelesTr 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 8880c4c197e5..4d1589542efe 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, List list, JsonSerializerOpti 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 4c97ce2b0066..780057834005 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, LiteralStringClass literalStr 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 267ac8769d31..401b68452acf 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 101cfb09d2ae..783c836b1e66 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 @@ public override string ToString() 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 441ea5dcb7da..6c9c1eecc950 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 defed9c5c7c8..27daa918c44d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializer 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 674358380306..1d8226dbd943 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 @@ public override string ToString() 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 4d5b99d03e4c..b6ea8b7090df 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 @@ public override string ToString() 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 2467daa6e2b3..9b4ac118ad08 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 @@ public override string ToString() 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 4cb69dae28cd..ae6c47f1fd1f 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 @@ public override string ToString() 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 808a4b66c6f2..fd6dacc5a403 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 @@ public override string ToString() 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 @@ public void WriteProperties(Utf8JsonWriter writer, MixedPropertiesAndAdditionalP 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 05c06c0129ed..381f8efb274e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, MixedSubId mixedSubId, JsonSe 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 8e865d8efae7..3a1bb5c19b23 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Model200Response model200Resp 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 60a778b3a743..af9c6d961097 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ModelClient modelClient, Json 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 db407f5e3553..8721d4865acf 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ public void WriteProperties(Utf8JsonWriter writer, Name name, JsonSerializerOpti 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 ea8abdda0d78..705b4a9724af 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ public void WriteProperties(Utf8JsonWriter writer, NotificationtestGetElementsV1 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 3b9f00ed6666..4a4426e5def6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 bcc5ab41e106..5e84a2af7fa4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ public override void Write(Utf8JsonWriter writer, NullableGuidClass nullableGuid /// 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 9a93cb734e9c..c234d27be972 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 f720208fafe0..b563ff003395 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSer /// 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 50ad5aef5a1b..bc7109de178c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ public void WriteProperties(Utf8JsonWriter writer, ObjectWithDeprecatedFields ob 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 c89963f55a36..77bb2a7369ef 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 @@ public override string ToString() 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 af0c51d416c6..ddbd1cc0935a 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -292,22 +289,17 @@ public override void Write(Utf8JsonWriter writer, Order order, JsonSerializerOpt /// 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 6566ca4aa564..cb3a96c98c6b 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 5a072449fae0..cb6ab8552e26 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ public void WriteProperties(Utf8JsonWriter writer, OuterComposite outerComposite 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 47bb6793c6ac..4282e90bd0f0 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 136fb4c54c4e..aa3d355d7927 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 2ed4f18a657e..42215ac7c69a 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 c6a470cc64d1..6203818d13c8 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 a2e789f2edef..5e02cf051415 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 83104e900d01..c2fcaae270c8 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 @@ public override string ToString() 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 6a456dd807a7..f0e2f7d1fcdd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -290,19 +287,17 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption 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 9e19b612bf97..80e8237afa9c 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 b6f300c94400..661e350a9d29 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ddea47edf40c..a87c3cadb6b8 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 @@ public override string ToString() 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 e8a2e2439975..667e7fa28222 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 519ed66393ca..2c5d5dd59f81 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, QuadrilateralInterface quadri 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 b1907fda8183..7efa2a804d01 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ public void WriteProperties(Utf8JsonWriter writer, ReadOnlyFirst readOnlyFirst, 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 b12918814c9d..4c0f2c5c9838 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -1111,15 +1108,12 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 04988ef3ee99..5a88e78a43d5 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 775aba4f6af0..aa2ab4bd8956 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 5b4f29294ac6..5d7b5f2e72b5 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 365504a241bf..413ba5f03531 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 4c5f2c56ba58..8a9e89443054 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 36bcb1481310..9e1a16e28b4e 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 9d1fbcfd0f6f..1119fbfaa730 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ public void WriteProperties(Utf8JsonWriter writer, Return varReturn, JsonSeriali 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 749507fe8e0c..430b00daaeee 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHash rolesReports 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 5b5b7899e3cf..49ee7a8df49e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHashRole rolesRep 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 5c960eb54744..0de13eec2fb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ScaleneTriangle scaleneTriang 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 c651ac7d2454..90c0ee7ddeb8 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 37db5df64908..e57f6dc449e4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeInterface shapeInterface 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 1f0b22030070..54354c9536c4 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ffa68d1e75de..487a20689f33 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, SimpleQuadrilateral simpleQua 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 08b9d580d9f1..23bfb4ea7fe4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, SpecialModelName specialModel 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 d5fb2f5610ad..5768e589766c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Tag tag, JsonSerializerOption 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 215caa45302b..9511eca7a618 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL 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 1936341f8ba6..2e90ff2e14bb 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 @@ public override string ToString() 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 ccb446b02503..b0d3189ca1e0 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 ec14b39944da..47602a4ec2a5 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 33ff2ce2cc21..3270c9d4ccaf 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 d86b48d4a9b7..2a92b6fa5b07 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 4f1c9c53c603..cc15199cd7fb 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 fbd7dddd9dce..a19728f0c178 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestInlineFreeformAdditionalP 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 cf22051519ad..b38208d0f98c 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 0f13b0e77451..ee9a25dd35ae 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, TriangleInterface triangleInt 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 0c2e096925ef..aeb4ed564989 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 a445c5ac182b..92b13210b617 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ public void WriteProperties(Utf8JsonWriter writer, Whale whale, JsonSerializerOp 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 d3fbe37b12e5..26f2987fcde5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,9 +185,8 @@ public void WriteProperties(Utf8JsonWriter writer, Zebra zebra, JsonSerializerOp 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 4a54f2a265a1..18ee3f6629bf 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 34a044fb8b13..e290a4733f04 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 7373bc5873d5..f1e355baedc3 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 @@ public override string ToString() 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 2b062a550aba..44b4495cdd20 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 44685c0c5185..258a302b1bc4 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 @@ private void AfterCall123TestSpecialTagsDefaultImplementation(ICall123TestSpecia 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 @@ private void OnErrorCall123TestSpecialTagsDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public Call123TestSpecialTagsApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -396,7 +393,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 9155e957e8d6..f65e452b1184 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 @@ private void AfterFooGetDefaultImplementation(IFooGetApiResponse apiResponseLoca 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 @@ private void OnErrorFooGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorFooGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FooGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetCountryDefaultImplementation(IGetCountryApiResponse apiResp 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 @@ private void OnErrorGetCountryDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetCountry(ref suppressDefaultLog, exception, pathFormat, path, country); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterHelloDefaultImplementation(IHelloApiResponse apiResponseLocalV 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 @@ private void OnErrorHelloDefaultImplementation(Exception exception, string pathF bool suppressDefaultLog = false; OnErrorHello(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public HelloApiResponse(ILogger logger, System.Net.Http.HttpRe 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterRolesReportGetDefaultImplementation(IRolesReportGetApiResponse 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 @@ private void OnErrorRolesReportGetDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorRolesReportGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RolesReportGetApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestDefaultImplementation(ITestApiResponse apiResponseLocalVar 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 @@ private void OnErrorTestDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorTest(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 aeabdca0e02f..61828e4d8b71 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 @@ private void AfterFakeHealthGetDefaultImplementation(IFakeHealthGetApiResponse a 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 @@ private void OnErrorFakeHealthGetDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorFakeHealthGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeHealthGetApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterBooleanSerializeDefaultImplementation(IFakeOuterBoole 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 @@ private void OnErrorFakeOuterBooleanSerializeDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterBooleanSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1699,7 +1694,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterCompositeSerializeDefaultImplementation(IFakeOuterCom 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 @@ private void OnErrorFakeOuterCompositeSerializeDefaultImplementation(Exception e bool suppressDefaultLog = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLog, exception, pathFormat, path, outerComposite); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterCompositeSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1930,7 +1923,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterNumberSerializeDefaultImplementation(IFakeOuterNumber 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 @@ private void OnErrorFakeOuterNumberSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterNumberSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2148,7 +2139,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterStringSerializeDefaultImplementation(IFakeOuterString 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 @@ private void OnErrorFakeOuterStringSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLog, exception, pathFormat, path, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterStringSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2391,7 +2380,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetArrayOfEnumsDefaultImplementation(IGetArrayOfEnumsApiRespon 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 @@ private void OnErrorGetArrayOfEnumsDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorGetArrayOfEnums(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetArrayOfEnumsApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedAnyOfDefaultImplementation(IGetMixedAnyOfApiResponse a 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 @@ private void OnErrorGetMixedAnyOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedAnyOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedAnyOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedOneOfDefaultImplementation(IGetMixedOneOfApiResponse a 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 @@ private void OnErrorGetMixedOneOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedOneOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedOneOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestAdditionalPropertiesReferenceDefaultImplementation(ITestAd 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 @@ private void OnErrorTestAdditionalPropertiesReferenceDefaultImplementation(Excep bool suppressDefaultLog = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithFileSchemaDefaultImplementation(ITestBodyWithFileS 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 @@ private void OnErrorTestBodyWithFileSchemaDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLog, exception, pathFormat, path, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithQueryParamsDefaultImplementation(ITestBodyWithQuer 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 @@ private void OnErrorTestBodyWithQueryParamsDefaultImplementation(Exception excep bool suppressDefaultLog = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLog, exception, pathFormat, path, query, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestClientModelDefaultImplementation(ITestClientModelApiRespon 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 @@ private void OnErrorTestClientModelDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorTestClientModel(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClientModelApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEndpointParametersDefaultImplementation(ITestEndpointParam 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 @@ private void OnErrorTestEndpointParametersDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestEndpointParameters(ref suppressDefaultLog, exception, pathFormat, path, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEnumParametersDefaultImplementation(ITestEnumParametersApi 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 @@ private void OnErrorTestEnumParametersDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorTestEnumParameters(ref suppressDefaultLog, exception, pathFormat, path, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestGroupParametersDefaultImplementation(ITestGroupParametersA 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 @@ private void OnErrorTestGroupParametersDefaultImplementation(Exception exception bool suppressDefaultLog = false; OnErrorTestGroupParameters(ref suppressDefaultLog, exception, pathFormat, path, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineAdditionalPropertiesDefaultImplementation(ITestInlin 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 @@ private void OnErrorTestInlineAdditionalPropertiesDefaultImplementation(Exceptio bool suppressDefaultLog = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineFreeformAdditionalPropertiesDefaultImplementation(IT 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 @@ private void OnErrorTestInlineFreeformAdditionalPropertiesDefaultImplementation( bool suppressDefaultLog = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestJsonFormDataDefaultImplementation(ITestJsonFormDataApiResp 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 @@ private void OnErrorTestJsonFormDataDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorTestJsonFormData(ref suppressDefaultLog, exception, pathFormat, path, param, param2); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestQueryParameterCollectionFormatDefaultImplementation(ITestQ 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 @@ private void OnErrorTestQueryParameterCollectionFormatDefaultImplementation(Exce bool suppressDefaultLog = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLog, exception, pathFormat, path, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestStringMapReferenceDefaultImplementation(ITestStringMapRefe 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 @@ private void OnErrorTestStringMapReferenceDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestStringMapReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 2cec6a5023d3..6428ccf50ebe 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 @@ private void AfterTestClassnameDefaultImplementation(ITestClassnameApiResponse a 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 @@ private void OnErrorTestClassnameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorTestClassname(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClassnameApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 80779f740952..3efd2f272b49 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 @@ private void AfterAddPetDefaultImplementation(IAddPetApiResponse apiResponseLoca 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 @@ private void OnErrorAddPetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorAddPet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeletePetDefaultImplementation(IDeletePetApiResponse apiRespon 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 @@ private void OnErrorDeletePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorDeletePet(ref suppressDefaultLog, exception, pathFormat, path, petId, apiKey); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByStatusDefaultImplementation(IFindPetsByStatusApiResp 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 @@ private void OnErrorFindPetsByStatusDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorFindPetsByStatus(ref suppressDefaultLog, exception, pathFormat, path, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByStatusApiResponse(ILogger logger, 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByTagsDefaultImplementation(IFindPetsByTagsApiResponse 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 @@ private void OnErrorFindPetsByTagsDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorFindPetsByTags(ref suppressDefaultLog, exception, pathFormat, path, tags); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByTagsApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetPetByIdDefaultImplementation(IGetPetByIdApiResponse apiResp 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 @@ private void OnErrorGetPetByIdDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetPetById(ref suppressDefaultLog, exception, pathFormat, path, petId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetPetByIdApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetDefaultImplementation(IUpdatePetApiResponse apiRespon 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 @@ private void OnErrorUpdatePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorUpdatePet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetWithFormDefaultImplementation(IUpdatePetWithFormApiRe 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 @@ private void OnErrorUpdatePetWithFormDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorUpdatePetWithForm(ref suppressDefaultLog, exception, pathFormat, path, petId, name, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileDefaultImplementation(IUploadFileApiResponse apiResp 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 @@ private void OnErrorUploadFileDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUploadFile(ref suppressDefaultLog, exception, pathFormat, path, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileWithRequiredFileDefaultImplementation(IUploadFileWit 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 @@ private void OnErrorUploadFileWithRequiredFileDefaultImplementation(Exception ex bool suppressDefaultLog = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLog, exception, pathFormat, path, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileWithRequiredFileApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2821,7 +2802,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 84fdc1a9ad6a..44d4672b8dee 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 @@ private void AfterDeleteOrderDefaultImplementation(IDeleteOrderApiResponse apiRe 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 @@ private void OnErrorDeleteOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteOrder(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetInventoryDefaultImplementation(IGetInventoryApiResponse 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 @@ private void OnErrorGetInventoryDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetInventory(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetInventoryApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetOrderByIdDefaultImplementation(IGetOrderByIdApiResponse 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 @@ private void OnErrorGetOrderByIdDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetOrderById(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetOrderByIdApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterPlaceOrderDefaultImplementation(IPlaceOrderApiResponse apiResp 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 @@ private void OnErrorPlaceOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorPlaceOrder(ref suppressDefaultLog, exception, pathFormat, path, order); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public PlaceOrderApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 b0f90eaec7c5..bebd4d4a8159 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 @@ private void AfterCreateUserDefaultImplementation(ICreateUserApiResponse apiResp 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 @@ private void OnErrorCreateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorCreateUser(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithArrayInputDefaultImplementation(ICreateUsersWit 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 @@ private void OnErrorCreateUsersWithArrayInputDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithListInputDefaultImplementation(ICreateUsersWith 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 @@ private void OnErrorCreateUsersWithListInputDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeleteUserDefaultImplementation(IDeleteUserApiResponse apiResp 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 @@ private void OnErrorDeleteUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteUser(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetUserByNameDefaultImplementation(IGetUserByNameApiResponse a 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 @@ private void OnErrorGetUserByNameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetUserByName(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetUserByNameApiResponse(ILogger logger, System 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 @@ public bool TryOk([NotNullWhen(true)]out Org.OpenAPITools.Model.User? result) 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLoginUserDefaultImplementation(ILoginUserApiResponse apiRespon 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 @@ private void OnErrorLoginUserDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorLoginUser(ref suppressDefaultLog, exception, pathFormat, path, password, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public LoginUserApiResponse(ILogger logger, System.Net.Htt 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLogoutUserDefaultImplementation(ILogoutUserApiResponse apiResp 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 @@ private void OnErrorLogoutUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorLogoutUser(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdateUserDefaultImplementation(IUpdateUserApiResponse apiResp 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 @@ private void OnErrorUpdateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUpdateUser(ref suppressDefaultLog, exception, pathFormat, path, user, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 76274524017f..127c144308ad 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 88b4a497394b..a7ab9cb7c1a7 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 c9dc766e4639..1a75435a485a 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 @@ public class DateOnlyJsonConverter : JsonConverter 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 5e42c9efb856..8e8456c8ba1c 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 @@ public class DateOnlyNullableJsonConverter : JsonConverter 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 de6a37a17df7..b9814227c927 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 @@ public class DateTimeJsonConverter : JsonConverter "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 02b767330d0a..fc808b18df6c 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 2d8c0b2a52f7..40dc2b32047f 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 e6fd1c26872d..d1745d11fd76 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 d5510735d390..6dfaaa50f3d3 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 b873d5323e7a..58256a5f0ad5 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 87bc3578658c..72d437304db2 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 @@ public override string ToString() 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 546931023bb4..c02043d2bb15 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -196,10 +193,9 @@ public void WriteProperties(Utf8JsonWriter writer, ActivityOutputElementRepresen 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 20b8444349b0..3f52b33ba278 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 @@ public override string ToString() 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 648b8fde8871..df0013d973ff 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -216,8 +213,8 @@ public void WriteProperties(Utf8JsonWriter writer, Animal animal, JsonSerializer 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 cd20dcc6f2a2..980a62aa5e3d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -219,14 +216,12 @@ public void WriteProperties(Utf8JsonWriter writer, ApiResponse apiResponse, Json 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 601dae95aa1a..2e2e94d290b0 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 e4d0962e9ef4..6178040e9ef4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -182,10 +179,9 @@ public void WriteProperties(Utf8JsonWriter writer, AppleReq appleReq, JsonSerial 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 9b23c0166650..286dbb88fad9 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 @@ public override string ToString() 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 cfe30e6ce660..93ff58a8ed47 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 @@ public override string ToString() 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 0899aecaee69..aa6f4eaae676 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 @@ public override string ToString() 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 308d4078b7f3..22b87caacade 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 46e11565b533..a6e36f6871a4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ public override void Write(Utf8JsonWriter writer, BananaReq bananaReq, JsonSeria /// 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 7eaeac5cde68..c8aaf1da42ca 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ public void WriteProperties(Utf8JsonWriter writer, BasquePig basquePig, JsonSeri 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 133845a991f0..71874eb258ff 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -300,23 +297,18 @@ public void WriteProperties(Utf8JsonWriter writer, Capitalization capitalization 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 f6a4492730f4..df53cc47a2db 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ public void WriteProperties(Utf8JsonWriter writer, Cat cat, JsonSerializerOption 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 96854b6b0e4f..b91b697b4ec1 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -189,10 +186,9 @@ public void WriteProperties(Utf8JsonWriter writer, Category category, JsonSerial 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 35e299d05c18..854666f0e343 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 @@ public static string PetTypeEnumToJsonValue(PetTypeEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -130,7 +128,6 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -224,10 +221,9 @@ public void WriteProperties(Utf8JsonWriter writer, ChildCat childCat, JsonSerial 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 5a199576ee29..9562fd734664 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, ClassModel classModel, JsonSe 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 018f49af861f..aedf942dc08d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,9 +184,8 @@ public void WriteProperties(Utf8JsonWriter writer, ComplexQuadrilateral complexQ 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 c0042b4d8843..f3a579f24d51 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ public void WriteProperties(Utf8JsonWriter writer, DanishPig danishPig, JsonSeri 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 e2498a38b080..32406295f1a7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -173,8 +170,8 @@ public override void Write(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, J /// 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 68e0836b632f..9dd235f2b394 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, DeprecatedObject deprecatedOb 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 f09923475b0d..b4146ccb8907 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -183,11 +181,10 @@ public void WriteProperties(Utf8JsonWriter writer, Dog dog, JsonSerializerOption 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 837b5ef56bf3..2a285c01a128 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 @@ public override string ToString() 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 83efec82813d..9fdd13a7569f 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 @@ public static string ArrayEnumEnumToJsonValue(ArrayEnumEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -177,7 +175,6 @@ public static string JustSymbolEnumToJsonValue(JustSymbolEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -233,9 +230,7 @@ public override string ToString() 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 03b2780c4842..a5a3b22d3f53 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 204a7a95d7e3..a9c0ef003dd0 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 @@ public static string EnumStringRequiredEnumToJsonValue(EnumStringRequiredEnum va throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -274,7 +272,6 @@ public static int EnumIntegerEnumToJsonValue(EnumIntegerEnum value) { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -346,7 +343,6 @@ public static int EnumIntegerOnlyEnumToJsonValue(EnumIntegerOnlyEnum value) { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -425,7 +421,6 @@ public static double EnumNumberEnumToJsonValue(EnumNumberEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -588,7 +583,6 @@ public static string EnumStringEnumToJsonValue(EnumStringEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -690,9 +684,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -844,16 +836,13 @@ public void WriteProperties(Utf8JsonWriter writer, EnumTest enumTest, JsonSerial { 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 12983d68a09f..d01c974d213d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,9 +184,8 @@ public void WriteProperties(Utf8JsonWriter writer, EquilateralTriangle equilater 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 dab2e4e27b36..951503a8620c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,8 +167,8 @@ public void WriteProperties(Utf8JsonWriter writer, File file, JsonSerializerOpti 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 7b9bfd4fbeb6..081a0748e024 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 @@ public override string ToString() 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 b8128f4c3e45..e34e90ed330e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, Foo foo, JsonSerializerOption 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 3c5e2512bb04..a0c4d1c34e17 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 @@ public override string ToString() 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 5ba09166f394..996ff43c7776 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -897,75 +894,55 @@ public void WriteProperties(Utf8JsonWriter writer, FormatTest formatTest, JsonSe 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 eb12679ed27d..004df63f0d8b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -213,8 +210,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 357be4388447..ea98c48240cf 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 @@ public override string ToString() 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 9be524db707f..9077987f83a4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -230,8 +227,8 @@ public void WriteProperties(Utf8JsonWriter writer, GmFruit gmFruit, JsonSerializ 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 4cefd4ca6216..3d854e63d2ef 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 50826dd0da5d..f48f69c07a90 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -236,11 +233,10 @@ public void WriteProperties(Utf8JsonWriter writer, HasOnlyReadOnly hasOnlyReadOn 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 2a3a8e527f6e..9c3534a5377f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ public override void Write(Utf8JsonWriter writer, HealthCheckResult healthCheckR /// 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 8aca45893e65..a2d19fa2d897 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,9 +177,8 @@ public void WriteProperties(Utf8JsonWriter writer, IsoscelesTriangle isoscelesTr 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 ddf0d615fd3c..accfef1943c2 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, List list, JsonSerializerOpti 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 5993dd82adc8..b984e11ed7d0 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -195,11 +192,10 @@ public void WriteProperties(Utf8JsonWriter writer, LiteralStringClass literalStr 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 132f1e462ce0..a1bbf9620b47 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 bba52b3ffbce..4bc7ee4dea3f 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 @@ public static string InnerEnumToJsonValue(InnerEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -199,9 +197,7 @@ public override string ToString() 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 564d9aa1a810..d2c976ebbb3b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -928,102 +925,71 @@ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializer 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 ac4b562eb3e7..92f7b33be288 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 @@ public override string ToString() 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 05de563f77d7..87e39d7ad56a 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 @@ public override string ToString() 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 7a8da4dbed10..6e6757ce3b15 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 @@ public override string ToString() 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 15e011ce0918..519382bf9f6d 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 @@ public override string ToString() 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 17ee15eb2f4d..e600c7a9bcc6 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 @@ public override string ToString() 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 @@ public void WriteProperties(Utf8JsonWriter writer, MixedPropertiesAndAdditionalP 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 6b56e6017b15..6d0b18c90338 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, MixedSubId mixedSubId, JsonSe 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 bb28841a9e57..cccafa024ea3 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, Model200Response model200Resp 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 7a982b8104d3..48ea0f25cd8f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, ModelClient modelClient, Json 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 fb877759c605..928dd7b77fee 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -278,16 +275,13 @@ public void WriteProperties(Utf8JsonWriter writer, Name name, JsonSerializerOpti 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 f7e59fb345ac..fcc6bc853268 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,7 +185,7 @@ public void WriteProperties(Utf8JsonWriter writer, NotificationtestGetElementsV1 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 91695a8649d6..914db82f9cf5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -437,37 +434,32 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 7610c400aee9..f94892ee64a6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,11 +162,11 @@ public override void Write(Utf8JsonWriter writer, NullableGuidClass nullableGuid /// 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 a06afa2a9be6..730643e6e235 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 b52b1cc177f1..1f2f3a50af4c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public override void Write(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSer /// 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 ec6905ea3a72..35bcafc65e25 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -260,11 +257,10 @@ public void WriteProperties(Utf8JsonWriter writer, ObjectWithDeprecatedFields ob 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 5471f08f5194..a8389c2d29b1 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 @@ public override string ToString() 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 78b28a2d6ffd..961f506ba411 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -248,9 +246,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -376,22 +372,17 @@ public override void Write(Utf8JsonWriter writer, Order order, JsonSerializerOpt /// 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 01d4f3844ebf..7d4c836eb162 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ public void WriteProperties(Utf8JsonWriter writer, OuterComposite outerComposite 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 96af6f3670d8..70e965db4016 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 a50d5c056ecc..6c639c333247 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 41ecebcf8f5b..6ace62fef3ad 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 902dbb066392..e59c0d43cbe6 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 03a8ccdecacd..230f170cec6d 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 a4b1ab4347d6..b086ba9616e7 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 @@ public override string ToString() 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 e6022873b2b6..42e3fc5ed052 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -234,9 +232,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,19 +370,17 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption 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 2cd41f15027a..62428dfb08ed 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 3c1b978da7f0..6e2bd6b3935b 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 @@ public override string ToString() 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 5c7aa541ffc5..e41282ccade6 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 c535142bde64..3569c9dc814a 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ public void WriteProperties(Utf8JsonWriter writer, QuadrilateralInterface quadri 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 a48fcb21dbef..1ec8d6abab7e 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -233,11 +230,10 @@ public void WriteProperties(Utf8JsonWriter writer, ReadOnlyFirst readOnlyFirst, 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 e69505396193..194ea245df6b 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 @@ public static int RequiredNotnullableEnumIntegerEnumToJsonValue(RequiredNotnulla { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -253,7 +251,6 @@ public static int RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(RequiredNotn { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -409,7 +406,6 @@ public static string RequiredNotnullableEnumStringEnumToJsonValue(RequiredNotnul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -480,7 +476,6 @@ public static int NotrequiredNotnullableEnumIntegerEnumToJsonValue(NotrequiredNo { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -552,7 +547,6 @@ public static int NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(Notrequir { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -715,7 +709,6 @@ public static string NotrequiredNotnullableEnumStringEnumToJsonValue(Notrequired throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -800,7 +793,6 @@ public static int NotrequiredNullableEnumIntegerEnumToJsonValue(NotrequiredNulla { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -872,7 +864,6 @@ public static int NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(NotrequiredN { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1038,7 +1029,6 @@ public static NotrequiredNullableEnumStringEnum NotrequiredNullableEnumStringEnu throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1123,7 +1113,6 @@ public static int RequiredNullableEnumIntegerEnumToJsonValue(RequiredNullableEnu { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1188,7 +1177,6 @@ public static int RequiredNullableEnumIntegerOnlyEnumToJsonValue(RequiredNullabl { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1347,7 +1335,6 @@ public static RequiredNullableEnumStringEnum RequiredNullableEnumStringEnumFromS throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1701,9 +1688,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2183,78 +2168,60 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 0d9fe3516e6f..02413c162c8d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,18 +228,15 @@ public void WriteProperties(Utf8JsonWriter writer, Return varReturn, JsonSeriali 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 d520cfcc9a96..5b4a3cd639af 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -199,8 +196,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHash rolesReports 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 684ca8e8b515..53c55c945882 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHashRole rolesRep 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 926b431dda32..2a815ad0b6b7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,9 +184,8 @@ public void WriteProperties(Utf8JsonWriter writer, ScaleneTriangle scaleneTriang 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 c608b7288d95..f7f47746aaf8 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 15777abac01d..a40d786f1df6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeInterface shapeInterface 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 3fc9f2735096..e8108e9b4fb3 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 bab36d28f5ef..938a2096272b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,9 +184,8 @@ public void WriteProperties(Utf8JsonWriter writer, SimpleQuadrilateral simpleQua 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 d66e2a9e7328..88c177a3799f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, SpecialModelName specialModel 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 92de05e2d752..f68c97a1de08 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, Tag tag, JsonSerializerOption 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 f1a1940574ee..cc0ea8148809 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL 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 ed3d3f74081b..d5b44c91245c 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 @@ public override string ToString() 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 102413449b18..fc324825b4a8 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestInlineFreeformAdditionalP 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 f34f2cf60139..130ef89ce06b 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 6ccbe196f3d4..4405b633fc78 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,7 +162,7 @@ public void WriteProperties(Utf8JsonWriter writer, TriangleInterface triangleInt 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 7b55e2baf5bc..536db09b6f8a 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -458,19 +455,15 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 a655c0d30e99..860f9a886821 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -213,13 +210,11 @@ public void WriteProperties(Utf8JsonWriter writer, Whale whale, JsonSerializerOp 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 4ca12a36d096..0700277e77c6 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 @@ public static string TypeEnumToJsonValue(TypeEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -174,9 +172,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -270,9 +266,8 @@ public void WriteProperties(Utf8JsonWriter writer, Zebra zebra, JsonSerializerOp 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 1db14d35a9e5..74ec34b79208 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 dfb395124397..651bbfb21ca4 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 @@ public static string ZeroBasedEnumEnumToJsonValue(ZeroBasedEnumEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -151,9 +149,7 @@ public override string ToString() 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 2337327fdc77..cd04a05d288a 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 @@ private void AfterRootGetDefaultImplementation(IRootGetApiResponse apiResponseLo 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 @@ private void OnErrorRootGetDefaultImplementation(Exception exception, string pat bool suppressDefaultLog = false; OnErrorRootGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RootGetApiResponse(ILogger logger, System.Net.Http.Ht 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 6ca1d86d4a35..4a1897951fa3 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 2675478b8b4f..eba42d9fae90 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 5009ae5304f7..deb94fa62fd9 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 @@ public class DateOnlyJsonConverter : JsonConverter 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 02dda463ab26..77d24176265b 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 @@ public class DateOnlyNullableJsonConverter : JsonConverter 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 4be8e3a725e0..049f791ce622 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 @@ public class DateTimeJsonConverter : JsonConverter "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 06d46536f037..e9cf0b8d003b 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 6f4db75a4454..e1feaf22dc4a 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 b10d5ac58f56..8628cb568d31 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 db3ce767d4af..3de98d60d634 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 dd3528fa42a4..03ee3d05aa72 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -169,8 +166,8 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 66a33723aebc..7caa64b812ed 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 d58b2b4db1dd..70af3c1066c8 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -220,8 +217,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 346fbdf85655..c023f5f9b662 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 @@ private void AfterCall123TestSpecialTagsDefaultImplementation(ICall123TestSpecia 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 @@ private void OnErrorCall123TestSpecialTagsDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public Call123TestSpecialTagsApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -394,7 +391,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 c996a3fc0fad..5bf8a2d2f494 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 @@ private void AfterFooGetDefaultImplementation(IFooGetApiResponse apiResponseLoca 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 @@ private void OnErrorFooGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorFooGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FooGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetCountryDefaultImplementation(IGetCountryApiResponse apiResp 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 @@ private void OnErrorGetCountryDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetCountry(ref suppressDefaultLog, exception, pathFormat, path, country); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterHelloDefaultImplementation(IHelloApiResponse apiResponseLocalV 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 @@ private void OnErrorHelloDefaultImplementation(Exception exception, string pathF bool suppressDefaultLog = false; OnErrorHello(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public HelloApiResponse(ILogger logger, System.Net.Http.HttpRe 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterRolesReportGetDefaultImplementation(IRolesReportGetApiResponse 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 @@ private void OnErrorRolesReportGetDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorRolesReportGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RolesReportGetApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestDefaultImplementation(ITestApiResponse apiResponseLocalVar 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 @@ private void OnErrorTestDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorTest(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 cebaacd2acfc..756fbe29b09e 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 @@ private void AfterFakeHealthGetDefaultImplementation(IFakeHealthGetApiResponse a 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 @@ private void OnErrorFakeHealthGetDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorFakeHealthGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeHealthGetApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterBooleanSerializeDefaultImplementation(IFakeOuterBoole 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 @@ private void OnErrorFakeOuterBooleanSerializeDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterBooleanSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1697,7 +1692,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterCompositeSerializeDefaultImplementation(IFakeOuterCom 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 @@ private void OnErrorFakeOuterCompositeSerializeDefaultImplementation(Exception e bool suppressDefaultLog = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLog, exception, pathFormat, path, outerComposite); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterCompositeSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1928,7 +1921,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterNumberSerializeDefaultImplementation(IFakeOuterNumber 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 @@ private void OnErrorFakeOuterNumberSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterNumberSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2146,7 +2137,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterStringSerializeDefaultImplementation(IFakeOuterString 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 @@ private void OnErrorFakeOuterStringSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLog, exception, pathFormat, path, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterStringSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2389,7 +2378,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetArrayOfEnumsDefaultImplementation(IGetArrayOfEnumsApiRespon 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 @@ private void OnErrorGetArrayOfEnumsDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorGetArrayOfEnums(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetArrayOfEnumsApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedAnyOfDefaultImplementation(IGetMixedAnyOfApiResponse a 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 @@ private void OnErrorGetMixedAnyOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedAnyOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedAnyOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedOneOfDefaultImplementation(IGetMixedOneOfApiResponse a 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 @@ private void OnErrorGetMixedOneOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedOneOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedOneOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestAdditionalPropertiesReferenceDefaultImplementation(ITestAd 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 @@ private void OnErrorTestAdditionalPropertiesReferenceDefaultImplementation(Excep bool suppressDefaultLog = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithFileSchemaDefaultImplementation(ITestBodyWithFileS 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 @@ private void OnErrorTestBodyWithFileSchemaDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLog, exception, pathFormat, path, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithQueryParamsDefaultImplementation(ITestBodyWithQuer 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 @@ private void OnErrorTestBodyWithQueryParamsDefaultImplementation(Exception excep bool suppressDefaultLog = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLog, exception, pathFormat, path, query, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestClientModelDefaultImplementation(ITestClientModelApiRespon 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 @@ private void OnErrorTestClientModelDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorTestClientModel(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClientModelApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEndpointParametersDefaultImplementation(ITestEndpointParam 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 @@ private void OnErrorTestEndpointParametersDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestEndpointParameters(ref suppressDefaultLog, exception, pathFormat, path, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEnumParametersDefaultImplementation(ITestEnumParametersApi 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 @@ private void OnErrorTestEnumParametersDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorTestEnumParameters(ref suppressDefaultLog, exception, pathFormat, path, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestGroupParametersDefaultImplementation(ITestGroupParametersA 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 @@ private void OnErrorTestGroupParametersDefaultImplementation(Exception exception bool suppressDefaultLog = false; OnErrorTestGroupParameters(ref suppressDefaultLog, exception, pathFormat, path, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineAdditionalPropertiesDefaultImplementation(ITestInlin 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 @@ private void OnErrorTestInlineAdditionalPropertiesDefaultImplementation(Exceptio bool suppressDefaultLog = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineFreeformAdditionalPropertiesDefaultImplementation(IT 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 @@ private void OnErrorTestInlineFreeformAdditionalPropertiesDefaultImplementation( bool suppressDefaultLog = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestJsonFormDataDefaultImplementation(ITestJsonFormDataApiResp 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 @@ private void OnErrorTestJsonFormDataDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorTestJsonFormData(ref suppressDefaultLog, exception, pathFormat, path, param, param2); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestQueryParameterCollectionFormatDefaultImplementation(ITestQ 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 @@ private void OnErrorTestQueryParameterCollectionFormatDefaultImplementation(Exce bool suppressDefaultLog = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLog, exception, pathFormat, path, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestStringMapReferenceDefaultImplementation(ITestStringMapRefe 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 @@ private void OnErrorTestStringMapReferenceDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestStringMapReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 7ef4632bb3b3..3ca95371a32c 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 @@ private void AfterTestClassnameDefaultImplementation(ITestClassnameApiResponse a 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 @@ private void OnErrorTestClassnameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorTestClassname(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClassnameApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 e1b028a2079c..1b5b36ff335c 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 @@ private void AfterAddPetDefaultImplementation(IAddPetApiResponse apiResponseLoca 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 @@ private void OnErrorAddPetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorAddPet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeletePetDefaultImplementation(IDeletePetApiResponse apiRespon 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 @@ private void OnErrorDeletePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorDeletePet(ref suppressDefaultLog, exception, pathFormat, path, petId, apiKey); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByStatusDefaultImplementation(IFindPetsByStatusApiResp 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 @@ private void OnErrorFindPetsByStatusDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorFindPetsByStatus(ref suppressDefaultLog, exception, pathFormat, path, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByStatusApiResponse(ILogger logger, 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByTagsDefaultImplementation(IFindPetsByTagsApiResponse 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 @@ private void OnErrorFindPetsByTagsDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorFindPetsByTags(ref suppressDefaultLog, exception, pathFormat, path, tags); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByTagsApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetPetByIdDefaultImplementation(IGetPetByIdApiResponse apiResp 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 @@ private void OnErrorGetPetByIdDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetPetById(ref suppressDefaultLog, exception, pathFormat, path, petId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetPetByIdApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetDefaultImplementation(IUpdatePetApiResponse apiRespon 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 @@ private void OnErrorUpdatePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorUpdatePet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetWithFormDefaultImplementation(IUpdatePetWithFormApiRe 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 @@ private void OnErrorUpdatePetWithFormDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorUpdatePetWithForm(ref suppressDefaultLog, exception, pathFormat, path, petId, name, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileDefaultImplementation(IUploadFileApiResponse apiResp 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 @@ private void OnErrorUploadFileDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUploadFile(ref suppressDefaultLog, exception, pathFormat, path, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileWithRequiredFileDefaultImplementation(IUploadFileWit 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 @@ private void OnErrorUploadFileWithRequiredFileDefaultImplementation(Exception ex bool suppressDefaultLog = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLog, exception, pathFormat, path, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileWithRequiredFileApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2819,7 +2800,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 7d6c118e4dbb..cb23fa065419 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 @@ private void AfterDeleteOrderDefaultImplementation(IDeleteOrderApiResponse apiRe 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 @@ private void OnErrorDeleteOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteOrder(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetInventoryDefaultImplementation(IGetInventoryApiResponse 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 @@ private void OnErrorGetInventoryDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetInventory(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetInventoryApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetOrderByIdDefaultImplementation(IGetOrderByIdApiResponse 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 @@ private void OnErrorGetOrderByIdDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetOrderById(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetOrderByIdApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterPlaceOrderDefaultImplementation(IPlaceOrderApiResponse apiResp 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 @@ private void OnErrorPlaceOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorPlaceOrder(ref suppressDefaultLog, exception, pathFormat, path, order); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public PlaceOrderApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 b84ef2f23b58..ee4e1900d60d 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 @@ private void AfterCreateUserDefaultImplementation(ICreateUserApiResponse apiResp 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 @@ private void OnErrorCreateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorCreateUser(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithArrayInputDefaultImplementation(ICreateUsersWit 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 @@ private void OnErrorCreateUsersWithArrayInputDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithListInputDefaultImplementation(ICreateUsersWith 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 @@ private void OnErrorCreateUsersWithListInputDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeleteUserDefaultImplementation(IDeleteUserApiResponse apiResp 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 @@ private void OnErrorDeleteUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteUser(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetUserByNameDefaultImplementation(IGetUserByNameApiResponse a 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 @@ private void OnErrorGetUserByNameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetUserByName(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetUserByNameApiResponse(ILogger logger, System 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 @@ public bool TryOk([NotNullWhen(true)]out Org.OpenAPITools.Model.User result) 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLoginUserDefaultImplementation(ILoginUserApiResponse apiRespon 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 @@ private void OnErrorLoginUserDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorLoginUser(ref suppressDefaultLog, exception, pathFormat, path, password, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public LoginUserApiResponse(ILogger logger, System.Net.Htt 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLogoutUserDefaultImplementation(ILogoutUserApiResponse apiResp 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 @@ private void OnErrorLogoutUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorLogoutUser(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdateUserDefaultImplementation(IUpdateUserApiResponse apiResp 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 @@ private void OnErrorUpdateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUpdateUser(ref suppressDefaultLog, exception, pathFormat, path, user, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 fdd11dd19c9a..0f220825a1f2 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 794b3601c853..1508675e41db 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 11b100056516..c61f8d5dedde 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 @@ public class DateOnlyJsonConverter : JsonConverter 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 92ef8f6c92bf..80cde8635d94 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 @@ public class DateOnlyNullableJsonConverter : JsonConverter 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 623f3c18353c..377941f9d864 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 @@ public class DateTimeJsonConverter : JsonConverter "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 43730a86b868..c1c4ebac9ff1 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 012e633f989c..f629b4e85643 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 8cf79a713b74..0d3b4a720e90 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 eb894eec8416..7895afa24ef1 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 36d7dad03e23..996fb07a1fa5 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 f9d2680b0ad5..4a1a8d59f28e 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 @@ public override string ToString() 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 f5bcaf712030..3c4df990ffcd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ public void WriteProperties(Utf8JsonWriter writer, ActivityOutputElementRepresen 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 8d4153d53022..3af354e696f7 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 @@ public override string ToString() 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 d0b07da62cc8..0c6a356ae8b5 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ public void WriteProperties(Utf8JsonWriter writer, Animal animal, JsonSerializer 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 3b185247e442..01fd9f5dd847 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ public void WriteProperties(Utf8JsonWriter writer, ApiResponse apiResponse, Json 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 26fbe0516849..00b4a21fa06a 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 942640761b26..d5e361f9582e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ public void WriteProperties(Utf8JsonWriter writer, AppleReq appleReq, JsonSerial 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 debcff217b93..72d121d8c76f 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 @@ public override string ToString() 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 ded293438a45..8b3ac888c67c 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 @@ public override string ToString() 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 ee7b94f08bd3..1e9afa3065f8 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 @@ public override string ToString() 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 476a1c25352b..776e9d0234b8 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 a3a0a15428b4..44b747359a6b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ public override void Write(Utf8JsonWriter writer, BananaReq bananaReq, JsonSeria /// 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 9938d89e008d..4848a599f7cd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, BasquePig basquePig, JsonSeri 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 8308df3a0912..8d39e16c9b2f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ public void WriteProperties(Utf8JsonWriter writer, Capitalization capitalization 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 6a1dfe1d90b6..57af710a4ba5 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ public void WriteProperties(Utf8JsonWriter writer, Cat cat, JsonSerializerOption 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 9bd387646078..4ec9fec90697 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ public void WriteProperties(Utf8JsonWriter writer, Category category, JsonSerial 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 87a49cbe08f0..fb4ae3a1fd03 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 @@ public static string PetTypeEnumToJsonValue(PetTypeEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -128,7 +126,6 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -222,10 +219,9 @@ public void WriteProperties(Utf8JsonWriter writer, ChildCat childCat, JsonSerial 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 9730e5b1185e..9fa23ffeedf6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ClassModel classModel, JsonSe 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 3023a45610e4..34179cf3eeb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ComplexQuadrilateral complexQ 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 14b2ed3b153f..b689eff90ae4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, DanishPig danishPig, JsonSeri 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 df8c6f1b018a..b57783a42f32 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ public override void Write(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, J /// 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 65695f863abb..30aa92910e58 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, DeprecatedObject deprecatedOb 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 2ab1ca19d2d0..af2b116fb360 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ public void WriteProperties(Utf8JsonWriter writer, Dog dog, JsonSerializerOption 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 72e59c9baf44..da48ce140939 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 @@ public override string ToString() 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 4eb9365b1f54..b22d9be32f62 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 @@ public static string ArrayEnumEnumToJsonValue(ArrayEnumEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -175,7 +173,6 @@ public static string JustSymbolEnumToJsonValue(JustSymbolEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -231,9 +228,7 @@ public override string ToString() 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 b1aff0adf0d8..9e4dceb77312 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 f7a3a20b1b10..a9f0ea901b94 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 @@ public static string EnumStringRequiredEnumToJsonValue(EnumStringRequiredEnum va throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -272,7 +270,6 @@ public static int EnumIntegerEnumToJsonValue(EnumIntegerEnum value) { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -344,7 +341,6 @@ public static int EnumIntegerOnlyEnumToJsonValue(EnumIntegerOnlyEnum value) { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -423,7 +419,6 @@ public static double EnumNumberEnumToJsonValue(EnumNumberEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -586,7 +581,6 @@ public static string EnumStringEnumToJsonValue(EnumStringEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -688,9 +682,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -842,16 +834,13 @@ public void WriteProperties(Utf8JsonWriter writer, EnumTest enumTest, JsonSerial { 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 d65c7740e5e8..4c6b57312e55 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, EquilateralTriangle equilater 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 3962bf2beee0..1ee1f107e4ba 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ public void WriteProperties(Utf8JsonWriter writer, File file, JsonSerializerOpti 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 b4307b69a3b6..927f689a3581 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 @@ public override string ToString() 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 8c2e7c2aeb35..cee3f52e7825 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Foo foo, JsonSerializerOption 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 1540483527a3..ad986f43ffcb 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 @@ public override string ToString() 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 74dddf235e24..08837ffed070 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ public void WriteProperties(Utf8JsonWriter writer, FormatTest formatTest, JsonSe 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 1b74f3034c82..33771a4ef565 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 1e72875d4d32..c9711ef9205e 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 @@ public override string ToString() 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 d5f9d222bc04..ecf219c05264 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ public void WriteProperties(Utf8JsonWriter writer, GmFruit gmFruit, JsonSerializ 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 b23e4826fd6b..294ed66fccad 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 a4e67f73a8e5..dd2d22efc53b 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ public void WriteProperties(Utf8JsonWriter writer, HasOnlyReadOnly hasOnlyReadOn 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 4b7b17d3f58a..c11463b097e6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ public override void Write(Utf8JsonWriter writer, HealthCheckResult healthCheckR /// 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 cce859524111..73a93b84842c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ public void WriteProperties(Utf8JsonWriter writer, IsoscelesTriangle isoscelesTr 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 8880c4c197e5..4d1589542efe 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, List list, JsonSerializerOpti 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 4c97ce2b0066..780057834005 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, LiteralStringClass literalStr 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 267ac8769d31..401b68452acf 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 938d01fec443..aa80bb24e8a3 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 @@ public static string InnerEnumToJsonValue(InnerEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -197,9 +195,7 @@ public override string ToString() 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 defed9c5c7c8..27daa918c44d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializer 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 674358380306..1d8226dbd943 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 @@ public override string ToString() 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 4d5b99d03e4c..b6ea8b7090df 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 @@ public override string ToString() 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 2467daa6e2b3..9b4ac118ad08 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 @@ public override string ToString() 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 4cb69dae28cd..ae6c47f1fd1f 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 @@ public override string ToString() 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 808a4b66c6f2..fd6dacc5a403 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 @@ public override string ToString() 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 @@ public void WriteProperties(Utf8JsonWriter writer, MixedPropertiesAndAdditionalP 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 05c06c0129ed..381f8efb274e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, MixedSubId mixedSubId, JsonSe 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 8e865d8efae7..3a1bb5c19b23 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Model200Response model200Resp 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 60a778b3a743..af9c6d961097 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ModelClient modelClient, Json 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 db407f5e3553..8721d4865acf 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ public void WriteProperties(Utf8JsonWriter writer, Name name, JsonSerializerOpti 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 ea8abdda0d78..705b4a9724af 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ public void WriteProperties(Utf8JsonWriter writer, NotificationtestGetElementsV1 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 3b9f00ed6666..4a4426e5def6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 bcc5ab41e106..5e84a2af7fa4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ public override void Write(Utf8JsonWriter writer, NullableGuidClass nullableGuid /// 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 9a93cb734e9c..c234d27be972 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 f720208fafe0..b563ff003395 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSer /// 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 50ad5aef5a1b..bc7109de178c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ public void WriteProperties(Utf8JsonWriter writer, ObjectWithDeprecatedFields ob 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 c89963f55a36..77bb2a7369ef 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 @@ public override string ToString() 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 afc422bbb63f..95fa832dc826 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -246,9 +244,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,22 +370,17 @@ public override void Write(Utf8JsonWriter writer, Order order, JsonSerializerOpt /// 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 5a072449fae0..cb6ab8552e26 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ public void WriteProperties(Utf8JsonWriter writer, OuterComposite outerComposite 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 47bb6793c6ac..4282e90bd0f0 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 136fb4c54c4e..aa3d355d7927 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 2ed4f18a657e..42215ac7c69a 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 c6a470cc64d1..6203818d13c8 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 a2e789f2edef..5e02cf051415 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 83104e900d01..c2fcaae270c8 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 @@ public override string ToString() 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 140231e17661..b873d94190e1 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -232,9 +230,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -372,19 +368,17 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption 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 b6f300c94400..661e350a9d29 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ddea47edf40c..a87c3cadb6b8 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 @@ public override string ToString() 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 e8a2e2439975..667e7fa28222 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 519ed66393ca..2c5d5dd59f81 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, QuadrilateralInterface quadri 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 b1907fda8183..7efa2a804d01 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ public void WriteProperties(Utf8JsonWriter writer, ReadOnlyFirst readOnlyFirst, 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 763d3cc04e25..094001568a68 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 @@ public static int RequiredNotnullableEnumIntegerEnumToJsonValue(RequiredNotnulla { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -251,7 +249,6 @@ public static int RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(RequiredNotn { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -407,7 +404,6 @@ public static string RequiredNotnullableEnumStringEnumToJsonValue(RequiredNotnul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -478,7 +474,6 @@ public static int NotrequiredNotnullableEnumIntegerEnumToJsonValue(NotrequiredNo { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -550,7 +545,6 @@ public static int NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(Notrequir { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -713,7 +707,6 @@ public static string NotrequiredNotnullableEnumStringEnumToJsonValue(Notrequired throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -798,7 +791,6 @@ public static int NotrequiredNullableEnumIntegerEnumToJsonValue(NotrequiredNulla { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -870,7 +862,6 @@ public static int NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(NotrequiredN { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1036,7 +1027,6 @@ public static string NotrequiredNullableEnumStringEnumToJsonValue(NotrequiredNul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1121,7 +1111,6 @@ public static int RequiredNullableEnumIntegerEnumToJsonValue(RequiredNullableEnu { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1186,7 +1175,6 @@ public static int RequiredNullableEnumIntegerOnlyEnumToJsonValue(RequiredNullabl { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1345,7 +1333,6 @@ public static string RequiredNullableEnumStringEnumToJsonValue(RequiredNullableE throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1699,9 +1686,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2181,78 +2166,60 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 9d1fbcfd0f6f..1119fbfaa730 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ public void WriteProperties(Utf8JsonWriter writer, Return varReturn, JsonSeriali 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 749507fe8e0c..430b00daaeee 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHash rolesReports 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 5b5b7899e3cf..49ee7a8df49e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHashRole rolesRep 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 5c960eb54744..0de13eec2fb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ScaleneTriangle scaleneTriang 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 c651ac7d2454..90c0ee7ddeb8 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 37db5df64908..e57f6dc449e4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeInterface shapeInterface 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 1f0b22030070..54354c9536c4 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ffa68d1e75de..487a20689f33 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, SimpleQuadrilateral simpleQua 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 08b9d580d9f1..23bfb4ea7fe4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, SpecialModelName specialModel 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 d5fb2f5610ad..5768e589766c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Tag tag, JsonSerializerOption 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 215caa45302b..9511eca7a618 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL 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 1936341f8ba6..2e90ff2e14bb 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 @@ public override string ToString() 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 fbd7dddd9dce..a19728f0c178 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestInlineFreeformAdditionalP 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 cf22051519ad..b38208d0f98c 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 0f13b0e77451..ee9a25dd35ae 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, TriangleInterface triangleInt 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 0c2e096925ef..aeb4ed564989 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 a445c5ac182b..92b13210b617 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ public void WriteProperties(Utf8JsonWriter writer, Whale whale, JsonSerializerOp 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 0efe7f985a3a..accb0a1ce96c 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 @@ public static string TypeEnumToJsonValue(TypeEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -172,9 +170,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,9 +264,8 @@ public void WriteProperties(Utf8JsonWriter writer, Zebra zebra, JsonSerializerOp 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 34a044fb8b13..e290a4733f04 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 9722305fcb2a..3729ccd33694 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 @@ public static string ZeroBasedEnumEnumToJsonValue(ZeroBasedEnumEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -149,9 +147,7 @@ public override string ToString() 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 44685c0c5185..258a302b1bc4 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 @@ private void AfterCall123TestSpecialTagsDefaultImplementation(ICall123TestSpecia 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 @@ private void OnErrorCall123TestSpecialTagsDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public Call123TestSpecialTagsApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -396,7 +393,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 9155e957e8d6..f65e452b1184 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 @@ private void AfterFooGetDefaultImplementation(IFooGetApiResponse apiResponseLoca 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 @@ private void OnErrorFooGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorFooGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FooGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetCountryDefaultImplementation(IGetCountryApiResponse apiResp 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 @@ private void OnErrorGetCountryDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetCountry(ref suppressDefaultLog, exception, pathFormat, path, country); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterHelloDefaultImplementation(IHelloApiResponse apiResponseLocalV 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 @@ private void OnErrorHelloDefaultImplementation(Exception exception, string pathF bool suppressDefaultLog = false; OnErrorHello(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public HelloApiResponse(ILogger logger, System.Net.Http.HttpRe 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterRolesReportGetDefaultImplementation(IRolesReportGetApiResponse 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 @@ private void OnErrorRolesReportGetDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorRolesReportGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RolesReportGetApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestDefaultImplementation(ITestApiResponse apiResponseLocalVar 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 @@ private void OnErrorTestDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorTest(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 aeabdca0e02f..61828e4d8b71 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 @@ private void AfterFakeHealthGetDefaultImplementation(IFakeHealthGetApiResponse a 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 @@ private void OnErrorFakeHealthGetDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorFakeHealthGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeHealthGetApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterBooleanSerializeDefaultImplementation(IFakeOuterBoole 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 @@ private void OnErrorFakeOuterBooleanSerializeDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterBooleanSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1699,7 +1694,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterCompositeSerializeDefaultImplementation(IFakeOuterCom 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 @@ private void OnErrorFakeOuterCompositeSerializeDefaultImplementation(Exception e bool suppressDefaultLog = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLog, exception, pathFormat, path, outerComposite); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterCompositeSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -1930,7 +1923,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterNumberSerializeDefaultImplementation(IFakeOuterNumber 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 @@ private void OnErrorFakeOuterNumberSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterNumberSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2148,7 +2139,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterStringSerializeDefaultImplementation(IFakeOuterString 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 @@ private void OnErrorFakeOuterStringSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLog, exception, pathFormat, path, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterStringSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2391,7 +2380,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetArrayOfEnumsDefaultImplementation(IGetArrayOfEnumsApiRespon 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 @@ private void OnErrorGetArrayOfEnumsDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorGetArrayOfEnums(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetArrayOfEnumsApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedAnyOfDefaultImplementation(IGetMixedAnyOfApiResponse a 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 @@ private void OnErrorGetMixedAnyOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedAnyOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedAnyOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedOneOfDefaultImplementation(IGetMixedOneOfApiResponse a 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 @@ private void OnErrorGetMixedOneOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedOneOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedOneOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestAdditionalPropertiesReferenceDefaultImplementation(ITestAd 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 @@ private void OnErrorTestAdditionalPropertiesReferenceDefaultImplementation(Excep bool suppressDefaultLog = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithFileSchemaDefaultImplementation(ITestBodyWithFileS 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 @@ private void OnErrorTestBodyWithFileSchemaDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLog, exception, pathFormat, path, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithQueryParamsDefaultImplementation(ITestBodyWithQuer 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 @@ private void OnErrorTestBodyWithQueryParamsDefaultImplementation(Exception excep bool suppressDefaultLog = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLog, exception, pathFormat, path, query, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestClientModelDefaultImplementation(ITestClientModelApiRespon 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 @@ private void OnErrorTestClientModelDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorTestClientModel(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClientModelApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEndpointParametersDefaultImplementation(ITestEndpointParam 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 @@ private void OnErrorTestEndpointParametersDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestEndpointParameters(ref suppressDefaultLog, exception, pathFormat, path, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEnumParametersDefaultImplementation(ITestEnumParametersApi 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 @@ private void OnErrorTestEnumParametersDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorTestEnumParameters(ref suppressDefaultLog, exception, pathFormat, path, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestGroupParametersDefaultImplementation(ITestGroupParametersA 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 @@ private void OnErrorTestGroupParametersDefaultImplementation(Exception exception bool suppressDefaultLog = false; OnErrorTestGroupParameters(ref suppressDefaultLog, exception, pathFormat, path, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineAdditionalPropertiesDefaultImplementation(ITestInlin 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 @@ private void OnErrorTestInlineAdditionalPropertiesDefaultImplementation(Exceptio bool suppressDefaultLog = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineFreeformAdditionalPropertiesDefaultImplementation(IT 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 @@ private void OnErrorTestInlineFreeformAdditionalPropertiesDefaultImplementation( bool suppressDefaultLog = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestJsonFormDataDefaultImplementation(ITestJsonFormDataApiResp 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 @@ private void OnErrorTestJsonFormDataDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorTestJsonFormData(ref suppressDefaultLog, exception, pathFormat, path, param, param2); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestQueryParameterCollectionFormatDefaultImplementation(ITestQ 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 @@ private void OnErrorTestQueryParameterCollectionFormatDefaultImplementation(Exce bool suppressDefaultLog = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLog, exception, pathFormat, path, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestStringMapReferenceDefaultImplementation(ITestStringMapRefe 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 @@ private void OnErrorTestStringMapReferenceDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestStringMapReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 2cec6a5023d3..6428ccf50ebe 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 @@ private void AfterTestClassnameDefaultImplementation(ITestClassnameApiResponse a 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 @@ private void OnErrorTestClassnameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorTestClassname(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClassnameApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 80779f740952..3efd2f272b49 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 @@ private void AfterAddPetDefaultImplementation(IAddPetApiResponse apiResponseLoca 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 @@ private void OnErrorAddPetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorAddPet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeletePetDefaultImplementation(IDeletePetApiResponse apiRespon 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 @@ private void OnErrorDeletePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorDeletePet(ref suppressDefaultLog, exception, pathFormat, path, petId, apiKey); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByStatusDefaultImplementation(IFindPetsByStatusApiResp 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 @@ private void OnErrorFindPetsByStatusDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorFindPetsByStatus(ref suppressDefaultLog, exception, pathFormat, path, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByStatusApiResponse(ILogger logger, 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByTagsDefaultImplementation(IFindPetsByTagsApiResponse 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 @@ private void OnErrorFindPetsByTagsDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorFindPetsByTags(ref suppressDefaultLog, exception, pathFormat, path, tags); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByTagsApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetPetByIdDefaultImplementation(IGetPetByIdApiResponse apiResp 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 @@ private void OnErrorGetPetByIdDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetPetById(ref suppressDefaultLog, exception, pathFormat, path, petId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetPetByIdApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetDefaultImplementation(IUpdatePetApiResponse apiRespon 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 @@ private void OnErrorUpdatePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorUpdatePet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetWithFormDefaultImplementation(IUpdatePetWithFormApiRe 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 @@ private void OnErrorUpdatePetWithFormDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorUpdatePetWithForm(ref suppressDefaultLog, exception, pathFormat, path, petId, name, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileDefaultImplementation(IUploadFileApiResponse apiResp 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 @@ private void OnErrorUploadFileDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUploadFile(ref suppressDefaultLog, exception, pathFormat, path, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileWithRequiredFileDefaultImplementation(IUploadFileWit 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 @@ private void OnErrorUploadFileWithRequiredFileDefaultImplementation(Exception ex bool suppressDefaultLog = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLog, exception, pathFormat, path, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileWithRequiredFileApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : null; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : null; } /// @@ -2821,7 +2802,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 84fdc1a9ad6a..44d4672b8dee 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 @@ private void AfterDeleteOrderDefaultImplementation(IDeleteOrderApiResponse apiRe 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 @@ private void OnErrorDeleteOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteOrder(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetInventoryDefaultImplementation(IGetInventoryApiResponse 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 @@ private void OnErrorGetInventoryDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetInventory(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetInventoryApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetOrderByIdDefaultImplementation(IGetOrderByIdApiResponse 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 @@ private void OnErrorGetOrderByIdDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetOrderById(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetOrderByIdApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterPlaceOrderDefaultImplementation(IPlaceOrderApiResponse apiResp 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 @@ private void OnErrorPlaceOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorPlaceOrder(ref suppressDefaultLog, exception, pathFormat, path, order); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public PlaceOrderApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 b0f90eaec7c5..bebd4d4a8159 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 @@ private void AfterCreateUserDefaultImplementation(ICreateUserApiResponse apiResp 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 @@ private void OnErrorCreateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorCreateUser(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithArrayInputDefaultImplementation(ICreateUsersWit 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 @@ private void OnErrorCreateUsersWithArrayInputDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithListInputDefaultImplementation(ICreateUsersWith 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 @@ private void OnErrorCreateUsersWithListInputDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeleteUserDefaultImplementation(IDeleteUserApiResponse apiResp 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 @@ private void OnErrorDeleteUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteUser(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetUserByNameDefaultImplementation(IGetUserByNameApiResponse a 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 @@ private void OnErrorGetUserByNameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetUserByName(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetUserByNameApiResponse(ILogger logger, System 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 @@ public bool TryOk([NotNullWhen(true)]out Org.OpenAPITools.Model.User? result) 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLoginUserDefaultImplementation(ILoginUserApiResponse apiRespon 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 @@ private void OnErrorLoginUserDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorLoginUser(ref suppressDefaultLog, exception, pathFormat, path, password, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public LoginUserApiResponse(ILogger logger, System.Net.Htt 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLogoutUserDefaultImplementation(ILogoutUserApiResponse apiResp 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 @@ private void OnErrorLogoutUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorLogoutUser(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdateUserDefaultImplementation(IUpdateUserApiResponse apiResp 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 @@ private void OnErrorUpdateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUpdateUser(ref suppressDefaultLog, exception, pathFormat, path, user, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 76274524017f..127c144308ad 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 88b4a497394b..a7ab9cb7c1a7 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 c9dc766e4639..1a75435a485a 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 @@ public class DateOnlyJsonConverter : JsonConverter 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 5e42c9efb856..8e8456c8ba1c 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 @@ public class DateOnlyNullableJsonConverter : JsonConverter 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 de6a37a17df7..b9814227c927 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 @@ public class DateTimeJsonConverter : JsonConverter "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 02b767330d0a..fc808b18df6c 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 2d8c0b2a52f7..40dc2b32047f 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 e6fd1c26872d..d1745d11fd76 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 d5510735d390..6dfaaa50f3d3 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 b873d5323e7a..58256a5f0ad5 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 97aaf78dd30a..5feba7662d6c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ public void WriteProperties(Utf8JsonWriter writer, Activity activity, JsonSerial } } } - /// /// 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 993b2a750ce7..eb045bf1d70e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,17 +194,15 @@ public void WriteProperties(Utf8JsonWriter writer, ActivityOutputElementRepresen 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 fe4e050f537d..1d508348240a 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -400,7 +397,6 @@ public void WriteProperties(Utf8JsonWriter writer, AdditionalPropertiesClass add } } } - /// /// 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 7c54e55cb7b5..fb062f7e6259 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,11 +214,10 @@ public void WriteProperties(Utf8JsonWriter writer, Animal animal, JsonSerializer 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 4ae5d07dcfef..e70310f1331f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -220,17 +217,14 @@ public void WriteProperties(Utf8JsonWriter writer, ApiResponse apiResponse, Json 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 3dab90bbeb36..a12b6c20ae05 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 840e615e2280..3c49d1e51fba 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -183,13 +180,11 @@ public void WriteProperties(Utf8JsonWriter writer, AppleReq appleReq, JsonSerial 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 d27c45fdcd1d..3108b66c8073 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ public void WriteProperties(Utf8JsonWriter writer, ArrayOfArrayOfNumberOnly arra } } } - /// /// 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 72dc6b5327f5..1f418f9d59a9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ public void WriteProperties(Utf8JsonWriter writer, ArrayOfNumberOnly arrayOfNumb } } } - /// /// 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 947e074e1390..15dae60fb4b4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -242,7 +239,6 @@ public void WriteProperties(Utf8JsonWriter writer, ArrayTest arrayTest, JsonSeri } } } - /// /// 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 06208194730c..cbf077bb0217 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,11 +165,10 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 c145e62672fb..5c405055e543 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -181,13 +178,11 @@ public override void Write(Utf8JsonWriter writer, BananaReq bananaReq, JsonSeria /// 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 cdd31db8f50c..2be764c76386 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ public void WriteProperties(Utf8JsonWriter writer, BasquePig basquePig, JsonSeri 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 e36a343dc5e2..9a80a55286ec 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -301,26 +298,20 @@ public void WriteProperties(Utf8JsonWriter writer, Capitalization capitalization 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 352bba5d51e4..d4c06f2c6671 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -182,14 +180,12 @@ public void WriteProperties(Utf8JsonWriter writer, Cat cat, JsonSerializerOption 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 286d8b6464b5..f6f6d3580ee4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -190,13 +187,11 @@ public void WriteProperties(Utf8JsonWriter writer, Category category, JsonSerial 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 2b39e8e86f0c..a2b74ddb06fe 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 @@ public static string PetTypeEnumToJsonValue(PetTypeEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -131,7 +129,6 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -225,13 +222,11 @@ public void WriteProperties(Utf8JsonWriter writer, ChildCat childCat, JsonSerial 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 e38fad89dbad..2df71676f1aa 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ public void WriteProperties(Utf8JsonWriter writer, ClassModel classModel, JsonSe 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 acf1f351fe7a..d7ea6c922dc3 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,12 +185,10 @@ public void WriteProperties(Utf8JsonWriter writer, ComplexQuadrilateral complexQ 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 c54e2bd3ea87..42dbdf77c865 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ public void WriteProperties(Utf8JsonWriter writer, DanishPig danishPig, JsonSeri 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 e9ed1cc59566..dd2139f5d619 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -174,11 +171,10 @@ public override void Write(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, J /// 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 0b8716d11ff4..8c19fb919bb3 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ public void WriteProperties(Utf8JsonWriter writer, DeprecatedObject deprecatedOb 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 4de2c40c0183..92feab3b3bd2 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -184,14 +182,12 @@ public void WriteProperties(Utf8JsonWriter writer, Dog dog, JsonSerializerOption 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 1f8cc5462321..9d506c3c240f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,7 +265,6 @@ public void WriteProperties(Utf8JsonWriter writer, Drawing drawing, JsonSerializ } } } - /// /// 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 809acadd5224..9287d03ed95b 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 @@ public static string ArrayEnumEnumToJsonValue(ArrayEnumEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -178,7 +176,6 @@ public static string JustSymbolEnumToJsonValue(JustSymbolEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -234,9 +231,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -337,7 +332,6 @@ public void WriteProperties(Utf8JsonWriter writer, EnumArrays enumArrays, JsonSe 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 520dc1cfbde9..52ec9d16bfbb 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 @@ public override void Write(Utf8JsonWriter writer, EnumClass? enumClass, JsonSeri } } - /// /// 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 65adf54ea349..c3885c00d375 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 @@ public static string EnumStringRequiredEnumToJsonValue(EnumStringRequiredEnum va throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -275,7 +273,6 @@ public static int EnumIntegerEnumToJsonValue(EnumIntegerEnum value) { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -347,7 +344,6 @@ public static int EnumIntegerOnlyEnumToJsonValue(EnumIntegerOnlyEnum value) { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -426,7 +422,6 @@ public static double EnumNumberEnumToJsonValue(EnumNumberEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -589,7 +584,6 @@ public static string EnumStringEnumToJsonValue(EnumStringEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -691,9 +685,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -845,16 +837,13 @@ public void WriteProperties(Utf8JsonWriter writer, EnumTest enumTest, JsonSerial { 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 @@ public void WriteProperties(Utf8JsonWriter writer, EnumTest enumTest, JsonSerial } } } - /// /// 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 ca7a8101de84..312205652b2b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,12 +185,10 @@ public void WriteProperties(Utf8JsonWriter writer, EquilateralTriangle equilater 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 bdc5c25e1329..ceedd81f9a72 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,11 +168,10 @@ public void WriteProperties(Utf8JsonWriter writer, File file, JsonSerializerOpti 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 d713d6a161ee..b1518f9e1646 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -210,7 +207,6 @@ public void WriteProperties(Utf8JsonWriter writer, FileSchemaTestClass fileSchem } } } - /// /// 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 ac4aeb49df5c..254d708996f6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ public void WriteProperties(Utf8JsonWriter writer, Foo foo, JsonSerializerOption 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 d1d691a8dd2e..00d64b79645d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ public void WriteProperties(Utf8JsonWriter writer, FooGetDefaultResponse fooGetD } } } - /// /// 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 6ca85f86117d..5f955d7c4ccb 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -898,78 +895,57 @@ public void WriteProperties(Utf8JsonWriter writer, FormatTest formatTest, JsonSe 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 6aa166222089..9639b19f7e8b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,11 +211,10 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 1f75be50f94b..b387b5d9d116 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,7 +185,6 @@ public void WriteProperties(Utf8JsonWriter writer, FruitReq fruitReq, JsonSerial } } - /// /// 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 e44c82f23506..987ab85e4f31 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ public void WriteProperties(Utf8JsonWriter writer, GmFruit gmFruit, JsonSerializ 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 69049f30a58f..ff480ef7d70b 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -192,7 +189,6 @@ public void WriteProperties(Utf8JsonWriter writer, GrandparentAnimal grandparent 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 0bf77a18dca2..1b974ec92405 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -237,14 +234,12 @@ public void WriteProperties(Utf8JsonWriter writer, HasOnlyReadOnly hasOnlyReadOn 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 71f3c4dc4ec0..ba992867fc7c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -164,14 +161,13 @@ public override void Write(Utf8JsonWriter writer, HealthCheckResult healthCheckR /// 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 df5fac5540b5..4b31666d14d6 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -181,12 +178,10 @@ public void WriteProperties(Utf8JsonWriter writer, IsoscelesTriangle isoscelesTr 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 024998ed763a..574940ef885c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ public void WriteProperties(Utf8JsonWriter writer, List list, JsonSerializerOpti 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 e54eebdaa1dc..efc2a2ff3377 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -196,14 +193,12 @@ public void WriteProperties(Utf8JsonWriter writer, LiteralStringClass literalStr 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 fe273665e2c2..3c0e90f4c97d 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -269,7 +266,6 @@ public void WriteProperties(Utf8JsonWriter writer, Mammal mammal, JsonSerializer } } - /// /// 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 cf14472204d4..1e58a908c758 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 @@ public static string InnerEnumToJsonValue(InnerEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -200,9 +198,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -340,7 +336,6 @@ public void WriteProperties(Utf8JsonWriter writer, MapTest mapTest, JsonSerializ } } } - /// /// 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 002521973975..5a4f04a363d0 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -929,105 +926,73 @@ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializer 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 cb6c05a7c77f..2a0d9b4baddd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ public void WriteProperties(Utf8JsonWriter writer, MixedAnyOf mixedAnyOf, JsonSe } } } - /// /// 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 72287b1d1b45..0b05e53a88c4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -283,7 +280,6 @@ public void WriteProperties(Utf8JsonWriter writer, MixedAnyOfContent mixedAnyOfC } } - /// /// 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 2f8ac2dc1d53..d82a216c9662 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ public void WriteProperties(Utf8JsonWriter writer, MixedOneOf mixedOneOf, JsonSe } } } - /// /// 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 8ea30fde6f80..daad1f95dad1 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -261,7 +258,6 @@ public void WriteProperties(Utf8JsonWriter writer, MixedOneOfContent mixedOneOfC } } - /// /// 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 a9e28c2f3e83..f8ab8abab49f 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 @@ public override string ToString() 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 @@ public void WriteProperties(Utf8JsonWriter writer, MixedPropertiesAndAdditionalP 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 696681a920f3..3e52d422cda0 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ public void WriteProperties(Utf8JsonWriter writer, MixedSubId mixedSubId, JsonSe 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 a6022a5f9cce..ab4f834709dc 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,14 +191,12 @@ public void WriteProperties(Utf8JsonWriter writer, Model200Response model200Resp 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 49dcb68c571f..a8cd6ac4661d 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ public void WriteProperties(Utf8JsonWriter writer, ModelClient modelClient, Json 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 2632fefd0fac..4ddb70b7daac 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -279,19 +276,15 @@ public void WriteProperties(Utf8JsonWriter writer, Name name, JsonSerializerOpti 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 e3a042f07ea2..b89a4ee04907 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -189,10 +186,9 @@ public void WriteProperties(Utf8JsonWriter writer, NotificationtestGetElementsV1 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 97697787aa33..a85bf1658791 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -438,37 +435,32 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 6fa5bf10dc92..fb46bd21876e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,14 +163,13 @@ public override void Write(Utf8JsonWriter writer, NullableGuidClass nullableGuid /// 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 25248c75ffaf..f4627c95f0a3 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ public void WriteProperties(Utf8JsonWriter writer, NullableShape nullableShape, } } - /// /// 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 b33930dee1b7..098e9b973532 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,11 +165,10 @@ public override void Write(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSer /// 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 72d8feb0ba05..98d791a4e6a1 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -261,14 +258,12 @@ public void WriteProperties(Utf8JsonWriter writer, ObjectWithDeprecatedFields ob 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 269f97ae4fd3..5457708fdf76 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -157,7 +154,6 @@ public void WriteProperties(Utf8JsonWriter writer, OneOfString oneOfString, Json } } - /// /// 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 00e69f44704a..de14bb0041ce 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -249,9 +247,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -377,26 +373,20 @@ public override void Write(Utf8JsonWriter writer, Order order, JsonSerializerOpt /// 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 9e354ba31085..f71a17ddc406 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -218,17 +215,14 @@ public void WriteProperties(Utf8JsonWriter writer, OuterComposite outerComposite 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 803ca5e1771d..0a1fa1bd2282 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 @@ public override void Write(Utf8JsonWriter writer, OuterEnum? outerEnum, JsonSeri } } - /// /// 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 1d30a9abb740..d77011ea06d6 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 @@ public override void Write(Utf8JsonWriter writer, OuterEnumDefaultValue? outerEn } } - /// /// 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 0d9bcfd0835b..1655faf87b52 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 @@ public override void Write(Utf8JsonWriter writer, OuterEnumInteger? outerEnumInt } } - /// /// 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 b0d7b8ea0756..0c5130abf7b8 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 @@ public override void Write(Utf8JsonWriter writer, OuterEnumIntegerDefaultValue? } } - /// /// 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 56a81b57e54d..b65b2ae564a5 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 @@ public override void Write(Utf8JsonWriter writer, OuterEnumTest? outerEnumTest, } } - /// /// 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 6218c3add483..ac1673d8522b 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -158,7 +156,6 @@ public void WriteProperties(Utf8JsonWriter writer, ParentPet parentPet, JsonSeri 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 1e4ad70fd862..395bc551cba8 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -235,9 +233,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -375,19 +371,17 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption 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 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption } } } - /// /// 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 57c4f9a91217..b612744301a7 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ public void WriteProperties(Utf8JsonWriter writer, Pig pig, JsonSerializerOption } } - /// /// 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 9e1aaafe221e..0bcd43cf132f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ public void WriteProperties(Utf8JsonWriter writer, PolymorphicProperty polymorph } } - /// /// 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 8e308392490d..90165eb76883 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ public void WriteProperties(Utf8JsonWriter writer, Quadrilateral quadrilateral, } } - /// /// 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 3d15636fda9a..9a3fea60e8b9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ public void WriteProperties(Utf8JsonWriter writer, QuadrilateralInterface quadri 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 4d458434bb1c..6f7ed8d22d5e 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,14 +231,12 @@ public void WriteProperties(Utf8JsonWriter writer, ReadOnlyFirst readOnlyFirst, 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 21050395a61f..4d6c31385495 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 @@ public static int RequiredNotnullableEnumIntegerEnumToJsonValue(RequiredNotnulla { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -254,7 +252,6 @@ public static int RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(RequiredNotn { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -410,7 +407,6 @@ public static string RequiredNotnullableEnumStringEnumToJsonValue(RequiredNotnul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -481,7 +477,6 @@ public static int NotrequiredNotnullableEnumIntegerEnumToJsonValue(NotrequiredNo { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -553,7 +548,6 @@ public static int NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(Notrequir { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -716,7 +710,6 @@ public static string NotrequiredNotnullableEnumStringEnumToJsonValue(Notrequired throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -801,7 +794,6 @@ public static int NotrequiredNullableEnumIntegerEnumToJsonValue(NotrequiredNulla { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -873,7 +865,6 @@ public static int NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(NotrequiredN { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1039,7 +1030,6 @@ public static NotrequiredNullableEnumStringEnum NotrequiredNullableEnumStringEnu throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1124,7 +1114,6 @@ public static int RequiredNullableEnumIntegerEnumToJsonValue(RequiredNullableEnu { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1189,7 +1178,6 @@ public static int RequiredNullableEnumIntegerOnlyEnumToJsonValue(RequiredNullabl { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1348,7 +1336,6 @@ public static RequiredNullableEnumStringEnum RequiredNullableEnumStringEnumFromS throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1702,9 +1689,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2184,78 +2169,60 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 14b4548c6105..aa84143575d0 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -232,21 +229,17 @@ public void WriteProperties(Utf8JsonWriter writer, Return varReturn, JsonSeriali 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 8df9de9ae715..f7f291858db3 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -200,11 +197,10 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHash rolesReports 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 ba4ac84d8e20..6beb59607de7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHashRole rolesRep 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 6ce8c2b68a1b..2649e0b72aa3 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,12 +185,10 @@ public void WriteProperties(Utf8JsonWriter writer, ScaleneTriangle scaleneTriang 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 71620d915bbb..116e2aec8015 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ public void WriteProperties(Utf8JsonWriter writer, Shape shape, JsonSerializerOp } } - /// /// 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 3070f52be3ac..a276fecd1813 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeInterface shapeInterface 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 37b5fddee5e3..37d12e3a473a 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +236,6 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeOrNull shapeOrNull, Json } } - /// /// 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 61ff978f3c24..79640550c0b7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -188,12 +185,10 @@ public void WriteProperties(Utf8JsonWriter writer, SimpleQuadrilateral simpleQua 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 c72f3539283b..7aa0e70c4541 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,14 +191,12 @@ public void WriteProperties(Utf8JsonWriter writer, SpecialModelName specialModel 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 9ac29533f720..62d58fc6c209 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,14 +191,12 @@ public void WriteProperties(Utf8JsonWriter writer, Tag tag, JsonSerializerOption 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 b5f8d88ed68d..f4330aada304 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL 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 bfc3a14472d7..f6b40f73c721 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,7 +175,6 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL } } } - /// /// 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 de60d7c2281f..cc8fed138de2 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -170,11 +167,10 @@ public void WriteProperties(Utf8JsonWriter writer, TestInlineFreeformAdditionalP 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 5c2490410259..0692acea52fc 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -269,7 +266,6 @@ public void WriteProperties(Utf8JsonWriter writer, Triangle triangle, JsonSerial } } - /// /// 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 a2ef4da28f5a..1eb7099fdd47 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -166,10 +163,9 @@ public void WriteProperties(Utf8JsonWriter writer, TriangleInterface triangleInt 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 6692b4f25093..8c0fc49c6e73 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -459,19 +456,15 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 f3f3e60766df..7119c62237ae 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,16 +211,13 @@ public void WriteProperties(Utf8JsonWriter writer, Whale whale, JsonSerializerOp 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 0d0e7222c42b..3f1208d47533 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 @@ public static string TypeEnumToJsonValue(TypeEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -175,9 +173,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -271,13 +267,11 @@ public void WriteProperties(Utf8JsonWriter writer, Zebra zebra, JsonSerializerOp 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 15c22d0fc3b0..f2668c6162e7 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 @@ public override void Write(Utf8JsonWriter writer, ZeroBasedEnum? zeroBasedEnum, } } - /// /// 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 74792442fd0e..c641326f6fd2 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 @@ public static string ZeroBasedEnumEnumToJsonValue(ZeroBasedEnumEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -152,9 +150,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -239,7 +235,6 @@ public void WriteProperties(Utf8JsonWriter writer, ZeroBasedEnumClass zeroBasedE 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 c3823f08e007..243ad8a97e15 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 @@ private void AfterNowGetDefaultImplementation(INowGetApiResponse apiResponseLoca 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 @@ private void OnErrorNowGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorNowGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public NowGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 f7cda3e72ce2..b78d082cc462 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 0027952859de..21f45d3a7e36 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 1ebd1220b622..f60fda93b79e 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 @@ public class DateTimeJsonConverter : JsonConverter "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 e92db186bb60..35023389e490 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 1c1677e3e3cb..9bb8aac2b31a 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 30ef47033199..765c4da41eb5 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 d9c84d5cc775..b9db4a74c79e 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 d07559ec5275..bcdb3f837c8e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public override void Write(Utf8JsonWriter writer, NowGet200Response nowGet200Res /// 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 e41c06837882..6761594752ba 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 @@ private void AfterCall123TestSpecialTagsDefaultImplementation(ICall123TestSpecia 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 @@ private void OnErrorCall123TestSpecialTagsDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorCall123TestSpecialTags(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public Call123TestSpecialTagsApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -392,7 +389,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 7542f987229d..56c3f8c791dd 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 @@ private void AfterFooGetDefaultImplementation(IFooGetApiResponse apiResponseLoca 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 @@ private void OnErrorFooGetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorFooGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FooGetApiResponse(ILogger logger, System.Net.Http.Http 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetCountryDefaultImplementation(IGetCountryApiResponse apiResp 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 @@ private void OnErrorGetCountryDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetCountry(ref suppressDefaultLog, exception, pathFormat, path, country); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterHelloDefaultImplementation(IHelloApiResponse apiResponseLocalV 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 @@ private void OnErrorHelloDefaultImplementation(Exception exception, string pathF bool suppressDefaultLog = false; OnErrorHello(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public HelloApiResponse(ILogger logger, System.Net.Http.HttpRe 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterRolesReportGetDefaultImplementation(IRolesReportGetApiResponse 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 @@ private void OnErrorRolesReportGetDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorRolesReportGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public RolesReportGetApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestDefaultImplementation(ITestApiResponse apiResponseLocalVar 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 @@ private void OnErrorTestDefaultImplementation(Exception exception, string pathFo bool suppressDefaultLog = false; OnErrorTest(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestApiResponse(ILogger logger, System.Net.Http.HttpRequ 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 33bd469b7c0d..eaf1bcaae252 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 @@ private void AfterFakeHealthGetDefaultImplementation(IFakeHealthGetApiResponse a 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 @@ private void OnErrorFakeHealthGetDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorFakeHealthGet(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeHealthGetApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterBooleanSerializeDefaultImplementation(IFakeOuterBoole 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 @@ private void OnErrorFakeOuterBooleanSerializeDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorFakeOuterBooleanSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterBooleanSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1694,7 +1689,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterCompositeSerializeDefaultImplementation(IFakeOuterCom 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 @@ private void OnErrorFakeOuterCompositeSerializeDefaultImplementation(Exception e bool suppressDefaultLog = false; OnErrorFakeOuterCompositeSerialize(ref suppressDefaultLog, exception, pathFormat, path, outerComposite); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterCompositeSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -1924,7 +1917,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterNumberSerializeDefaultImplementation(IFakeOuterNumber 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 @@ private void OnErrorFakeOuterNumberSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterNumberSerialize(ref suppressDefaultLog, exception, pathFormat, path, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterNumberSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2141,7 +2132,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFakeOuterStringSerializeDefaultImplementation(IFakeOuterString 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 @@ private void OnErrorFakeOuterStringSerializeDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorFakeOuterStringSerialize(ref suppressDefaultLog, exception, pathFormat, path, requiredStringUuid, body); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FakeOuterStringSerializeApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2383,7 +2372,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetArrayOfEnumsDefaultImplementation(IGetArrayOfEnumsApiRespon 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 @@ private void OnErrorGetArrayOfEnumsDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorGetArrayOfEnums(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetArrayOfEnumsApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedAnyOfDefaultImplementation(IGetMixedAnyOfApiResponse a 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 @@ private void OnErrorGetMixedAnyOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedAnyOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedAnyOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetMixedOneOfDefaultImplementation(IGetMixedOneOfApiResponse a 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 @@ private void OnErrorGetMixedOneOfDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetMixedOneOf(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetMixedOneOfApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestAdditionalPropertiesReferenceDefaultImplementation(ITestAd 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 @@ private void OnErrorTestAdditionalPropertiesReferenceDefaultImplementation(Excep bool suppressDefaultLog = false; OnErrorTestAdditionalPropertiesReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithFileSchemaDefaultImplementation(ITestBodyWithFileS 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 @@ private void OnErrorTestBodyWithFileSchemaDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestBodyWithFileSchema(ref suppressDefaultLog, exception, pathFormat, path, fileSchemaTestClass); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestBodyWithQueryParamsDefaultImplementation(ITestBodyWithQuer 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 @@ private void OnErrorTestBodyWithQueryParamsDefaultImplementation(Exception excep bool suppressDefaultLog = false; OnErrorTestBodyWithQueryParams(ref suppressDefaultLog, exception, pathFormat, path, query, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestClientModelDefaultImplementation(ITestClientModelApiRespon 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 @@ private void OnErrorTestClientModelDefaultImplementation(Exception exception, st bool suppressDefaultLog = false; OnErrorTestClientModel(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClientModelApiResponse(ILogger logger, Sy 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEndpointParametersDefaultImplementation(ITestEndpointParam 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 @@ private void OnErrorTestEndpointParametersDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestEndpointParameters(ref suppressDefaultLog, exception, pathFormat, path, number, patternWithoutDelimiter, varByte, varDouble, binary, callback, date, dateTime, int32, int64, integer, password, varFloat, varString); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestEnumParametersDefaultImplementation(ITestEnumParametersApi 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 @@ private void OnErrorTestEnumParametersDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorTestEnumParameters(ref suppressDefaultLog, exception, pathFormat, path, enumFormString, enumFormStringArray, enumHeaderString, enumHeaderStringArray, enumQueryDouble, enumQueryInteger, enumQueryString, enumQueryStringArray); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestGroupParametersDefaultImplementation(ITestGroupParametersA 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 @@ private void OnErrorTestGroupParametersDefaultImplementation(Exception exception bool suppressDefaultLog = false; OnErrorTestGroupParameters(ref suppressDefaultLog, exception, pathFormat, path, requiredBooleanGroup, requiredInt64Group, requiredStringGroup, booleanGroup, int64Group, stringGroup); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineAdditionalPropertiesDefaultImplementation(ITestInlin 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 @@ private void OnErrorTestInlineAdditionalPropertiesDefaultImplementation(Exceptio bool suppressDefaultLog = false; OnErrorTestInlineAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestInlineFreeformAdditionalPropertiesDefaultImplementation(IT 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 @@ private void OnErrorTestInlineFreeformAdditionalPropertiesDefaultImplementation( bool suppressDefaultLog = false; OnErrorTestInlineFreeformAdditionalProperties(ref suppressDefaultLog, exception, pathFormat, path, testInlineFreeformAdditionalPropertiesRequest); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestJsonFormDataDefaultImplementation(ITestJsonFormDataApiResp 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 @@ private void OnErrorTestJsonFormDataDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorTestJsonFormData(ref suppressDefaultLog, exception, pathFormat, path, param, param2); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestQueryParameterCollectionFormatDefaultImplementation(ITestQ 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 @@ private void OnErrorTestQueryParameterCollectionFormatDefaultImplementation(Exce bool suppressDefaultLog = false; OnErrorTestQueryParameterCollectionFormat(ref suppressDefaultLog, exception, pathFormat, path, context, http, ioutil, pipe, requiredNotNullable, url, notRequiredNotNullable, notRequiredNullable, requiredNullable); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterTestStringMapReferenceDefaultImplementation(ITestStringMapRefe 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 @@ private void OnErrorTestStringMapReferenceDefaultImplementation(Exception except bool suppressDefaultLog = false; OnErrorTestStringMapReference(ref suppressDefaultLog, exception, pathFormat, path, requestBody); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 612bc3a16f5d..ecf3c1616177 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 @@ private void AfterTestClassnameDefaultImplementation(ITestClassnameApiResponse a 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 @@ private void OnErrorTestClassnameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorTestClassname(ref suppressDefaultLog, exception, pathFormat, path, modelClient); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public TestClassnameApiResponse(ILogger logger, System 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 a9ee85fe5445..57b96a335569 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 @@ private void AfterAddPetDefaultImplementation(IAddPetApiResponse apiResponseLoca 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 @@ private void OnErrorAddPetDefaultImplementation(Exception exception, string path bool suppressDefaultLog = false; OnErrorAddPet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeletePetDefaultImplementation(IDeletePetApiResponse apiRespon 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 @@ private void OnErrorDeletePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorDeletePet(ref suppressDefaultLog, exception, pathFormat, path, petId, apiKey); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByStatusDefaultImplementation(IFindPetsByStatusApiResp 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 @@ private void OnErrorFindPetsByStatusDefaultImplementation(Exception exception, s bool suppressDefaultLog = false; OnErrorFindPetsByStatus(ref suppressDefaultLog, exception, pathFormat, path, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByStatusApiResponse(ILogger logger, 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterFindPetsByTagsDefaultImplementation(IFindPetsByTagsApiResponse 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 @@ private void OnErrorFindPetsByTagsDefaultImplementation(Exception exception, str bool suppressDefaultLog = false; OnErrorFindPetsByTags(ref suppressDefaultLog, exception, pathFormat, path, tags); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public FindPetsByTagsApiResponse(ILogger logger, Syst 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetPetByIdDefaultImplementation(IGetPetByIdApiResponse apiResp 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 @@ private void OnErrorGetPetByIdDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorGetPetById(ref suppressDefaultLog, exception, pathFormat, path, petId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetPetByIdApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetDefaultImplementation(IUpdatePetApiResponse apiRespon 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 @@ private void OnErrorUpdatePetDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorUpdatePet(ref suppressDefaultLog, exception, pathFormat, path, pet); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdatePetWithFormDefaultImplementation(IUpdatePetWithFormApiRe 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 @@ private void OnErrorUpdatePetWithFormDefaultImplementation(Exception exception, bool suppressDefaultLog = false; OnErrorUpdatePetWithForm(ref suppressDefaultLog, exception, pathFormat, path, petId, name, status); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileDefaultImplementation(IUploadFileApiResponse apiResp 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 @@ private void OnErrorUploadFileDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUploadFile(ref suppressDefaultLog, exception, pathFormat, path, petId, additionalMetadata, file); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUploadFileWithRequiredFileDefaultImplementation(IUploadFileWit 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 @@ private void OnErrorUploadFileWithRequiredFileDefaultImplementation(Exception ex bool suppressDefaultLog = false; OnErrorUploadFileWithRequiredFile(ref suppressDefaultLog, exception, pathFormat, path, petId, requiredFile, additionalMetadata); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public UploadFileWithRequiredFileApiResponse(ILogger(RawContent, _jsonSerializerOptions) - : default; + return IsOk + ? System.Text.Json.JsonSerializer.Deserialize(RawContent, _jsonSerializerOptions) + : default; } /// @@ -2812,7 +2793,7 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 5db6685f3fdd..54dc2aefd269 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 @@ private void AfterDeleteOrderDefaultImplementation(IDeleteOrderApiResponse apiRe 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 @@ private void OnErrorDeleteOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteOrder(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetInventoryDefaultImplementation(IGetInventoryApiResponse 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 @@ private void OnErrorGetInventoryDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetInventory(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetInventoryApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetOrderByIdDefaultImplementation(IGetOrderByIdApiResponse 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 @@ private void OnErrorGetOrderByIdDefaultImplementation(Exception exception, strin bool suppressDefaultLog = false; OnErrorGetOrderById(ref suppressDefaultLog, exception, pathFormat, path, orderId); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetOrderByIdApiResponse(ILogger logger, System.N 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterPlaceOrderDefaultImplementation(IPlaceOrderApiResponse apiResp 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 @@ private void OnErrorPlaceOrderDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorPlaceOrder(ref suppressDefaultLog, exception, pathFormat, path, order); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public PlaceOrderApiResponse(ILogger logger, System.Net.H 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 b9f0d653ffad..3ba04268088e 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 @@ private void AfterCreateUserDefaultImplementation(ICreateUserApiResponse apiResp 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 @@ private void OnErrorCreateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorCreateUser(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithArrayInputDefaultImplementation(ICreateUsersWit 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 @@ private void OnErrorCreateUsersWithArrayInputDefaultImplementation(Exception exc bool suppressDefaultLog = false; OnErrorCreateUsersWithArrayInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterCreateUsersWithListInputDefaultImplementation(ICreateUsersWith 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 @@ private void OnErrorCreateUsersWithListInputDefaultImplementation(Exception exce bool suppressDefaultLog = false; OnErrorCreateUsersWithListInput(ref suppressDefaultLog, exception, pathFormat, path, user); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterDeleteUserDefaultImplementation(IDeleteUserApiResponse apiResp 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 @@ private void OnErrorDeleteUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorDeleteUser(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterGetUserByNameDefaultImplementation(IGetUserByNameApiResponse a 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 @@ private void OnErrorGetUserByNameDefaultImplementation(Exception exception, stri bool suppressDefaultLog = false; OnErrorGetUserByName(ref suppressDefaultLog, exception, pathFormat, path, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public GetUserByNameApiResponse(ILogger logger, System 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 @@ public bool TryOk(out Org.OpenAPITools.Model.User result) 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLoginUserDefaultImplementation(ILoginUserApiResponse apiRespon 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 @@ private void OnErrorLoginUserDefaultImplementation(Exception exception, string p bool suppressDefaultLog = false; OnErrorLoginUser(ref suppressDefaultLog, exception, pathFormat, path, password, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ public LoginUserApiResponse(ILogger logger, System.Net.Htt 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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterLogoutUserDefaultImplementation(ILogoutUserApiResponse apiResp 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 @@ private void OnErrorLogoutUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorLogoutUser(ref suppressDefaultLog, exception, pathFormat, path); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 @@ private void AfterUpdateUserDefaultImplementation(IUpdateUserApiResponse apiResp 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 @@ private void OnErrorUpdateUserDefaultImplementation(Exception exception, string bool suppressDefaultLog = false; OnErrorUpdateUser(ref suppressDefaultLog, exception, pathFormat, path, user, username); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while sending the request to the server."); - } + Logger.LogError(exception, "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 @@ private void OnDeserializationErrorDefaultImplementation(Exception exception, Ht bool suppressDefaultLog = false; OnDeserializationError(ref suppressDefaultLog, exception, httpStatusCode); if (!suppressDefaultLog) - Logger.LogError(exception, "An error occurred while deserializing the {code} 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 fdd11dd19c9a..0f220825a1f2 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 1a0d0a718382..729e729265e4 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 973f9e9d4e80..218395c88306 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 @@ public class DateTimeJsonConverter : JsonConverter "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 b491c61f07fa..6817e3c39270 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 @@ public class DateTimeNullableJsonConverter : JsonConverter "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 5c4159491eec..f58b4501c674 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 8cf79a713b74..0d3b4a720e90 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 534f27a8cc52..1b233732bfc6 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 36d7dad03e23..996fb07a1fa5 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 a5e4bd35e9bc..58d445021e5d 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 @@ public override string ToString() 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 d7b4374e6a7b..cf96397d517f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -194,10 +191,9 @@ public void WriteProperties(Utf8JsonWriter writer, ActivityOutputElementRepresen 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 ec17222fbc8f..9eef9e63b103 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 @@ public override string ToString() 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 74cb14f52d91..c574d5a2ea6e 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali protected IEnumerable BaseValidate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -214,8 +211,8 @@ public void WriteProperties(Utf8JsonWriter writer, Animal animal, JsonSerializer 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 77ec0bd5ed2d..3b312a560cb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -217,14 +214,12 @@ public void WriteProperties(Utf8JsonWriter writer, ApiResponse apiResponse, Json 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 df3bc9af06cc..9fda41895306 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 @@ public void WriteProperties(Utf8JsonWriter writer, Apple apple, JsonSerializerOp 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 1cc72ecd59d3..44bf8667e208 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -180,10 +177,9 @@ public void WriteProperties(Utf8JsonWriter writer, AppleReq appleReq, JsonSerial 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 d2398a452eee..f00c246ac84d 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 @@ public override string ToString() 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 cce8d5d564b6..073503dca9ee 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 @@ public override string ToString() 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 3fbc72e2f5ab..30a9fd8381d9 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 @@ public override string ToString() 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 d92ba4ae6aef..2a87cf4680be 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, Banana banana, JsonSerializerO /// 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 c9734cbe3808..f3366e53886e 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,10 +175,9 @@ public override void Write(Utf8JsonWriter writer, BananaReq bananaReq, JsonSeria /// 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 9938d89e008d..4848a599f7cd 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, BasquePig basquePig, JsonSeri 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 a1fb0b3eb574..55c4682af23c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -298,23 +295,18 @@ public void WriteProperties(Utf8JsonWriter writer, Capitalization capitalization 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 0ffe1228015d..dc43e6dd6cd8 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -179,11 +177,10 @@ public void WriteProperties(Utf8JsonWriter writer, Cat cat, JsonSerializerOption 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 f483d87f36c8..4bf859316189 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -187,10 +184,9 @@ public void WriteProperties(Utf8JsonWriter writer, Category category, JsonSerial 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 2eb5dd8dc35a..6027bde8f37c 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 @@ public static string PetTypeEnumToJsonValue(PetTypeEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Name /// @@ -128,7 +126,6 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -222,10 +219,9 @@ public void WriteProperties(Utf8JsonWriter writer, ChildCat childCat, JsonSerial 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 7c49d7adb55c..cb921fcaf865 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ClassModel classModel, JsonSe 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 3023a45610e4..34179cf3eeb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ComplexQuadrilateral complexQ 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 14b2ed3b153f..b689eff90ae4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, DanishPig danishPig, JsonSeri 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 2ed0b166d7f6..8c540b69de29 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -171,8 +168,8 @@ public override void Write(Utf8JsonWriter writer, DateOnlyClass dateOnlyClass, J /// 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 08067c5cc07c..ab41548c7686 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, DeprecatedObject deprecatedOb 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 605dc512434b..486f9de74139 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 @@ public override string ToString() return sb.ToString(); } } - /// /// A Json converter for type /// @@ -181,11 +179,10 @@ public void WriteProperties(Utf8JsonWriter writer, Dog dog, JsonSerializerOption 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 a853b96144e2..d0abaf05c053 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 @@ public override string ToString() 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 b6716a58e539..23f818fe4723 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 @@ public static string ArrayEnumEnumToJsonValue(ArrayEnumEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Defines JustSymbol /// @@ -175,7 +173,6 @@ public static string JustSymbolEnumToJsonValue(JustSymbolEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of JustSymbol /// @@ -231,9 +228,7 @@ public override string ToString() 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 b1aff0adf0d8..9e4dceb77312 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 08e961298725..9970b90fe0b4 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 @@ public static string EnumStringRequiredEnumToJsonValue(EnumStringRequiredEnum va throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets EnumStringRequired /// @@ -272,7 +270,6 @@ public static int EnumIntegerEnumToJsonValue(EnumIntegerEnum value) { return (int) value; } - /// /// Used to track the state of EnumInteger /// @@ -344,7 +341,6 @@ public static int EnumIntegerOnlyEnumToJsonValue(EnumIntegerOnlyEnum value) { return (int) value; } - /// /// Used to track the state of EnumIntegerOnly /// @@ -423,7 +419,6 @@ public static double EnumNumberEnumToJsonValue(EnumNumberEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumNumber /// @@ -586,7 +581,6 @@ public static string EnumStringEnumToJsonValue(EnumStringEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of EnumString /// @@ -688,9 +682,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -842,16 +834,13 @@ public void WriteProperties(Utf8JsonWriter writer, EnumTest enumTest, JsonSerial { 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 d65c7740e5e8..4c6b57312e55 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, EquilateralTriangle equilater 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 092f10c09324..9d2bdcce2860 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -168,8 +165,8 @@ public void WriteProperties(Utf8JsonWriter writer, File file, JsonSerializerOpti 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 f9d9d9f7a7b8..6e1c51ef8b0c 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 @@ public override string ToString() 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 3eeca0aa2112..d82c3b21439c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, Foo foo, JsonSerializerOption 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 c7d043666115..274ef7b4267a 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 @@ public override string ToString() 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 b0822c334f55..c08bcc48b04f 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali } yield break; - } - } - + } } /// /// A Json converter for type /// @@ -895,75 +892,55 @@ public void WriteProperties(Utf8JsonWriter writer, FormatTest formatTest, JsonSe 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 cc8b4530f01c..f1ec3159ed17 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,8 +208,8 @@ public void WriteProperties(Utf8JsonWriter writer, Fruit fruit, JsonSerializerOp 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 1e72875d4d32..c9711ef9205e 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 @@ public override string ToString() 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 78cb87b61a31..5b356ea284fc 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -228,8 +225,8 @@ public void WriteProperties(Utf8JsonWriter writer, GmFruit gmFruit, JsonSerializ 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 b23e4826fd6b..294ed66fccad 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 a4e67f73a8e5..dd2d22efc53b 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -234,11 +231,10 @@ public void WriteProperties(Utf8JsonWriter writer, HasOnlyReadOnly hasOnlyReadOn 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 16afc025fa03..e1e0d40f4ac0 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -161,11 +158,11 @@ public override void Write(Utf8JsonWriter writer, HealthCheckResult healthCheckR /// 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 cce859524111..73a93b84842c 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -178,9 +175,8 @@ public void WriteProperties(Utf8JsonWriter writer, IsoscelesTriangle isoscelesTr 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 050d58f85c23..7dcc77628b90 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, List list, JsonSerializerOpti 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 522ba51e6cb3..fa3c03f346f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -193,11 +190,10 @@ public void WriteProperties(Utf8JsonWriter writer, LiteralStringClass literalStr 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 267ac8769d31..401b68452acf 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 97588d56888a..f6e951e924e2 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 @@ public static string InnerEnumToJsonValue(InnerEnum value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of DirectMap /// @@ -197,9 +195,7 @@ public override string ToString() 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 d18711f51031..31dd097161f7 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -926,102 +923,71 @@ public void WriteProperties(Utf8JsonWriter writer, MixLog mixLog, JsonSerializer 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 c81de3d2f67d..7e50c69e51b5 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 @@ public override string ToString() 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 5de026753ef2..2416a236128e 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 @@ public override string ToString() 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 32515bc04405..a4467dcf5ff7 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 @@ public override string ToString() 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 4cb69dae28cd..ae6c47f1fd1f 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 @@ public override string ToString() 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 3cef3330300e..a0b39c8f7228 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 @@ public override string ToString() 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 @@ public void WriteProperties(Utf8JsonWriter writer, MixedPropertiesAndAdditionalP 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 34198e6f437a..03d7fe50ba88 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, MixedSubId mixedSubId, JsonSe 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 bf37307ad965..63f3b46af6e2 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Model200Response model200Resp 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 5d459e8b5eb1..a1162409132b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, ModelClient modelClient, Json 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 b322aaf568ce..2348f9b6ea30 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -276,16 +273,13 @@ public void WriteProperties(Utf8JsonWriter writer, Name name, JsonSerializerOpti 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 ea8abdda0d78..705b4a9724af 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -186,7 +183,7 @@ public void WriteProperties(Utf8JsonWriter writer, NotificationtestGetElementsV1 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 42533f9c7ebf..5be040369fd9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -435,37 +432,32 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, NullableClass nullableClass, } 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 56db535e3921..6d2ef985e6ed 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,11 +160,11 @@ public override void Write(Utf8JsonWriter writer, NullableGuidClass nullableGuid /// 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 9a93cb734e9c..c234d27be972 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 29f5a80e6462..abd2ee91e7ea 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -165,8 +162,8 @@ public override void Write(Utf8JsonWriter writer, NumberOnly numberOnly, JsonSer /// 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 83f513bc63bb..a81386ab9dbb 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -258,11 +255,10 @@ public void WriteProperties(Utf8JsonWriter writer, ObjectWithDeprecatedFields ob 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 c89963f55a36..77bb2a7369ef 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 @@ public override string ToString() 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 4889b1c2f3c1..bec549a70934 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -246,9 +244,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -374,22 +370,17 @@ public override void Write(Utf8JsonWriter writer, Order order, JsonSerializerOpt /// 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 92ec1939d1af..2cbec554f7c9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -215,14 +212,12 @@ public void WriteProperties(Utf8JsonWriter writer, OuterComposite outerComposite 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 47bb6793c6ac..4282e90bd0f0 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 136fb4c54c4e..aa3d355d7927 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 2ed4f18a657e..42215ac7c69a 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 c6a470cc64d1..6203818d13c8 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 a2e789f2edef..5e02cf051415 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 83104e900d01..c2fcaae270c8 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 @@ public override string ToString() 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 ee37b1594dce..6247bf637b43 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 @@ public static string StatusEnumToJsonValue(StatusEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Status /// @@ -232,9 +230,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -372,19 +368,17 @@ public void WriteProperties(Utf8JsonWriter writer, Pet pet, JsonSerializerOption 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 b6f300c94400..661e350a9d29 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ddea47edf40c..a87c3cadb6b8 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 @@ public override string ToString() 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 e8a2e2439975..667e7fa28222 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 519ed66393ca..2c5d5dd59f81 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, QuadrilateralInterface quadri 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 a7cd43316ac8..2f95cf4e9464 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 @@ public override int GetHashCode() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -231,11 +228,10 @@ public void WriteProperties(Utf8JsonWriter writer, ReadOnlyFirst readOnlyFirst, 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 e1c23b4ac973..07c1a5dc091a 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 @@ public static int RequiredNotnullableEnumIntegerEnumToJsonValue(RequiredNotnulla { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -251,7 +249,6 @@ public static int RequiredNotnullableEnumIntegerOnlyEnumToJsonValue(RequiredNotn { return (int) value; } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -407,7 +404,6 @@ public static string RequiredNotnullableEnumStringEnumToJsonValue(RequiredNotnul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -478,7 +474,6 @@ public static int NotrequiredNotnullableEnumIntegerEnumToJsonValue(NotrequiredNo { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumInteger /// @@ -550,7 +545,6 @@ public static int NotrequiredNotnullableEnumIntegerOnlyEnumToJsonValue(Notrequir { return (int) value; } - /// /// Used to track the state of NotrequiredNotnullableEnumIntegerOnly /// @@ -713,7 +707,6 @@ public static string NotrequiredNotnullableEnumStringEnumToJsonValue(Notrequired throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNotnullableEnumString /// @@ -798,7 +791,6 @@ public static int NotrequiredNullableEnumIntegerEnumToJsonValue(NotrequiredNulla { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumInteger /// @@ -870,7 +862,6 @@ public static int NotrequiredNullableEnumIntegerOnlyEnumToJsonValue(NotrequiredN { return (int) value; } - /// /// Used to track the state of NotrequiredNullableEnumIntegerOnly /// @@ -1036,7 +1027,6 @@ public static string NotrequiredNullableEnumStringEnumToJsonValue(NotrequiredNul throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of NotrequiredNullableEnumString /// @@ -1121,7 +1111,6 @@ public static int RequiredNullableEnumIntegerEnumToJsonValue(RequiredNullableEnu { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -1186,7 +1175,6 @@ public static int RequiredNullableEnumIntegerOnlyEnumToJsonValue(RequiredNullabl { return (int) value; } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -1345,7 +1333,6 @@ public static string RequiredNullableEnumStringEnumToJsonValue(RequiredNullableE throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -1699,9 +1686,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -2181,78 +2166,60 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, 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 @@ public void WriteProperties(Utf8JsonWriter writer, RequiredClass requiredClass, } 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 6a2c4c85eb4a..031648b131a9 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -229,18 +226,15 @@ public void WriteProperties(Utf8JsonWriter writer, Return varReturn, JsonSeriali 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 46625cb093a3..3505a0f0ecfa 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -197,8 +194,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHash rolesReports 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 29c8760c9722..8b7c60dbfd1b 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, RolesReportsHashRole rolesRep 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 5c960eb54744..0de13eec2fb5 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, ScaleneTriangle scaleneTriang 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 c651ac7d2454..90c0ee7ddeb8 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 37db5df64908..e57f6dc449e4 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, ShapeInterface shapeInterface 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 1f0b22030070..54354c9536c4 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ffa68d1e75de..487a20689f33 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -185,9 +182,8 @@ public void WriteProperties(Utf8JsonWriter writer, SimpleQuadrilateral simpleQua 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 7ec3c110c2a1..c6abc777133f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, SpecialModelName specialModel 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 4290e8270ff9..043704287724 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -191,11 +188,10 @@ public void WriteProperties(Utf8JsonWriter writer, Tag tag, JsonSerializerOption 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 11d1cd5963c0..e51918c7a305 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestCollectionEndingWithWordL 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 04d04337aa4a..4743b09271dc 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 @@ public override string ToString() 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 33f5183651a3..13c411093c35 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -167,8 +164,8 @@ public void WriteProperties(Utf8JsonWriter writer, TestInlineFreeformAdditionalP 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 cf22051519ad..b38208d0f98c 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 0f13b0e77451..ee9a25dd35ae 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -163,7 +160,7 @@ public void WriteProperties(Utf8JsonWriter writer, TriangleInterface triangleInt 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 e89d58457324..f92a3edc061f 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -456,19 +453,15 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 @@ public void WriteProperties(Utf8JsonWriter writer, User user, JsonSerializerOpti } 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 834e6957c675..156753c72517 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 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -211,13 +208,11 @@ public void WriteProperties(Utf8JsonWriter writer, Whale whale, JsonSerializerOp 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 bdf489815279..798ed23c9b10 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 @@ public static string TypeEnumToJsonValue(TypeEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of Type /// @@ -172,9 +170,7 @@ public override string ToString() IEnumerable IValidatableObject.Validate(ValidationContext validationContext) { yield break; - } - } - + } } /// /// A Json converter for type /// @@ -268,9 +264,8 @@ public void WriteProperties(Utf8JsonWriter writer, Zebra zebra, JsonSerializerOp 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 34a044fb8b13..e290a4733f04 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 a6d408aeecc1..ea1af5c7ee4a 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 @@ public static string ZeroBasedEnumEnumToJsonValue(ZeroBasedEnumEnum? value) throw new NotImplementedException($"Value could not be handled: '{value}'"); } - /// /// Used to track the state of ZeroBasedEnum /// @@ -149,9 +147,7 @@ public override string ToString() 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 b56f68815057..0ae2ce9b28c1 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 @@ public override int GetHashCode() 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 cf1bbf23cea8..069043115860 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 @@ public override int GetHashCode() 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 7db32a24579e..d1ae4ffdbefc 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 @@ public override int GetHashCode() 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 80bf3adb7aa7..59b3f0f27174 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 296753574edc..ab153d686d38 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 @@ public override int GetHashCode() 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 546300d9857d..3e8ad87ff5d8 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 85ba742ea8ed..cbdd7c54209f 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 @@ public override int GetHashCode() 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 158143cec188..693aa5f7963d 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 @@ public override int GetHashCode() 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 a103c5b9f766..76cbe71302e4 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 @@ public override int GetHashCode() 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 521f6e10d68d..0715bc971aaf 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 @@ public override int GetHashCode() 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 55a7b982dfdf..e71a2db8d597 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 @@ public override int GetHashCode() 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 7afbe08ac126..1b3d1ab52d08 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 @@ public override int GetHashCode() 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 dd5b5d07b0a3..79d78f87ed58 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 @@ public override int GetHashCode() 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 10031dc7568d..b9bc7a33b8c9 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 @@ public override int GetHashCode() 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 cec47afe1f2a..747b2a02b4ff 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 0057441d8857..541ceba4a720 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 @@ public override int GetHashCode() 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 96a00c78f2fa..372b2eeb7823 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 @@ public enum PetTypeEnum ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -175,7 +174,6 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 36b14908818a..583033596975 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 @@ public override int GetHashCode() 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 1cef53d2c8a9..11501d56d84d 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 @@ public override int GetHashCode() 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 5a777565eb38..da016ed81c37 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 @@ public override int GetHashCode() 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 92a3adc8c27b..b1f1be67242c 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 @@ -129,7 +129,6 @@ public override int GetHashCode() 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 e6791fbe07a8..f6136e706f3d 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 @@ public override int GetHashCode() 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 ffd89a5334ec..d967fe70df04 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 73b84634c4dd..25047c39e16a 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 @@ public override int GetHashCode() 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 ad688b4d11b4..7b7aca74ddfd 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 @@ public enum JustSymbolEnum Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -76,7 +75,6 @@ public enum ArrayEnumEnum [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -175,7 +173,6 @@ public override int GetHashCode() 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 3309623635ca..9098bf747063 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 @@ public enum EnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -149,7 +148,6 @@ public enum EnumStringRequiredEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -171,7 +169,6 @@ public enum EnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -193,7 +190,6 @@ public enum EnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -218,7 +214,6 @@ public enum EnumNumberEnum NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -373,7 +368,6 @@ public override int GetHashCode() 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 1972d8ba56b9..0a5840306d93 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 @@ public override int GetHashCode() 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 ca5877d2f8ee..3c1fd9ff019c 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 @@ public override int GetHashCode() 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 2e37282c600b..070bac4a4a28 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 @@ public override int GetHashCode() 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 10c97e7ed29c..14dc0695a8f7 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 @@ public override int GetHashCode() 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 2619543bb533..f8edfb4ba99f 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 @@ public override int GetHashCode() 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 87fac8c15b66..93aa800c1594 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 @@ -518,11 +518,11 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ -539,33 +539,32 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 ff2b810c6443..7451a8f54e02 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 8ac3489e8b7a..135247d5d58e 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 @@ public override int GetHashCode() 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 fc344e4373f9..271e43b1c94c 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 @@ public override int GetHashCode() 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 2bcb331dedda..5acfeee72661 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 @@ public override int GetHashCode() 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 b84038f9fcf5..3bc1026e0e19 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 @@ public override int GetHashCode() 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 db0dc595908e..0877a83364dd 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 @@ public override int GetHashCode() 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 5255a249aba3..5e571a8dc28a 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 @@ public enum InnerEnum [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -185,7 +184,6 @@ public override int GetHashCode() 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 31e0e4e46e3a..f2bacdff8726 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 @@ public override int GetHashCode() 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 889b927982c6..ee95141de3b4 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 @@ public override int GetHashCode() 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 576cb29d578d..9e08ec8a1faf 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 @@ public override int GetHashCode() 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 254ccb20d125..5dd6f7354339 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 a644d2744809..21808babf9a9 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 @@ public override int GetHashCode() 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 34aee45d4c8c..1c428ae4a4ae 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 @@ public override int GetHashCode() 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 2523c65536f3..2dfeb5e76bb4 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 @@ public override int GetHashCode() 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 47c0de878119..efac9157f07e 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 @@ public override int GetHashCode() 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 a08db8b6648e..0d566c047e87 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 @@ public override int GetHashCode() 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 8508046165fa..98c9ee8ebe69 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 @@ public override int GetHashCode() 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 ef4df456bd1a..97fc61a63abb 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 @@ -128,7 +128,6 @@ public override int GetHashCode() 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 a287358b015c..dcbeb0ed5951 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 @@ public override int GetHashCode() 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 db530572625a..a64043450f0c 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 @@ public override int GetHashCode() 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 c995bf5d39bf..42376e339cd8 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 @@ public enum StatusEnum Delivered = 3 } - /// /// Order Status /// @@ -205,7 +204,6 @@ public override int GetHashCode() 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 91a61870eea7..912c2008d183 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 @@ public override int GetHashCode() 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 98e7574e092e..c17f51228b02 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 2d13379fd74b..3f43c51e3d91 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 @@ public enum StatusEnum Sold = 3 } - /// /// pet status in the store /// @@ -232,7 +231,6 @@ public override int GetHashCode() 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 8e87f3b369fe..f44c42f4bd0d 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 @@ public override int GetHashCode() 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 8fd8dcd0dce9..2138cbcf19b6 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 @@ public override int GetHashCode() 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 3d5eaf99a7d5..a658638eae20 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 @@ public enum RequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -71,7 +70,6 @@ public enum RequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -93,7 +91,6 @@ public enum NotrequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -115,7 +112,6 @@ public enum NotrequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -138,7 +134,6 @@ public enum RequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -160,7 +155,6 @@ public enum RequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -183,7 +177,6 @@ public enum NotrequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -205,7 +198,6 @@ public enum NotrequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -266,7 +258,6 @@ public enum RequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -327,7 +318,6 @@ public enum RequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -388,7 +378,6 @@ public enum NotrequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -449,7 +438,6 @@ public enum NotrequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1037,7 +1025,6 @@ public override int GetHashCode() 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 6a9590cc8f40..dee7a659aa10 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 @@ public override int GetHashCode() 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 43f205a0529d..6ce9b5abecc2 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 @@ public override int GetHashCode() 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 217f538e0a90..4f14ac0b2718 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 @@ public override int GetHashCode() 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 be7027373c76..6fb622e146d3 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 @@ public override int GetHashCode() 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 41366a1d82dd..8a1699ab908f 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 @@ public override int GetHashCode() 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 f775230a9b19..b61dede31dbf 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 @@ public override int GetHashCode() 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 e1e27974a67b..83b9e6656ed2 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 @@ public override int GetHashCode() 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 ab8f5e0db099..30a7fdbe2d82 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 @@ public override int GetHashCode() 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 ca1cb65fcb24..2e0b710e84b9 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 @@ public override int GetHashCode() 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 b5a65aac0252..56c3d156fc20 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 @@ public override int GetHashCode() 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 7b15b1340456..13200a8dd785 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 @@ public override int GetHashCode() 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 acdf3e8a0505..1910f38ee367 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 @@ public override int GetHashCode() 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 2356f9020cc8..810f9526f741 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 @@ public override int GetHashCode() 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 1a6e079fdab0..24e6b5a83cad 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 @@ public override int GetHashCode() 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 08064bb5591c..621cc6128b68 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 @@ public enum TypeEnum Grevys = 3 } - /// /// Gets or Sets Type /// @@ -175,7 +174,6 @@ public override int GetHashCode() 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 3dbc0012d591..12db3efac372 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 @@ public enum ZeroBasedEnumEnum NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -143,7 +142,6 @@ public override int GetHashCode() 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 ef964fd4e870..7b68ccc683c4 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 @@ public override int GetHashCode() 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 663e49f1b1c1..5aa5568d6c5c 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 4c049227f843..e21d34fe338e 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 @@ public enum StatusEnum Delivered = 3 } - /// /// Order Status /// @@ -191,7 +190,6 @@ public override int GetHashCode() 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 f42bc15e4555..471a026241bb 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 @@ public enum StatusEnum Sold = 3 } - /// /// pet status in the store /// @@ -217,7 +216,6 @@ public override int GetHashCode() 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 8ac7c07be0ac..d309b785de0d 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 @@ public override int GetHashCode() 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 91ba71b2274c..75a30bdfbafe 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 @@ public override int GetHashCode() 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 08a39249cb82..0c0a10d120cf 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 @@ public override int GetHashCode() 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 dce3f9134dbb..1388dc82bbcf 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 @@ public override int GetHashCode() 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 c83597fc607e..c296886c660b 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 @@ public override int GetHashCode() 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 9ddb56ebad6c..e8c545d822aa 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 e55d523aad1f..3ab53cc60198 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 @@ public override int GetHashCode() 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 8d3f9af56df6..a1d1834a8bae 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 3eef221be3e3..78427b2e9375 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 @@ public override int GetHashCode() 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 3e1666ca90f8..9dae2a7d4a20 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 @@ public override int GetHashCode() 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 f2946f435b53..590c4e3e7163 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 @@ public override int GetHashCode() 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 343e486f6575..1a44ea876eac 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 @@ public override int GetHashCode() 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 04d69550656d..73f4cd9f8ac0 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 @@ public override int GetHashCode() 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 360cb5281e80..c54010eae0de 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 @@ public override int GetHashCode() 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 868cba98eeea..28bf73514763 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 @@ public override int GetHashCode() 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 f46fffa0ad6c..6fac1534967f 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 @@ public override int GetHashCode() 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 a427b55727d7..69aa71c7fc76 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 5edb4edfea4a..13ce2962d16f 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 @@ public override int GetHashCode() 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 a5d404bd17d6..42b9f7f07993 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 @@ public enum PetTypeEnum ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -174,7 +173,6 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 7a0846aec4e1..9b0b610f9d15 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 @@ public override int GetHashCode() 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 bbed21283745..9eb426e66945 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 @@ public override int GetHashCode() 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 3c81f50d00d7..31d3b1edf6f5 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 @@ public override int GetHashCode() 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 9933ec57ea9e..fee024dce252 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 @@ -128,7 +128,6 @@ public override int GetHashCode() 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 2895d518a81f..66c1a80c991c 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 @@ public override int GetHashCode() 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 44f95fa0fe05..5f6cee370c48 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 98c683539e6f..137227fdbc50 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 @@ public override int GetHashCode() 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 2bec93345bb7..888474fa577d 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 @@ public enum JustSymbolEnum Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ public enum ArrayEnumEnum [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -174,7 +172,6 @@ public override int GetHashCode() 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 27d1193954ea..501419135173 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 @@ public enum EnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ public enum EnumStringRequiredEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ public enum EnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ public enum EnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ public enum EnumNumberEnum NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -372,7 +367,6 @@ public override int GetHashCode() 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 7fb0e2094548..9c785e420f75 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 @@ public override int GetHashCode() 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 72b34e492626..272c8ee06277 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 @@ public override int GetHashCode() 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 cd75dba4a925..c2f2981f1269 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 @@ public override int GetHashCode() 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 3108c8a86913..5768036d6ee8 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 @@ public override int GetHashCode() 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 1ce81eece3ee..23adbc90a2c9 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 @@ public override int GetHashCode() 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 7158640c24e2..9aa0a9877f24 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 @@ -431,11 +431,11 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ -452,33 +452,32 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 75285a73f6ca..6d16feb8ce85 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 3c6298d7d8d2..d802fad7d28e 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 @@ public override int GetHashCode() 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 6fe074907762..4ce9b6c31e33 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 @@ public override int GetHashCode() 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 acf86063d050..041ae44fa66c 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 @@ public override int GetHashCode() 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 e06a3f381f12..e74e48172720 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 @@ public override int GetHashCode() 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 57cc8110fbb8..9f01beb08b7f 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 @@ public override int GetHashCode() 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 691f128ea5fb..9b12ff30b413 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 @@ public enum InnerEnum [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -184,7 +183,6 @@ public override int GetHashCode() 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 2b62d5975478..6b1ed252df58 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 @@ public override int GetHashCode() 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 bd0255888b86..207015b15fd0 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 @@ public override int GetHashCode() 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 5f51e31aa034..6ec9f15aa946 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 1906ce0b2709..d6d05a763d60 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 @@ public override int GetHashCode() 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 a023e3c3e754..a6b47c1db7a3 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 @@ public override int GetHashCode() 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 690894994947..f41f93a196af 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 @@ public override int GetHashCode() 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 f34052aa706c..27329dafc0ad 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 @@ public override int GetHashCode() 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 3fbd6e83ef29..471f49833f7f 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 @@ public override int GetHashCode() 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 6e4a6ef50e7b..5ff9462225cd 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 @@ public override int GetHashCode() 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 8a3011986ecd..ab89c9c7866e 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 @@ -127,7 +127,6 @@ public override int GetHashCode() 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 7218451d9fb0..680f65bb5eb7 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 @@ public override int GetHashCode() 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 76faa5154c86..956a6037e28e 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 @@ public override int GetHashCode() 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 e9471d3ba022..4509308f1bf6 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 @@ public enum StatusEnum Delivered = 3 } - /// /// Order Status /// @@ -204,7 +203,6 @@ public override int GetHashCode() 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 47d598a27e6f..2f8e9fa96b30 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 @@ public override int GetHashCode() 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 7a7421349903..5959bb6c5543 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 e4722f4a5379..1042c6815e7c 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 @@ public enum StatusEnum Sold = 3 } - /// /// pet status in the store /// @@ -231,7 +230,6 @@ public override int GetHashCode() 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 3a364f98c1e2..0ef627d8f798 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 @@ public override int GetHashCode() 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 46ed3b3948c0..2347c52d3c22 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 @@ public override int GetHashCode() 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 d040204ece33..0597aef60a30 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 @@ public enum RequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ public enum RequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ public enum NotrequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ public enum NotrequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ public enum RequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ public enum RequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ public enum NotrequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ public enum NotrequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ public enum RequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ public enum RequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ public enum NotrequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ public enum NotrequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1036,7 +1024,6 @@ public override int GetHashCode() 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 fec56c44fa82..1a9e51bb1f91 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 @@ public override int GetHashCode() 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 4523238ad385..b5963401bc77 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 @@ public override int GetHashCode() 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 ef21c6091f38..fb1494c5d226 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 @@ public override int GetHashCode() 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 1510bd5c512d..3bab0215b6af 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 @@ public override int GetHashCode() 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 9f8b4dd35b35..0fc8b175603c 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 @@ public override int GetHashCode() 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 266dcfee794c..5201086798b8 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 @@ public override int GetHashCode() 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 33320b76cf1f..82560aecb92c 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 @@ public override int GetHashCode() 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 58eb2c605d15..a16ae7bb2243 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 @@ public override int GetHashCode() 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 f7782b6fd5a7..da2128eb2fd9 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 @@ public override int GetHashCode() 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 8498a5eca78f..3c966ddd217a 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 @@ public override int GetHashCode() 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 457b88ac9c74..1b29845a039b 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 @@ public override int GetHashCode() 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 34fa15105dca..19416f56f423 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 @@ public override int GetHashCode() 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 b7911507a704..2970dd6a428b 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 @@ public override int GetHashCode() 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 50119ed39e76..60a3a44fb3c7 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 @@ public override int GetHashCode() 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 314fae589fc5..66d3e6477268 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 @@ public enum TypeEnum Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ public override int GetHashCode() 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 617dcd5f7a09..a5d128e49dc8 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 @@ public enum ZeroBasedEnumEnum NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -142,7 +141,6 @@ public override int GetHashCode() 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 08a39249cb82..0c0a10d120cf 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 @@ public override int GetHashCode() 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 dce3f9134dbb..1388dc82bbcf 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 @@ public override int GetHashCode() 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 c83597fc607e..c296886c660b 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 @@ public override int GetHashCode() 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 9ddb56ebad6c..e8c545d822aa 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 e55d523aad1f..3ab53cc60198 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 @@ public override int GetHashCode() 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 8d3f9af56df6..a1d1834a8bae 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 3eef221be3e3..78427b2e9375 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 @@ public override int GetHashCode() 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 3e1666ca90f8..9dae2a7d4a20 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 @@ public override int GetHashCode() 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 f2946f435b53..590c4e3e7163 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 @@ public override int GetHashCode() 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 343e486f6575..1a44ea876eac 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 @@ public override int GetHashCode() 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 04d69550656d..73f4cd9f8ac0 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 @@ public override int GetHashCode() 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 360cb5281e80..c54010eae0de 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 @@ public override int GetHashCode() 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 868cba98eeea..28bf73514763 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 @@ public override int GetHashCode() 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 f46fffa0ad6c..6fac1534967f 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 @@ public override int GetHashCode() 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 a427b55727d7..69aa71c7fc76 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 5edb4edfea4a..13ce2962d16f 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 @@ public override int GetHashCode() 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 a5d404bd17d6..42b9f7f07993 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 @@ public enum PetTypeEnum ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -174,7 +173,6 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 7a0846aec4e1..9b0b610f9d15 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 @@ public override int GetHashCode() 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 bbed21283745..9eb426e66945 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 @@ public override int GetHashCode() 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 3c81f50d00d7..31d3b1edf6f5 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 @@ public override int GetHashCode() 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 9933ec57ea9e..fee024dce252 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 @@ -128,7 +128,6 @@ public override int GetHashCode() 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 2895d518a81f..66c1a80c991c 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 @@ public override int GetHashCode() 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 44f95fa0fe05..5f6cee370c48 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 98c683539e6f..137227fdbc50 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 @@ public override int GetHashCode() 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 2bec93345bb7..888474fa577d 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 @@ public enum JustSymbolEnum Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ public enum ArrayEnumEnum [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -174,7 +172,6 @@ public override int GetHashCode() 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 27d1193954ea..501419135173 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 @@ public enum EnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ public enum EnumStringRequiredEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ public enum EnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ public enum EnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ public enum EnumNumberEnum NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -372,7 +367,6 @@ public override int GetHashCode() 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 7fb0e2094548..9c785e420f75 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 @@ public override int GetHashCode() 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 72b34e492626..272c8ee06277 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 @@ public override int GetHashCode() 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 cd75dba4a925..c2f2981f1269 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 @@ public override int GetHashCode() 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 3108c8a86913..5768036d6ee8 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 @@ public override int GetHashCode() 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 1ce81eece3ee..23adbc90a2c9 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 @@ public override int GetHashCode() 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 7158640c24e2..9aa0a9877f24 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 @@ -431,11 +431,11 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ -452,33 +452,32 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 75285a73f6ca..6d16feb8ce85 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 3c6298d7d8d2..d802fad7d28e 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 @@ public override int GetHashCode() 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 6fe074907762..4ce9b6c31e33 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 @@ public override int GetHashCode() 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 acf86063d050..041ae44fa66c 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 @@ public override int GetHashCode() 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 e06a3f381f12..e74e48172720 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 @@ public override int GetHashCode() 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 57cc8110fbb8..9f01beb08b7f 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 @@ public override int GetHashCode() 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 691f128ea5fb..9b12ff30b413 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 @@ public enum InnerEnum [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -184,7 +183,6 @@ public override int GetHashCode() 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 2b62d5975478..6b1ed252df58 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 @@ public override int GetHashCode() 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 bd0255888b86..207015b15fd0 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 @@ public override int GetHashCode() 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 5f51e31aa034..6ec9f15aa946 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 1906ce0b2709..d6d05a763d60 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 @@ public override int GetHashCode() 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 a023e3c3e754..a6b47c1db7a3 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 @@ public override int GetHashCode() 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 690894994947..f41f93a196af 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 @@ public override int GetHashCode() 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 f34052aa706c..27329dafc0ad 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 @@ public override int GetHashCode() 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 3fbd6e83ef29..471f49833f7f 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 @@ public override int GetHashCode() 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 6e4a6ef50e7b..5ff9462225cd 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 @@ public override int GetHashCode() 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 8a3011986ecd..ab89c9c7866e 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 @@ -127,7 +127,6 @@ public override int GetHashCode() 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 7218451d9fb0..680f65bb5eb7 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 @@ public override int GetHashCode() 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 76faa5154c86..956a6037e28e 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 @@ public override int GetHashCode() 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 e9471d3ba022..4509308f1bf6 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 @@ public enum StatusEnum Delivered = 3 } - /// /// Order Status /// @@ -204,7 +203,6 @@ public override int GetHashCode() 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 47d598a27e6f..2f8e9fa96b30 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 @@ public override int GetHashCode() 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 7a7421349903..5959bb6c5543 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 e4722f4a5379..1042c6815e7c 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 @@ public enum StatusEnum Sold = 3 } - /// /// pet status in the store /// @@ -231,7 +230,6 @@ public override int GetHashCode() 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 3a364f98c1e2..0ef627d8f798 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 @@ public override int GetHashCode() 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 46ed3b3948c0..2347c52d3c22 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 @@ public override int GetHashCode() 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 d040204ece33..0597aef60a30 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 @@ public enum RequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ public enum RequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ public enum NotrequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ public enum NotrequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ public enum RequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ public enum RequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ public enum NotrequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ public enum NotrequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ public enum RequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ public enum RequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ public enum NotrequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ public enum NotrequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1036,7 +1024,6 @@ public override int GetHashCode() 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 fec56c44fa82..1a9e51bb1f91 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 @@ public override int GetHashCode() 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 4523238ad385..b5963401bc77 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 @@ public override int GetHashCode() 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 ef21c6091f38..fb1494c5d226 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 @@ public override int GetHashCode() 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 1510bd5c512d..3bab0215b6af 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 @@ public override int GetHashCode() 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 9f8b4dd35b35..0fc8b175603c 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 @@ public override int GetHashCode() 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 266dcfee794c..5201086798b8 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 @@ public override int GetHashCode() 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 33320b76cf1f..82560aecb92c 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 @@ public override int GetHashCode() 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 58eb2c605d15..a16ae7bb2243 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 @@ public override int GetHashCode() 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 f7782b6fd5a7..da2128eb2fd9 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 @@ public override int GetHashCode() 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 8498a5eca78f..3c966ddd217a 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 @@ public override int GetHashCode() 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 457b88ac9c74..1b29845a039b 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 @@ public override int GetHashCode() 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 34fa15105dca..19416f56f423 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 @@ public override int GetHashCode() 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 b7911507a704..2970dd6a428b 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 @@ public override int GetHashCode() 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 50119ed39e76..60a3a44fb3c7 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 @@ public override int GetHashCode() 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 314fae589fc5..66d3e6477268 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 @@ public enum TypeEnum Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ public override int GetHashCode() 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 617dcd5f7a09..a5d128e49dc8 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 @@ public enum ZeroBasedEnumEnum NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -142,7 +141,6 @@ public override int GetHashCode() 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 ea3d938c159a..30b9690d0938 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 @@ public override int GetHashCode() 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 597e015588f8..46ed1b9e9e50 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 @@ public override int GetHashCode() 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 08a39249cb82..0c0a10d120cf 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 @@ public override int GetHashCode() 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 dce3f9134dbb..1388dc82bbcf 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 @@ public override int GetHashCode() 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 c83597fc607e..c296886c660b 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 @@ public override int GetHashCode() 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 9ddb56ebad6c..e8c545d822aa 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 e55d523aad1f..3ab53cc60198 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 @@ public override int GetHashCode() 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 8d3f9af56df6..a1d1834a8bae 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 3eef221be3e3..78427b2e9375 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 @@ public override int GetHashCode() 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 3e1666ca90f8..9dae2a7d4a20 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 @@ public override int GetHashCode() 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 f2946f435b53..590c4e3e7163 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 @@ public override int GetHashCode() 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 343e486f6575..1a44ea876eac 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 @@ public override int GetHashCode() 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 04d69550656d..73f4cd9f8ac0 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 @@ public override int GetHashCode() 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 360cb5281e80..c54010eae0de 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 @@ public override int GetHashCode() 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 868cba98eeea..28bf73514763 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 @@ public override int GetHashCode() 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 f46fffa0ad6c..6fac1534967f 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 @@ public override int GetHashCode() 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 a427b55727d7..69aa71c7fc76 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 5edb4edfea4a..13ce2962d16f 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 @@ public override int GetHashCode() 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 a5d404bd17d6..42b9f7f07993 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 @@ public enum PetTypeEnum ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -174,7 +173,6 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 7a0846aec4e1..9b0b610f9d15 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 @@ public override int GetHashCode() 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 bbed21283745..9eb426e66945 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 @@ public override int GetHashCode() 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 3c81f50d00d7..31d3b1edf6f5 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 @@ public override int GetHashCode() 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 0ae21e98fd84..a2ff9dd5eb9d 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 @@ -127,7 +127,6 @@ public override int GetHashCode() 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 2895d518a81f..66c1a80c991c 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 @@ public override int GetHashCode() 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 44f95fa0fe05..5f6cee370c48 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 98c683539e6f..137227fdbc50 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 @@ public override int GetHashCode() 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 2bec93345bb7..888474fa577d 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 @@ public enum JustSymbolEnum Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ public enum ArrayEnumEnum [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -174,7 +172,6 @@ public override int GetHashCode() 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 27d1193954ea..501419135173 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 @@ public enum EnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ public enum EnumStringRequiredEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ public enum EnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ public enum EnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ public enum EnumNumberEnum NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -372,7 +367,6 @@ public override int GetHashCode() 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 7fb0e2094548..9c785e420f75 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 @@ public override int GetHashCode() 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 72b34e492626..272c8ee06277 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 @@ public override int GetHashCode() 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 cd75dba4a925..c2f2981f1269 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 @@ public override int GetHashCode() 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 3108c8a86913..5768036d6ee8 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 @@ public override int GetHashCode() 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 1ce81eece3ee..23adbc90a2c9 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 @@ public override int GetHashCode() 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 8cac7d740ff8..7c498e31b24a 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 @@ -435,11 +435,11 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ -456,33 +456,32 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 75285a73f6ca..6d16feb8ce85 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 3c6298d7d8d2..d802fad7d28e 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 @@ public override int GetHashCode() 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 6fe074907762..4ce9b6c31e33 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 @@ public override int GetHashCode() 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 acf86063d050..041ae44fa66c 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 @@ public override int GetHashCode() 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 e06a3f381f12..e74e48172720 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 @@ public override int GetHashCode() 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 57cc8110fbb8..9f01beb08b7f 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 @@ public override int GetHashCode() 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 691f128ea5fb..9b12ff30b413 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 @@ public enum InnerEnum [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -184,7 +183,6 @@ public override int GetHashCode() 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 2b62d5975478..6b1ed252df58 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 @@ public override int GetHashCode() 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 bd0255888b86..207015b15fd0 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 @@ public override int GetHashCode() 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 5f51e31aa034..6ec9f15aa946 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 1906ce0b2709..d6d05a763d60 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 @@ public override int GetHashCode() 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 a023e3c3e754..a6b47c1db7a3 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 @@ public override int GetHashCode() 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 690894994947..f41f93a196af 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 @@ public override int GetHashCode() 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 f34052aa706c..27329dafc0ad 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 @@ public override int GetHashCode() 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 3fbd6e83ef29..471f49833f7f 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 @@ public override int GetHashCode() 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 1ae27f1846d9..a237e0617c2e 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 @@ public override int GetHashCode() 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 8a3011986ecd..ab89c9c7866e 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 @@ -127,7 +127,6 @@ public override int GetHashCode() 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 7218451d9fb0..680f65bb5eb7 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 @@ public override int GetHashCode() 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 76faa5154c86..956a6037e28e 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 @@ public override int GetHashCode() 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 22c7153ace7b..fd20a62d60f2 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 @@ public enum StatusEnum Shipped = 3 } - /// /// Order Status /// @@ -204,7 +203,6 @@ public override int GetHashCode() 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 47d598a27e6f..2f8e9fa96b30 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 @@ public override int GetHashCode() 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 7a7421349903..5959bb6c5543 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 e4722f4a5379..1042c6815e7c 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 @@ public enum StatusEnum Sold = 3 } - /// /// pet status in the store /// @@ -231,7 +230,6 @@ public override int GetHashCode() 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 3a364f98c1e2..0ef627d8f798 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 @@ public override int GetHashCode() 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 46ed3b3948c0..2347c52d3c22 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 @@ public override int GetHashCode() 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 d8230f423177..d872c073f23c 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 @@ public enum RequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ public enum RequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ public enum NotrequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ public enum NotrequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ public enum RequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ public enum RequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ public enum NotrequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ public enum NotrequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ public enum RequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ public enum RequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ public enum NotrequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ public enum NotrequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1037,7 +1025,6 @@ public override int GetHashCode() 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 fec56c44fa82..1a9e51bb1f91 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 @@ public override int GetHashCode() 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 4523238ad385..b5963401bc77 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 @@ public override int GetHashCode() 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 ef21c6091f38..fb1494c5d226 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 @@ public override int GetHashCode() 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 1510bd5c512d..3bab0215b6af 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 @@ public override int GetHashCode() 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 9f8b4dd35b35..0fc8b175603c 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 @@ public override int GetHashCode() 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 266dcfee794c..5201086798b8 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 @@ public override int GetHashCode() 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 33320b76cf1f..82560aecb92c 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 @@ public override int GetHashCode() 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 58eb2c605d15..a16ae7bb2243 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 @@ public override int GetHashCode() 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 f7782b6fd5a7..da2128eb2fd9 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 @@ public override int GetHashCode() 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 8498a5eca78f..3c966ddd217a 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 @@ public override int GetHashCode() 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 457b88ac9c74..1b29845a039b 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 @@ public override int GetHashCode() 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 34fa15105dca..19416f56f423 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 @@ public override int GetHashCode() 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 b7911507a704..2970dd6a428b 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 @@ public override int GetHashCode() 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 50119ed39e76..60a3a44fb3c7 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 @@ public override int GetHashCode() 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 314fae589fc5..66d3e6477268 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 @@ public enum TypeEnum Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ public override int GetHashCode() 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 617dcd5f7a09..a5d128e49dc8 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 @@ public enum ZeroBasedEnumEnum NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -142,7 +141,6 @@ public override int GetHashCode() 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 0c81e65fdc1e..0a16ca8f5c1e 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 @@ public override int GetHashCode() 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 61656615b137..8add03549e25 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 @@ public override int GetHashCode() 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 6f73dd2a107e..53a2c08bfe53 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 @@ public override int GetHashCode() 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 e19658cee189..e079c014f56f 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 b11aff203a77..db89fae193e6 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 @@ public override int GetHashCode() 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 5d0bdb98c302..25aeeb06cb13 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 3eef221be3e3..78427b2e9375 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 @@ public override int GetHashCode() 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 b75b0792d613..1f83927012a8 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 @@ public override int GetHashCode() 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 e3a0602189b0..9112287e890b 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 @@ public override int GetHashCode() 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 02ead047372b..7498f4c06d68 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 @@ public override int GetHashCode() 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 dffda1bedc28..d28fa94704b4 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 @@ public override int GetHashCode() 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 360cb5281e80..c54010eae0de 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 @@ public override int GetHashCode() 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 f362ad71dd04..b3e6b7c5bad1 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 @@ public override int GetHashCode() 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 78a9791fcd6f..5d150e42a9f5 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 @@ public override int GetHashCode() 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 8bec3551ae9f..11465ce6b4ff 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 85ea41da1a6c..d7a77fb615df 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 @@ public override int GetHashCode() 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 dada42c5f3f6..5a0c8677f240 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 @@ public enum PetTypeEnum ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -159,7 +158,6 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 f8060109b1a7..24e83c137df3 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 @@ public override int GetHashCode() 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 e399bfda5665..cd3122a75d50 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 @@ public override int GetHashCode() 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 686dab1558ed..66b379b6fc1d 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 @@ public override int GetHashCode() 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 a8f04b3453de..5ea204d4cf0d 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 @@ -115,7 +115,6 @@ public override int GetHashCode() 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 a852e8c459a1..b2b5f5771c0b 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 @@ public override int GetHashCode() 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 e2339cfb20bf..6e25ecb4f227 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 98c683539e6f..137227fdbc50 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 @@ public override int GetHashCode() 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 55dab0b979fe..b8e72d764e4c 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 @@ public enum JustSymbolEnum Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ public enum ArrayEnumEnum [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -162,7 +160,6 @@ public override int GetHashCode() 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 bf17521990cd..bb07c377611d 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 @@ public enum EnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ public enum EnumStringRequiredEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ public enum EnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ public enum EnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ public enum EnumNumberEnum NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -357,7 +352,6 @@ public override int GetHashCode() 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 738f9450e1d2..12d7860462d7 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 @@ public override int GetHashCode() 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 328601f24b6c..9b1a06736f9d 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 @@ public override int GetHashCode() 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 d3f9f7cba774..e33442c2aa50 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 @@ public override int GetHashCode() 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 9691b4848101..5557d2d2460b 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 @@ public override int GetHashCode() 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 3069deb125e7..6071e726f8e9 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 @@ public override int GetHashCode() 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 611b3dade2d0..30232e51201f 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 @@ -506,11 +506,11 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ -527,33 +527,32 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 369b95edbd12..d4fbd48a857a 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 712d33733e8d..5c82868ea5b4 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 @@ public override int GetHashCode() 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 ec05e7c4c85a..6bdbdda5be25 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 @@ public override int GetHashCode() 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 acf86063d050..041ae44fa66c 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 @@ public override int GetHashCode() 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 67e6c5a616a1..aab7eb79a901 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 @@ public override int GetHashCode() 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 15b6f0eabba9..c870435170c3 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 @@ public override int GetHashCode() 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 70075c576b1e..f8f7a515a3d7 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 @@ public enum InnerEnum [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -172,7 +171,6 @@ public override int GetHashCode() 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 6dbe8fdadda5..fbeb4c438b1d 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 @@ public override int GetHashCode() 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 9d7d88aea93f..6f3bd67cfcb9 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 @@ public override int GetHashCode() 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 2cb289fae178..c7c4a0891f73 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 @@ public override int GetHashCode() 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 f081d2819590..cff3fe43def4 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 c56e0ada331a..862f876d885f 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 @@ public override int GetHashCode() 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 11efe092a28b..2ce2e83be5cb 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 @@ public override int GetHashCode() 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 7b75059cad1b..12c788ee5c1e 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 @@ public override int GetHashCode() 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 2021a0066590..c1c009ecfb10 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 @@ public override int GetHashCode() 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 e2e5ff34b2a7..a06a7bde8e55 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 @@ public override int GetHashCode() 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 1ae27f1846d9..a237e0617c2e 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 @@ public override int GetHashCode() 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 b54d16ae1161..7c80cfd2d86f 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 @@ -115,7 +115,6 @@ public override int GetHashCode() 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 f38cf7d6affe..dfef96f14002 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 @@ public override int GetHashCode() 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 e2f9be14b2e6..20eb70ef6583 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 @@ public override int GetHashCode() 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 fa33759c2b12..6bc7806c5319 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 @@ public enum StatusEnum Delivered = 3 } - /// /// Order Status /// @@ -192,7 +191,6 @@ public override int GetHashCode() 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 1a8d974b060f..7e74df072d2a 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 @@ public override int GetHashCode() 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 4d15a2a962f9..8ab8257b28ed 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 4c5c91056616..2f6498fbc2c1 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 @@ public enum StatusEnum Sold = 3 } - /// /// pet status in the store /// @@ -216,7 +215,6 @@ public override int GetHashCode() 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 e0f4761e1915..9035655b4537 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 @@ public override int GetHashCode() 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 7551b621ebd8..92ab2b3ab6c6 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 @@ public override int GetHashCode() 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 5005d284a8e0..3fa73e2d11dd 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 @@ public enum RequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ public enum RequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ public enum NotrequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ public enum NotrequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ public enum RequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ public enum RequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ public enum NotrequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ public enum NotrequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ public enum RequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ public enum RequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ public enum NotrequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ public enum NotrequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1022,7 +1010,6 @@ public override int GetHashCode() 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 9d08c25bbd0f..51cc34261768 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 @@ public override int GetHashCode() 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 ebe5562ffe67..dd3d218f2137 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 @@ public override int GetHashCode() 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 60e2f9e50c07..79f5bb69fcee 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 @@ public override int GetHashCode() 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 03a8cd46f5ec..b51fd4e8da6a 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 @@ public override int GetHashCode() 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 b850b88b4fce..d50caf18882c 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 @@ public override int GetHashCode() 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 eebd8034750c..15c4c319fdbe 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 @@ public override int GetHashCode() 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 867d43acaf4c..5a80f62c94ca 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 @@ public override int GetHashCode() 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 a9dd75cb5cbd..643f58dbf07a 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 @@ public override int GetHashCode() 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 bb23b1f52456..827753424a20 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 @@ public override int GetHashCode() 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 715365c48c06..55bc1e9e6ff8 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 @@ public override int GetHashCode() 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 457b88ac9c74..1b29845a039b 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 @@ public override int GetHashCode() 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 cb7847498ff7..777286624343 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 @@ public override int GetHashCode() 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 0b1913457735..f4d6014d27a2 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 @@ public override int GetHashCode() 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 cd6eb8c0b1be..5a25ba1789d3 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 @@ public override int GetHashCode() 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 314fae589fc5..66d3e6477268 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 @@ public enum TypeEnum Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ public override int GetHashCode() 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 7036e9fdc825..fa2ef8b981ae 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 @@ public enum ZeroBasedEnumEnum NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -130,7 +129,6 @@ public override int GetHashCode() 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 84c9909059ab..43fe56405235 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 @@ public virtual string ToJson() 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 3bcf6d5f664f..4f744d221c51 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 @@ public override int GetHashCode() 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 2381b5f5ddcb..1513781e4482 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 @@ public override int GetHashCode() 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 2cfd7dde8a82..e2012be20ead 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 @@ public override int GetHashCode() 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 d87e72647001..e7eee22acfc0 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 440c5810db56..6f0bcd80c35e 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 @@ public override int GetHashCode() 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 1e7afc9dbb05..c23166a37d13 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 02fb11509662..0354261a6276 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 @@ public override int GetHashCode() 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 02324a9b5349..68ba1f81f867 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 @@ public override int GetHashCode() 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 f124f50a69d5..95aafd2ba7d3 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 @@ public override int GetHashCode() 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 b62c42c722ce..98851989b740 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 @@ public override int GetHashCode() 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 cc328cf2d95e..1713d50e7459 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 @@ public override int GetHashCode() 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 163080fc7a5b..94a97fb8faf2 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 @@ public override int GetHashCode() 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 fa252d7c73c5..080871a87c08 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 @@ public override int GetHashCode() 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 5759368bc583..d55b90746330 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 @@ public override int GetHashCode() 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 2cbd436c91ea..0e2ce37155a6 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 fb7f24b243f5..3453340d0b3d 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 @@ public override int GetHashCode() 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 ff34516f9e2d..2d4a50261c68 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 @@ public enum PetTypeEnum ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -216,7 +215,6 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 ed73f3d6e7fe..7f2056ed1527 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 @@ public override int GetHashCode() 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 ba076494b12a..4170bb4299c8 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 @@ public override int GetHashCode() 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 206676774347..bb96905ba3e4 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 @@ public override int GetHashCode() 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 ee3c89045095..67692573904b 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 @@ -150,7 +150,6 @@ public override int GetHashCode() 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 c55a037d2016..1844e28d804c 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 @@ public override int GetHashCode() 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 f18adc07b2b4..e82a86b1668d 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 5792b78f7985..6e646f4c5223 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 @@ public override int GetHashCode() 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 35222bdac3b2..afa9faf98f08 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 @@ public enum JustSymbolEnum Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -95,7 +94,6 @@ public enum ArrayEnumEnum [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -220,7 +218,6 @@ public override int GetHashCode() 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 8f0ea67b780f..060a3854f66d 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 @@ public enum EnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -168,7 +167,6 @@ public enum EnumStringRequiredEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -210,7 +208,6 @@ public enum EnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -252,7 +249,6 @@ public enum EnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -297,7 +293,6 @@ public enum EnumNumberEnum NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -584,7 +579,6 @@ public override int GetHashCode() 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 d248b913aadb..58f971a3be6a 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 @@ public override int GetHashCode() 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 bd9c895894d3..5adec91014c0 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 @@ public override int GetHashCode() 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 71277521b4d5..1623bb20b8e2 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 @@ public override int GetHashCode() 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 7558351cafaa..86d8d98f1b34 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 @@ public override int GetHashCode() 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 a2d3d6cb223e..a28663e15692 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 @@ public override int GetHashCode() 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 0b59ca8e6ef9..ba8cc76b31fb 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 @@ -1029,11 +1029,11 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ -1050,33 +1050,32 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 6208ebb4ca2b..aac354a6c94b 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 3c6298d7d8d2..d802fad7d28e 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 @@ public override int GetHashCode() 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 cdcf9c79a897..20b3bcc95f0f 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 @@ public override int GetHashCode() 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 bd9327423338..6af80b4cae71 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 @@ public override int GetHashCode() 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 68363d5d71db..f94db54e9cd9 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 @@ public override int GetHashCode() 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 aca243cc3c53..9e1a8d9199f7 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 @@ public override int GetHashCode() 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 f2f2f90a2f98..120b6dee5873 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 @@ public enum InnerEnum [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -272,7 +271,6 @@ public override int GetHashCode() 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 a698b135146d..1978102de9de 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 @@ public override int GetHashCode() 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 11c452ea3a15..e8fc740f4243 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 @@ public override int GetHashCode() 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 b1b6f56518c7..9dbad8076fb2 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 @@ public override int GetHashCode() 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 63fbf7fba85f..5bbf29ef3ea9 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 917dee7e353b..b20e124779ec 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 @@ public override int GetHashCode() 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 48815cd97300..9e3f1e856231 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 @@ public override int GetHashCode() 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 1a51de5f744a..a86b33ca1519 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 @@ public override int GetHashCode() 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 8fa808d911cd..e1ff2e4216b1 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 @@ public override int GetHashCode() 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 072a590b7793..d195a861c709 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 @@ public override int GetHashCode() 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 817623db2e39..48717d7c7600 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 @@ public override int GetHashCode() 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 0f52b9962cd7..11bfff46da59 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 @@ -149,7 +149,6 @@ public override int GetHashCode() 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 ce6120813dac..cd8e76a842b9 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 @@ public override int GetHashCode() 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 7f4945565272..2f91ed2abbca 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 @@ public override int GetHashCode() 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 435540a69eff..6941c25174f5 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 @@ public enum StatusEnum Delivered = 3 } - /// /// Order Status /// @@ -333,7 +332,6 @@ public override int GetHashCode() 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 066dc26dbe15..1e1fcb96b2c6 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 @@ public override int GetHashCode() 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 7a7421349903..5959bb6c5543 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 ccfaf5892e50..e620130154ae 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 @@ public enum StatusEnum Sold = 3 } - /// /// pet status in the store /// @@ -357,7 +356,6 @@ public override int GetHashCode() 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 f875a0c461b9..db879482b7e0 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 @@ public override int GetHashCode() 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 76afb32b0d81..d5db49811bae 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 @@ public override int GetHashCode() 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 307699149098..efc2fdb7a0a1 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 @@ public enum RequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -90,7 +89,6 @@ public enum RequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -132,7 +130,6 @@ public enum NotrequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -174,7 +171,6 @@ public enum NotrequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -217,7 +213,6 @@ public enum RequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -259,7 +254,6 @@ public enum RequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -302,7 +296,6 @@ public enum NotrequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -344,7 +337,6 @@ public enum NotrequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -425,7 +417,6 @@ public enum RequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -506,7 +497,6 @@ public enum RequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -587,7 +577,6 @@ public enum NotrequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -668,7 +657,6 @@ public enum NotrequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1948,7 +1936,6 @@ public override int GetHashCode() 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 e255b357996f..c795afc0d51d 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 @@ public override int GetHashCode() 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 39c65b7da193..029b1c277853 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 @@ public override int GetHashCode() 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 48d21628ea70..de0b47b6c373 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 @@ public override int GetHashCode() 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 4be5f3b852ba..8fc0de46fb07 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 @@ public override int GetHashCode() 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 d0f237740cf3..d98cfa6578e1 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 @@ public override int GetHashCode() 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 abb6ed2a1e23..3768deef8eed 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 @@ public override int GetHashCode() 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 0a0faf3cba34..9114c8a90a7d 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 @@ public override int GetHashCode() 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 b631ebc96160..c84e606f998a 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 @@ public override int GetHashCode() 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 0ab53418b5d8..053308c5e26e 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 @@ public override int GetHashCode() 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 29a0deb13ec7..e65c3eb05196 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 @@ public override int GetHashCode() 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 92995d8b5ca2..33894c714ff6 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 @@ public override int GetHashCode() 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 ee631710fb6b..2685128dc674 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 @@ public override int GetHashCode() 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 21c819cf09ac..c38341f2fa86 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 @@ public override int GetHashCode() 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 24659725b63f..27cd30adc187 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 @@ public override int GetHashCode() 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 bb8efe4f45d5..4f23f1680745 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 @@ public enum TypeEnum Grevys = 3 } - /// /// Gets or Sets Type /// @@ -216,7 +215,6 @@ public override int GetHashCode() 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 5d5ab2efcd31..d5a7dc558293 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 @@ public enum ZeroBasedEnumEnum NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -166,7 +165,6 @@ public override int GetHashCode() 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 08a39249cb82..0c0a10d120cf 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 @@ public override int GetHashCode() 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 dce3f9134dbb..1388dc82bbcf 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 @@ public override int GetHashCode() 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 c83597fc607e..c296886c660b 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 @@ public override int GetHashCode() 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 9ddb56ebad6c..e8c545d822aa 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 e55d523aad1f..3ab53cc60198 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 @@ public override int GetHashCode() 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 8d3f9af56df6..a1d1834a8bae 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 3eef221be3e3..78427b2e9375 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 @@ public override int GetHashCode() 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 3e1666ca90f8..9dae2a7d4a20 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 @@ public override int GetHashCode() 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 f2946f435b53..590c4e3e7163 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 @@ public override int GetHashCode() 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 343e486f6575..1a44ea876eac 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 @@ public override int GetHashCode() 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 04d69550656d..73f4cd9f8ac0 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 @@ public override int GetHashCode() 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 360cb5281e80..c54010eae0de 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 @@ public override int GetHashCode() 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 868cba98eeea..28bf73514763 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 @@ public override int GetHashCode() 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 f46fffa0ad6c..6fac1534967f 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 @@ public override int GetHashCode() 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 a427b55727d7..69aa71c7fc76 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 5edb4edfea4a..13ce2962d16f 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 @@ public override int GetHashCode() 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 a5d404bd17d6..42b9f7f07993 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 @@ public enum PetTypeEnum ChildCat = 1 } - /// /// Gets or Sets PetType /// @@ -174,7 +173,6 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 7a0846aec4e1..9b0b610f9d15 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 @@ public override int GetHashCode() 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 bbed21283745..9eb426e66945 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 @@ public override int GetHashCode() 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 3c81f50d00d7..31d3b1edf6f5 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 @@ public override int GetHashCode() 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 9933ec57ea9e..fee024dce252 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 @@ -128,7 +128,6 @@ public override int GetHashCode() 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 2895d518a81f..66c1a80c991c 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 @@ public override int GetHashCode() 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 44f95fa0fe05..5f6cee370c48 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 98c683539e6f..137227fdbc50 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 @@ public override int GetHashCode() 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 2bec93345bb7..888474fa577d 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 @@ public enum JustSymbolEnum Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -75,7 +74,6 @@ public enum ArrayEnumEnum [EnumMember(Value = "crab")] Crab = 2 } - /// /// Initializes a new instance of the class. /// @@ -174,7 +172,6 @@ public override int GetHashCode() 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 27d1193954ea..501419135173 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 @@ public enum EnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -148,7 +147,6 @@ public enum EnumStringRequiredEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -170,7 +168,6 @@ public enum EnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -192,7 +189,6 @@ public enum EnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -217,7 +213,6 @@ public enum EnumNumberEnum NUMBER_MINUS_1_DOT_2 = 2 } - /// /// Gets or Sets EnumNumber /// @@ -372,7 +367,6 @@ public override int GetHashCode() 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 7fb0e2094548..9c785e420f75 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 @@ public override int GetHashCode() 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 72b34e492626..272c8ee06277 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 @@ public override int GetHashCode() 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 cd75dba4a925..c2f2981f1269 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 @@ public override int GetHashCode() 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 3108c8a86913..5768036d6ee8 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 @@ public override int GetHashCode() 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 1ce81eece3ee..23adbc90a2c9 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 @@ public override int GetHashCode() 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 7158640c24e2..9aa0a9877f24 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 @@ -431,11 +431,11 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 @@ -452,33 +452,32 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 75285a73f6ca..6d16feb8ce85 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali 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 3c6298d7d8d2..d802fad7d28e 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 @@ public override int GetHashCode() 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 6fe074907762..4ce9b6c31e33 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 @@ public override int GetHashCode() 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 acf86063d050..041ae44fa66c 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 @@ public override int GetHashCode() 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 e06a3f381f12..e74e48172720 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 @@ public override int GetHashCode() 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 57cc8110fbb8..9f01beb08b7f 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 @@ public override int GetHashCode() 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 691f128ea5fb..9b12ff30b413 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 @@ public enum InnerEnum [EnumMember(Value = "lower")] Lower = 2 } - /// /// Initializes a new instance of the class. /// @@ -184,7 +183,6 @@ public override int GetHashCode() 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 2b62d5975478..6b1ed252df58 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 @@ public override int GetHashCode() 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 bd0255888b86..207015b15fd0 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 @@ public override int GetHashCode() 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 5f51e31aa034..6ec9f15aa946 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 @@ IEnumerable IValidatableObject.Validate(ValidationContext vali { 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 1906ce0b2709..d6d05a763d60 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 @@ public override int GetHashCode() 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 a023e3c3e754..a6b47c1db7a3 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 @@ public override int GetHashCode() 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 690894994947..f41f93a196af 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 @@ public override int GetHashCode() 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 f34052aa706c..27329dafc0ad 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 @@ public override int GetHashCode() 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 3fbd6e83ef29..471f49833f7f 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 @@ public override int GetHashCode() 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 6e4a6ef50e7b..5ff9462225cd 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 @@ public override int GetHashCode() 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 8a3011986ecd..ab89c9c7866e 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 @@ -127,7 +127,6 @@ public override int GetHashCode() 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 7218451d9fb0..680f65bb5eb7 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 @@ public override int GetHashCode() 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 76faa5154c86..956a6037e28e 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 @@ public override int GetHashCode() 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 e9471d3ba022..4509308f1bf6 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 @@ public enum StatusEnum Delivered = 3 } - /// /// Order Status /// @@ -204,7 +203,6 @@ public override int GetHashCode() 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 47d598a27e6f..2f8e9fa96b30 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 @@ public override int GetHashCode() 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 7a7421349903..5959bb6c5543 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 @@ protected IEnumerable BaseValidate(ValidationContext validatio 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 e4722f4a5379..1042c6815e7c 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 @@ public enum StatusEnum Sold = 3 } - /// /// pet status in the store /// @@ -231,7 +230,6 @@ public override int GetHashCode() 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 3a364f98c1e2..0ef627d8f798 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 @@ public override int GetHashCode() 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 46ed3b3948c0..2347c52d3c22 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 @@ public override int GetHashCode() 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 d040204ece33..0597aef60a30 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 @@ public enum RequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -70,7 +69,6 @@ public enum RequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -92,7 +90,6 @@ public enum NotrequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -114,7 +111,6 @@ public enum NotrequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -137,7 +133,6 @@ public enum RequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -159,7 +154,6 @@ public enum RequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -182,7 +176,6 @@ public enum NotrequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -204,7 +197,6 @@ public enum NotrequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -265,7 +257,6 @@ public enum RequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -326,7 +317,6 @@ public enum RequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -387,7 +377,6 @@ public enum NotrequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -448,7 +437,6 @@ public enum NotrequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNotnullableEnumString /// @@ -1036,7 +1024,6 @@ public override int GetHashCode() 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 fec56c44fa82..1a9e51bb1f91 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 @@ public override int GetHashCode() 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 4523238ad385..b5963401bc77 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 @@ public override int GetHashCode() 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 ef21c6091f38..fb1494c5d226 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 @@ public override int GetHashCode() 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 1510bd5c512d..3bab0215b6af 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 @@ public override int GetHashCode() 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 9f8b4dd35b35..0fc8b175603c 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 @@ public override int GetHashCode() 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 266dcfee794c..5201086798b8 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 @@ public override int GetHashCode() 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 33320b76cf1f..82560aecb92c 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 @@ public override int GetHashCode() 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 58eb2c605d15..a16ae7bb2243 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 @@ public override int GetHashCode() 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 f7782b6fd5a7..da2128eb2fd9 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 @@ public override int GetHashCode() 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 8498a5eca78f..3c966ddd217a 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 @@ public override int GetHashCode() 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 457b88ac9c74..1b29845a039b 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 @@ public override int GetHashCode() 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 34fa15105dca..19416f56f423 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 @@ public override int GetHashCode() 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 b7911507a704..2970dd6a428b 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 @@ public override int GetHashCode() 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 50119ed39e76..60a3a44fb3c7 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 @@ public override int GetHashCode() 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 314fae589fc5..66d3e6477268 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 @@ public enum TypeEnum Grevys = 3 } - /// /// Gets or Sets Type /// @@ -174,7 +173,6 @@ public override int GetHashCode() 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 617dcd5f7a09..a5d128e49dc8 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 @@ public enum ZeroBasedEnumEnum NotUnknown } - /// /// Gets or Sets ZeroBasedEnum /// @@ -142,7 +141,6 @@ public override int GetHashCode() 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 939b710f34bb..f0ed14d32ceb 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 @@ public enum PetTypeEnum 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 ef7f75fa434d..f497659feed8 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 @@ public enum JustSymbolEnum Dollar = 2 } - /// /// Gets or Sets JustSymbol /// @@ -73,7 +72,6 @@ public enum ArrayEnumEnum [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 627c8a3acd40..7ab36453cea8 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 @@ public enum EnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumString /// @@ -146,7 +145,6 @@ public enum EnumStringRequiredEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets EnumStringRequired /// @@ -168,7 +166,6 @@ public enum EnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets EnumInteger /// @@ -190,7 +187,6 @@ public enum EnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets EnumIntegerOnly /// @@ -215,7 +211,6 @@ public enum EnumNumberEnum 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 f864601a1a5c..8304a04841ea 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 @@ public enum InnerEnum [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 972e7167b319..7b8121c7a931 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 @@ public enum StatusEnum 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 5c1cdd9be600..ef08c30fe22c 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 @@ public enum StatusEnum 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 eb89d56999fc..09561decefd2 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 @@ public enum RequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNullableEnumInteger /// @@ -68,7 +67,6 @@ public enum RequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets RequiredNotnullableEnumInteger /// @@ -90,7 +88,6 @@ public enum NotrequiredNullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNullableEnumInteger /// @@ -112,7 +109,6 @@ public enum NotrequiredNotnullableEnumIntegerEnum NUMBER_MINUS_1 = -1 } - /// /// Gets or Sets NotrequiredNotnullableEnumInteger /// @@ -135,7 +131,6 @@ public enum RequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNullableEnumIntegerOnly /// @@ -157,7 +152,6 @@ public enum RequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets RequiredNotnullableEnumIntegerOnly /// @@ -180,7 +174,6 @@ public enum NotrequiredNullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNullableEnumIntegerOnly /// @@ -202,7 +195,6 @@ public enum NotrequiredNotnullableEnumIntegerOnlyEnum NUMBER_MINUS_2 = -2 } - /// /// Gets or Sets NotrequiredNotnullableEnumIntegerOnly /// @@ -263,7 +255,6 @@ public enum RequiredNotnullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNotnullableEnumString /// @@ -324,7 +315,6 @@ public enum RequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets RequiredNullableEnumString /// @@ -385,7 +375,6 @@ public enum NotrequiredNullableEnumStringEnum Duplicatevalue2 = 8 } - /// /// Gets or Sets NotrequiredNullableEnumString /// @@ -446,7 +435,6 @@ public enum NotrequiredNotnullableEnumStringEnum 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 e08246f7a4a5..cc2876be0ad6 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 @@ public enum TypeEnum 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 fe2e61437ee4..99ae6c4905ba 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 @@ public enum ZeroBasedEnumEnum 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 abf9425b1ba3..d7ca74351af1 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 732a42be48c0..09f95845fc55 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 f26632075bbe..ebf497ae4c60 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 69d99b022d6f..7e86b98ea396 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 58633a54e851..b063a5d24783 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 9b5347dd1d3c..12cd8d9bab8c 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 5abc8a844b10..7b7573fa5007 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 c91aab6e5067..a4e29e80e10d 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 e64cc22eb5b2..73e1c5a1b2ee 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 e5f793dda338..b9425d48df4c 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 f5e2f79fe202..1dd8d88f7b2c 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 e23baa88fcc6..1ee1cbfca088 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 60ed1b2100b8..3c381418aa33 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 db9c18aa6206..bccc28fb8b3a 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 636ec8e12948..04b07d4c7125 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 2b95a674682b..ab1a4d8f9ba5 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 4000f2096d9d..839466c65d2c 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 5bc3c0cd72fe..166d9f0b0321 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 b3937685f6af..9750e3026729 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 d19362640391..829149f238b2 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 23e47a6b6922..e1886dc3b586 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 7011509e10cf..8a7b7ecdf032 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 92d5dece9e79..9e8949f86af0 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 0342fe0838c9..c4c9f921a42b 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 fbdcefdf0f3e..228c0c719a07 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 cf858376f48b..b429e478be25 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 62847b331593..ed0c64ccd2e8 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 6d9ce70ca049..6f80454b2fd7 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 0dddb61a87a9..12516885761e 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 fd4c4c686193..500be3a46702 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 db218859da04..56c5f10256d5 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 78ca3949a67e..19830ef987b9 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 e3baadf91b2e..ff134a8fecf3 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 7e009e1cf0b5..7be3cac6985b 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 629549ba988a..4d2876a21c00 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 d403c6113332..92ab82210457 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 4758b3a952f6..daa4a8e120b8 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 ba1752474add..891ed4c36898 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 de782511daa3..a1a48a5af9f2 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 fb7df05bff17..10eb81703ad7 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 bc2bdb014447..56e4a6bc9f9b 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 3811893dcada..443bcf64e887 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 fe001247a886..9f727b44f379 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 8a67e9f7a2df..d01e5b3aa2ac 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 a08223070828..99911e3a09a3 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 f1ccca8efdcf..bfda3b712c54 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 7632c89d71d5..0692c25ac6bf 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/JavaTimeFormatter.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3679fb43ba3f..d2a7f4b851c7 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaHelidonClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaHelidonClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; 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 abc3d296fa39..e1ac2ba77f08 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 @@ - public class AdditionalPropertiesClass { private Map mapProperty = null; @@ -105,4 +104,3 @@ private static String toIndentedString(Object o) { 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 cb7b8b0a6811..33c130fcd069 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 @@ - public class AllOfWithSingleRef { private String username; @@ -94,4 +93,3 @@ private static String toIndentedString(Object o) { 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 52742a478bb8..7ab81113e36b 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 @@ - public class Animal { private String className; @@ -96,4 +95,3 @@ private static String toIndentedString(Object o) { 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 80114154d940..48b01de132dd 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 @@ - public class ArrayOfArrayOfNumberOnly { private List> arrayArrayNumber = null; @@ -79,4 +78,3 @@ private static String toIndentedString(Object o) { 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 b06f05338a4e..3f0a08e04deb 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 @@ - public class ArrayOfNumberOnly { private List arrayNumber = null; @@ -79,4 +78,3 @@ private static String toIndentedString(Object o) { 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 d9ee320b0bdd..fbd30068de96 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 @@ - public class ArrayTest { private List arrayOfString = null; @@ -135,4 +134,3 @@ private static String toIndentedString(Object o) { 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 f6d3fde93d48..a01d3056e607 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 @@ - public class Capitalization { private String smallCamel; @@ -188,4 +187,3 @@ private static String toIndentedString(Object o) { 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 be9c69545616..fd78521fde63 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 @@ - public class Cat extends Animal { private Boolean declawed; @@ -74,4 +73,3 @@ private static String toIndentedString(Object o) { 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 8da990111047..89b04cabaa84 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 @@ - public class Category { private Long id; @@ -93,4 +92,3 @@ private static String toIndentedString(Object o) { 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 90b2f7ceb09b..c6617f65489b 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 @@ - public class ChildWithNullable extends ParentWithNullable { private String otherProperty; @@ -75,4 +74,3 @@ private static String toIndentedString(Object o) { 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 de44db959bc3..5c7b65546209 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 @@ /** * Model for testing model with \"_class\" property **/ - public class ClassModel { private String propertyClass; @@ -73,4 +72,3 @@ private static String toIndentedString(Object o) { 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 0ad715df8def..06d16b9b9cb8 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 @@ - public class Client { private String client; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 aaaed8e7f3e4..157ab8092d58 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 @@ - public class DeprecatedObject { private String name; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 069dab8392d5..51983bed091c 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 @@ - public class Dog extends Animal { private String breed; @@ -74,4 +73,3 @@ private static String toIndentedString(Object o) { 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 38d88dc16fd8..1d2150a85620 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 @@ - public class EnumArrays { public enum JustSymbolEnum { @@ -143,4 +142,3 @@ private static String toIndentedString(Object o) { 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 eed52272f705..e642082e5558 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 static EnumClass fromValue(String text) { 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 538f09adcede..14ac92c1d439 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 @@ - public class EnumTest { public enum EnumStringEnum { @@ -322,4 +321,3 @@ private static String toIndentedString(Object o) { 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 f671eb33e5ca..65f359485270 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 @@ - public class FakeBigDecimalMap200Response { private BigDecimal someId; @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 f867e747aaba..484b6407be19 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 @@ - public class FileSchemaTestClass { private ModelFile _file; @@ -102,4 +101,3 @@ private static String toIndentedString(Object o) { 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 fcafaf7682c1..b776b0ceb3b4 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 @@ - public class Foo { private String bar = "bar"; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 27971dae9168..9f8d25607e14 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 @@ - public class FooGetDefaultResponse { private Foo string; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 1f3fc84b65ae..0d97cf0fb43e 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 @@ - public class FormatTest { private Integer integer; @@ -436,4 +435,3 @@ private static String toIndentedString(Object o) { 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 72566c02dde9..59eb5f33b1b7 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 @@ - public class HasOnlyReadOnly { private String bar; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 35e104b4b12f..8e9ecfcc2b57 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 @@ /** * 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 @@ private static String toIndentedString(Object o) { 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 ec54a8ae4210..013add4b44c6 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 @@ - public class MapTest { private Map> mapMapOfString = null; @@ -182,4 +181,3 @@ private static String toIndentedString(Object o) { 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 de307d1e2860..f93fed716aba 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 @@ - public class MixedPropertiesAndAdditionalPropertiesClass { private UUID uuid; @@ -126,4 +125,3 @@ private static String toIndentedString(Object o) { 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 393f65f83e93..16f006b17e6b 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 @@ /** * Model for testing model name starting with number **/ - public class Model200Response { private Integer name; @@ -96,4 +95,3 @@ private static String toIndentedString(Object o) { 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 881fc2677d27..31eba756a9d6 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 @@ - public class ModelApiResponse { private Integer code; @@ -116,4 +115,3 @@ private static String toIndentedString(Object o) { 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 3c1cf785ea51..bdeb864521d5 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 @@ /** * Must be named `File` for test. **/ - public class ModelFile { /** @@ -76,4 +75,3 @@ private static String toIndentedString(Object o) { 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 0c2e7ffb39d2..294ad403a4de 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 @@ - public class ModelList { private String _123list; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 7d948f62e2ce..66f7828eb007 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 @@ /** * Model for testing reserved words **/ - public class ModelReturn { private Integer _return; @@ -73,4 +72,3 @@ private static String toIndentedString(Object o) { 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 ba07eb915237..1d295d271b71 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 @@ /** * Model for testing model name same as property name **/ - public class Name { private Integer name; @@ -120,4 +119,3 @@ private static String toIndentedString(Object o) { 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 91af4dd3894f..3d2a80170764 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 @@ - public class NullableClass extends HashMap { private Integer integerProp; @@ -364,4 +363,3 @@ private static String toIndentedString(Object o) { 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 5d493bccf260..00ecd6c8dc33 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 @@ - public class NumberOnly { private BigDecimal justNumber; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 254b7df22cb4..aa09ec6762d9 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 @@ - public class ObjectWithDeprecatedFields { private String uuid; @@ -155,4 +154,3 @@ private static String toIndentedString(Object o) { 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 84ce8e3fa1fb..9f2a1b5e2f30 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 @@ - public class Order { private Long id; @@ -210,4 +209,3 @@ private static String toIndentedString(Object o) { 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 6ba3d1712d42..8b88efe87d86 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 @@ - public class OuterComposite { private BigDecimal myNumber; @@ -117,4 +116,3 @@ private static String toIndentedString(Object o) { 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 9fe96db3f6ef..e1bb31759af2 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 static OuterEnum fromValue(String text) { 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 f5b732f784f0..a6717dea7b0b 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 static OuterEnumDefaultValue fromValue(String text) { 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 0ca88b32ee6c..48d976f4bffe 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 static OuterEnumInteger fromValue(String text) { 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 06f9fe6c371e..594884a48f66 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 static OuterEnumIntegerDefaultValue fromValue(String text) { 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 b25e8e37ae7f..e0cc28e11cbb 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 @@ - public class OuterObjectWithEnumProperty { private OuterEnumInteger value; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 d22980be614c..9181a55aada3 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 @@ - public class ParentWithNullable { public enum TypeEnum { @@ -120,4 +119,3 @@ private static String toIndentedString(Object o) { 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 3960d4372775..e6c5942b8eb7 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 @@ - public class Pet { private Long id; @@ -228,4 +227,3 @@ private static String toIndentedString(Object o) { 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 15344cbf0dc1..587c2bb2dadb 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 @@ - public class ReadOnlyFirst { private String bar; @@ -82,4 +81,3 @@ private static String toIndentedString(Object o) { 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 d46fc6c116ff..315f92c0321c 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 static SingleRefType fromValue(String text) { 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 af5166268f75..e74b64d52c93 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 @@ - public class SpecialModelName { private Long $specialPropertyName; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 1dee37e39368..b9d424b44209 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 @@ - public class Tag { private Long id; @@ -93,4 +92,3 @@ private static String toIndentedString(Object o) { 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 e46c4bb382de..191fad75c7f4 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 @@ - public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { private String someProperty; @@ -72,4 +71,3 @@ private static String toIndentedString(Object o) { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/User.java index c088a4d15d58..ecc0d711f8f4 100644 --- a/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java-helidon-client/v3/mp/src/main/java/org/openapitools/client/model/User.java @@ -20,7 +20,6 @@ - public class User { private Long id; @@ -234,4 +233,3 @@ private static String toIndentedString(Object o) { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index abc3d296fa39..e1ac2ba77f08 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -22,7 +22,6 @@ - public class AdditionalPropertiesClass { private Map mapProperty = null; @@ -105,4 +104,3 @@ private static String toIndentedString(Object o) { 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 cb7b8b0a6811..33c130fcd069 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 @@ - public class AllOfWithSingleRef { private String username; @@ -94,4 +93,3 @@ private static String toIndentedString(Object o) { 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 52742a478bb8..7ab81113e36b 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 @@ - public class Animal { private String className; @@ -96,4 +95,3 @@ private static String toIndentedString(Object o) { 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 80114154d940..48b01de132dd 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 @@ - public class ArrayOfArrayOfNumberOnly { private List> arrayArrayNumber = null; @@ -79,4 +78,3 @@ private static String toIndentedString(Object o) { 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 b06f05338a4e..3f0a08e04deb 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 @@ - public class ArrayOfNumberOnly { private List arrayNumber = null; @@ -79,4 +78,3 @@ private static String toIndentedString(Object o) { 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 d9ee320b0bdd..fbd30068de96 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 @@ - public class ArrayTest { private List arrayOfString = null; @@ -135,4 +134,3 @@ private static String toIndentedString(Object o) { 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 f6d3fde93d48..a01d3056e607 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 @@ - public class Capitalization { private String smallCamel; @@ -188,4 +187,3 @@ private static String toIndentedString(Object o) { 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 be9c69545616..fd78521fde63 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 @@ - public class Cat extends Animal { private Boolean declawed; @@ -74,4 +73,3 @@ private static String toIndentedString(Object o) { 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 8da990111047..89b04cabaa84 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 @@ - public class Category { private Long id; @@ -93,4 +92,3 @@ private static String toIndentedString(Object o) { 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 90b2f7ceb09b..c6617f65489b 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 @@ - public class ChildWithNullable extends ParentWithNullable { private String otherProperty; @@ -75,4 +74,3 @@ private static String toIndentedString(Object o) { 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 de44db959bc3..5c7b65546209 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 @@ /** * Model for testing model with \"_class\" property **/ - public class ClassModel { private String propertyClass; @@ -73,4 +72,3 @@ private static String toIndentedString(Object o) { 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 0ad715df8def..06d16b9b9cb8 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 @@ - public class Client { private String client; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 aaaed8e7f3e4..157ab8092d58 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 @@ - public class DeprecatedObject { private String name; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 069dab8392d5..51983bed091c 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 @@ - public class Dog extends Animal { private String breed; @@ -74,4 +73,3 @@ private static String toIndentedString(Object o) { 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 38d88dc16fd8..1d2150a85620 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 @@ - public class EnumArrays { public enum JustSymbolEnum { @@ -143,4 +142,3 @@ private static String toIndentedString(Object o) { 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 eed52272f705..e642082e5558 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 static EnumClass fromValue(String text) { 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 538f09adcede..14ac92c1d439 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 @@ - public class EnumTest { public enum EnumStringEnum { @@ -322,4 +321,3 @@ private static String toIndentedString(Object o) { 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 f671eb33e5ca..65f359485270 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 @@ - public class FakeBigDecimalMap200Response { private BigDecimal someId; @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 f867e747aaba..484b6407be19 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 @@ - public class FileSchemaTestClass { private ModelFile _file; @@ -102,4 +101,3 @@ private static String toIndentedString(Object o) { 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 fcafaf7682c1..b776b0ceb3b4 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 @@ - public class Foo { private String bar = "bar"; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 27971dae9168..9f8d25607e14 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 @@ - public class FooGetDefaultResponse { private Foo string; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 1f3fc84b65ae..0d97cf0fb43e 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 @@ - public class FormatTest { private Integer integer; @@ -436,4 +435,3 @@ private static String toIndentedString(Object o) { 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 72566c02dde9..59eb5f33b1b7 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 @@ - public class HasOnlyReadOnly { private String bar; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 35e104b4b12f..8e9ecfcc2b57 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 @@ /** * 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 @@ private static String toIndentedString(Object o) { 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 ec54a8ae4210..013add4b44c6 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 @@ - public class MapTest { private Map> mapMapOfString = null; @@ -182,4 +181,3 @@ private static String toIndentedString(Object o) { 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 de307d1e2860..f93fed716aba 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 @@ - public class MixedPropertiesAndAdditionalPropertiesClass { private UUID uuid; @@ -126,4 +125,3 @@ private static String toIndentedString(Object o) { 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 393f65f83e93..16f006b17e6b 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 @@ /** * Model for testing model name starting with number **/ - public class Model200Response { private Integer name; @@ -96,4 +95,3 @@ private static String toIndentedString(Object o) { 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 881fc2677d27..31eba756a9d6 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 @@ - public class ModelApiResponse { private Integer code; @@ -116,4 +115,3 @@ private static String toIndentedString(Object o) { 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 3c1cf785ea51..bdeb864521d5 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 @@ /** * Must be named `File` for test. **/ - public class ModelFile { /** @@ -76,4 +75,3 @@ private static String toIndentedString(Object o) { 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 0c2e7ffb39d2..294ad403a4de 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 @@ - public class ModelList { private String _123list; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 7d948f62e2ce..66f7828eb007 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 @@ /** * Model for testing reserved words **/ - public class ModelReturn { private Integer _return; @@ -73,4 +72,3 @@ private static String toIndentedString(Object o) { 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 ba07eb915237..1d295d271b71 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 @@ /** * Model for testing model name same as property name **/ - public class Name { private Integer name; @@ -120,4 +119,3 @@ private static String toIndentedString(Object o) { 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 91af4dd3894f..3d2a80170764 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 @@ - public class NullableClass extends HashMap { private Integer integerProp; @@ -364,4 +363,3 @@ private static String toIndentedString(Object o) { 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 5d493bccf260..00ecd6c8dc33 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 @@ - public class NumberOnly { private BigDecimal justNumber; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 254b7df22cb4..aa09ec6762d9 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 @@ - public class ObjectWithDeprecatedFields { private String uuid; @@ -155,4 +154,3 @@ private static String toIndentedString(Object o) { 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 84ce8e3fa1fb..9f2a1b5e2f30 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 @@ - public class Order { private Long id; @@ -210,4 +209,3 @@ private static String toIndentedString(Object o) { 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 6ba3d1712d42..8b88efe87d86 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 @@ - public class OuterComposite { private BigDecimal myNumber; @@ -117,4 +116,3 @@ private static String toIndentedString(Object o) { 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 9fe96db3f6ef..e1bb31759af2 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 static OuterEnum fromValue(String text) { 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 f5b732f784f0..a6717dea7b0b 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 static OuterEnumDefaultValue fromValue(String text) { 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 0ca88b32ee6c..48d976f4bffe 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 static OuterEnumInteger fromValue(String text) { 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 06f9fe6c371e..594884a48f66 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 static OuterEnumIntegerDefaultValue fromValue(String text) { 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 b25e8e37ae7f..e0cc28e11cbb 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 @@ - public class OuterObjectWithEnumProperty { private OuterEnumInteger value; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 d22980be614c..9181a55aada3 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 @@ - public class ParentWithNullable { public enum TypeEnum { @@ -120,4 +119,3 @@ private static String toIndentedString(Object o) { 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 3960d4372775..e6c5942b8eb7 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 @@ - public class Pet { private Long id; @@ -228,4 +227,3 @@ private static String toIndentedString(Object o) { 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 15344cbf0dc1..587c2bb2dadb 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 @@ - public class ReadOnlyFirst { private String bar; @@ -82,4 +81,3 @@ private static String toIndentedString(Object o) { 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 d46fc6c116ff..315f92c0321c 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 static SingleRefType fromValue(String text) { 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 af5166268f75..e74b64d52c93 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 @@ - public class SpecialModelName { private Long $specialPropertyName; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 1dee37e39368..b9d424b44209 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 @@ - public class Tag { private Long id; @@ -93,4 +92,3 @@ private static String toIndentedString(Object o) { 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 e46c4bb382de..191fad75c7f4 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 @@ - public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { private String someProperty; @@ -72,4 +71,3 @@ private static String toIndentedString(Object o) { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/User.java index c088a4d15d58..ecc0d711f8f4 100644 --- a/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java-helidon-client/v3/se/src/main/java/org/openapitools/client/model/User.java @@ -20,7 +20,6 @@ - public class User { private Long id; @@ -234,4 +233,3 @@ private static String toIndentedString(Object o) { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3679fb43ba3f..d2a7f4b851c7 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaHelidonClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaHelidonClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index abc3d296fa39..e1ac2ba77f08 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -22,7 +22,6 @@ - public class AdditionalPropertiesClass { private Map mapProperty = null; @@ -105,4 +104,3 @@ private static String toIndentedString(Object o) { 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 cb7b8b0a6811..33c130fcd069 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 @@ - public class AllOfWithSingleRef { private String username; @@ -94,4 +93,3 @@ private static String toIndentedString(Object o) { 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 52742a478bb8..7ab81113e36b 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 @@ - public class Animal { private String className; @@ -96,4 +95,3 @@ private static String toIndentedString(Object o) { 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 80114154d940..48b01de132dd 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 @@ - public class ArrayOfArrayOfNumberOnly { private List> arrayArrayNumber = null; @@ -79,4 +78,3 @@ private static String toIndentedString(Object o) { 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 b06f05338a4e..3f0a08e04deb 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 @@ - public class ArrayOfNumberOnly { private List arrayNumber = null; @@ -79,4 +78,3 @@ private static String toIndentedString(Object o) { 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 d9ee320b0bdd..fbd30068de96 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 @@ - public class ArrayTest { private List arrayOfString = null; @@ -135,4 +134,3 @@ private static String toIndentedString(Object o) { 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 f6d3fde93d48..a01d3056e607 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 @@ - public class Capitalization { private String smallCamel; @@ -188,4 +187,3 @@ private static String toIndentedString(Object o) { 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 be9c69545616..fd78521fde63 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 @@ - public class Cat extends Animal { private Boolean declawed; @@ -74,4 +73,3 @@ private static String toIndentedString(Object o) { 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 8da990111047..89b04cabaa84 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 @@ - public class Category { private Long id; @@ -93,4 +92,3 @@ private static String toIndentedString(Object o) { 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 90b2f7ceb09b..c6617f65489b 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 @@ - public class ChildWithNullable extends ParentWithNullable { private String otherProperty; @@ -75,4 +74,3 @@ private static String toIndentedString(Object o) { 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 de44db959bc3..5c7b65546209 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 @@ /** * Model for testing model with \"_class\" property **/ - public class ClassModel { private String propertyClass; @@ -73,4 +72,3 @@ private static String toIndentedString(Object o) { 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 0ad715df8def..06d16b9b9cb8 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 @@ - public class Client { private String client; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 aaaed8e7f3e4..157ab8092d58 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 @@ - public class DeprecatedObject { private String name; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 069dab8392d5..51983bed091c 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 @@ - public class Dog extends Animal { private String breed; @@ -74,4 +73,3 @@ private static String toIndentedString(Object o) { 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 38d88dc16fd8..1d2150a85620 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 @@ - public class EnumArrays { public enum JustSymbolEnum { @@ -143,4 +142,3 @@ private static String toIndentedString(Object o) { 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 eed52272f705..e642082e5558 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 static EnumClass fromValue(String text) { 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 538f09adcede..14ac92c1d439 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 @@ - public class EnumTest { public enum EnumStringEnum { @@ -322,4 +321,3 @@ private static String toIndentedString(Object o) { 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 f671eb33e5ca..65f359485270 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 @@ - public class FakeBigDecimalMap200Response { private BigDecimal someId; @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 f867e747aaba..484b6407be19 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 @@ - public class FileSchemaTestClass { private ModelFile _file; @@ -102,4 +101,3 @@ private static String toIndentedString(Object o) { 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 fcafaf7682c1..b776b0ceb3b4 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 @@ - public class Foo { private String bar = "bar"; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 27971dae9168..9f8d25607e14 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 @@ - public class FooGetDefaultResponse { private Foo string; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 1f3fc84b65ae..0d97cf0fb43e 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 @@ - public class FormatTest { private Integer integer; @@ -436,4 +435,3 @@ private static String toIndentedString(Object o) { 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 72566c02dde9..59eb5f33b1b7 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 @@ - public class HasOnlyReadOnly { private String bar; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 35e104b4b12f..8e9ecfcc2b57 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 @@ /** * 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 @@ private static String toIndentedString(Object o) { 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 ec54a8ae4210..013add4b44c6 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 @@ - public class MapTest { private Map> mapMapOfString = null; @@ -182,4 +181,3 @@ private static String toIndentedString(Object o) { 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 de307d1e2860..f93fed716aba 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 @@ - public class MixedPropertiesAndAdditionalPropertiesClass { private UUID uuid; @@ -126,4 +125,3 @@ private static String toIndentedString(Object o) { 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 393f65f83e93..16f006b17e6b 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 @@ /** * Model for testing model name starting with number **/ - public class Model200Response { private Integer name; @@ -96,4 +95,3 @@ private static String toIndentedString(Object o) { 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 881fc2677d27..31eba756a9d6 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 @@ - public class ModelApiResponse { private Integer code; @@ -116,4 +115,3 @@ private static String toIndentedString(Object o) { 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 3c1cf785ea51..bdeb864521d5 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 @@ /** * Must be named `File` for test. **/ - public class ModelFile { /** @@ -76,4 +75,3 @@ private static String toIndentedString(Object o) { 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 0c2e7ffb39d2..294ad403a4de 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 @@ - public class ModelList { private String _123list; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 7d948f62e2ce..66f7828eb007 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 @@ /** * Model for testing reserved words **/ - public class ModelReturn { private Integer _return; @@ -73,4 +72,3 @@ private static String toIndentedString(Object o) { 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 ba07eb915237..1d295d271b71 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 @@ /** * Model for testing model name same as property name **/ - public class Name { private Integer name; @@ -120,4 +119,3 @@ private static String toIndentedString(Object o) { 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 91af4dd3894f..3d2a80170764 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 @@ - public class NullableClass extends HashMap { private Integer integerProp; @@ -364,4 +363,3 @@ private static String toIndentedString(Object o) { 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 5d493bccf260..00ecd6c8dc33 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 @@ - public class NumberOnly { private BigDecimal justNumber; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 254b7df22cb4..aa09ec6762d9 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 @@ - public class ObjectWithDeprecatedFields { private String uuid; @@ -155,4 +154,3 @@ private static String toIndentedString(Object o) { 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 84ce8e3fa1fb..9f2a1b5e2f30 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 @@ - public class Order { private Long id; @@ -210,4 +209,3 @@ private static String toIndentedString(Object o) { 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 6ba3d1712d42..8b88efe87d86 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 @@ - public class OuterComposite { private BigDecimal myNumber; @@ -117,4 +116,3 @@ private static String toIndentedString(Object o) { 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 9fe96db3f6ef..e1bb31759af2 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 static OuterEnum fromValue(String text) { 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 f5b732f784f0..a6717dea7b0b 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 static OuterEnumDefaultValue fromValue(String text) { 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 0ca88b32ee6c..48d976f4bffe 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 static OuterEnumInteger fromValue(String text) { 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 06f9fe6c371e..594884a48f66 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 static OuterEnumIntegerDefaultValue fromValue(String text) { 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 b25e8e37ae7f..e0cc28e11cbb 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 @@ - public class OuterObjectWithEnumProperty { private OuterEnumInteger value; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 d22980be614c..9181a55aada3 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 @@ - public class ParentWithNullable { public enum TypeEnum { @@ -120,4 +119,3 @@ private static String toIndentedString(Object o) { 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 3960d4372775..e6c5942b8eb7 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 @@ - public class Pet { private Long id; @@ -228,4 +227,3 @@ private static String toIndentedString(Object o) { 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 15344cbf0dc1..587c2bb2dadb 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 @@ - public class ReadOnlyFirst { private String bar; @@ -82,4 +81,3 @@ private static String toIndentedString(Object o) { 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 d46fc6c116ff..315f92c0321c 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 static SingleRefType fromValue(String text) { 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 af5166268f75..e74b64d52c93 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 @@ - public class SpecialModelName { private Long $specialPropertyName; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 1dee37e39368..b9d424b44209 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 @@ - public class Tag { private Long id; @@ -93,4 +92,3 @@ private static String toIndentedString(Object o) { 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 e46c4bb382de..191fad75c7f4 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 @@ - public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { private String someProperty; @@ -72,4 +71,3 @@ private static String toIndentedString(Object o) { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/User.java index c088a4d15d58..ecc0d711f8f4 100644 --- a/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java-helidon-client/v4/mp/src/main/java/org/openapitools/client/model/User.java @@ -20,7 +20,6 @@ - public class User { private Long id; @@ -234,4 +233,3 @@ private static String toIndentedString(Object o) { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index abc3d296fa39..e1ac2ba77f08 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -22,7 +22,6 @@ - public class AdditionalPropertiesClass { private Map mapProperty = null; @@ -105,4 +104,3 @@ private static String toIndentedString(Object o) { 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 cb7b8b0a6811..33c130fcd069 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 @@ - public class AllOfWithSingleRef { private String username; @@ -94,4 +93,3 @@ private static String toIndentedString(Object o) { 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 52742a478bb8..7ab81113e36b 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 @@ - public class Animal { private String className; @@ -96,4 +95,3 @@ private static String toIndentedString(Object o) { 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 80114154d940..48b01de132dd 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 @@ - public class ArrayOfArrayOfNumberOnly { private List> arrayArrayNumber = null; @@ -79,4 +78,3 @@ private static String toIndentedString(Object o) { 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 b06f05338a4e..3f0a08e04deb 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 @@ - public class ArrayOfNumberOnly { private List arrayNumber = null; @@ -79,4 +78,3 @@ private static String toIndentedString(Object o) { 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 d9ee320b0bdd..fbd30068de96 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 @@ - public class ArrayTest { private List arrayOfString = null; @@ -135,4 +134,3 @@ private static String toIndentedString(Object o) { 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 f6d3fde93d48..a01d3056e607 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 @@ - public class Capitalization { private String smallCamel; @@ -188,4 +187,3 @@ private static String toIndentedString(Object o) { 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 be9c69545616..fd78521fde63 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 @@ - public class Cat extends Animal { private Boolean declawed; @@ -74,4 +73,3 @@ private static String toIndentedString(Object o) { 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 8da990111047..89b04cabaa84 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 @@ - public class Category { private Long id; @@ -93,4 +92,3 @@ private static String toIndentedString(Object o) { 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 90b2f7ceb09b..c6617f65489b 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 @@ - public class ChildWithNullable extends ParentWithNullable { private String otherProperty; @@ -75,4 +74,3 @@ private static String toIndentedString(Object o) { 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 de44db959bc3..5c7b65546209 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 @@ /** * Model for testing model with \"_class\" property **/ - public class ClassModel { private String propertyClass; @@ -73,4 +72,3 @@ private static String toIndentedString(Object o) { 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 0ad715df8def..06d16b9b9cb8 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 @@ - public class Client { private String client; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 aaaed8e7f3e4..157ab8092d58 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 @@ - public class DeprecatedObject { private String name; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 069dab8392d5..51983bed091c 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 @@ - public class Dog extends Animal { private String breed; @@ -74,4 +73,3 @@ private static String toIndentedString(Object o) { 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 38d88dc16fd8..1d2150a85620 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 @@ - public class EnumArrays { public enum JustSymbolEnum { @@ -143,4 +142,3 @@ private static String toIndentedString(Object o) { 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 eed52272f705..e642082e5558 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 static EnumClass fromValue(String text) { 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 538f09adcede..14ac92c1d439 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 @@ - public class EnumTest { public enum EnumStringEnum { @@ -322,4 +321,3 @@ private static String toIndentedString(Object o) { 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 f671eb33e5ca..65f359485270 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 @@ - public class FakeBigDecimalMap200Response { private BigDecimal someId; @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 f867e747aaba..484b6407be19 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 @@ - public class FileSchemaTestClass { private ModelFile _file; @@ -102,4 +101,3 @@ private static String toIndentedString(Object o) { 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 fcafaf7682c1..b776b0ceb3b4 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 @@ - public class Foo { private String bar = "bar"; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 27971dae9168..9f8d25607e14 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 @@ - public class FooGetDefaultResponse { private Foo string; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 1f3fc84b65ae..0d97cf0fb43e 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 @@ - public class FormatTest { private Integer integer; @@ -436,4 +435,3 @@ private static String toIndentedString(Object o) { 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 72566c02dde9..59eb5f33b1b7 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 @@ - public class HasOnlyReadOnly { private String bar; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 35e104b4b12f..8e9ecfcc2b57 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 @@ /** * 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 @@ private static String toIndentedString(Object o) { 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 ec54a8ae4210..013add4b44c6 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 @@ - public class MapTest { private Map> mapMapOfString = null; @@ -182,4 +181,3 @@ private static String toIndentedString(Object o) { 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 de307d1e2860..f93fed716aba 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 @@ - public class MixedPropertiesAndAdditionalPropertiesClass { private UUID uuid; @@ -126,4 +125,3 @@ private static String toIndentedString(Object o) { 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 393f65f83e93..16f006b17e6b 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 @@ /** * Model for testing model name starting with number **/ - public class Model200Response { private Integer name; @@ -96,4 +95,3 @@ private static String toIndentedString(Object o) { 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 881fc2677d27..31eba756a9d6 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 @@ - public class ModelApiResponse { private Integer code; @@ -116,4 +115,3 @@ private static String toIndentedString(Object o) { 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 3c1cf785ea51..bdeb864521d5 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 @@ /** * Must be named `File` for test. **/ - public class ModelFile { /** @@ -76,4 +75,3 @@ private static String toIndentedString(Object o) { 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 0c2e7ffb39d2..294ad403a4de 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 @@ - public class ModelList { private String _123list; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 7d948f62e2ce..66f7828eb007 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 @@ /** * Model for testing reserved words **/ - public class ModelReturn { private Integer _return; @@ -73,4 +72,3 @@ private static String toIndentedString(Object o) { 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 ba07eb915237..1d295d271b71 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 @@ /** * Model for testing model name same as property name **/ - public class Name { private Integer name; @@ -120,4 +119,3 @@ private static String toIndentedString(Object o) { 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 91af4dd3894f..3d2a80170764 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 @@ - public class NullableClass extends HashMap { private Integer integerProp; @@ -364,4 +363,3 @@ private static String toIndentedString(Object o) { 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 5d493bccf260..00ecd6c8dc33 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 @@ - public class NumberOnly { private BigDecimal justNumber; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 254b7df22cb4..aa09ec6762d9 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 @@ - public class ObjectWithDeprecatedFields { private String uuid; @@ -155,4 +154,3 @@ private static String toIndentedString(Object o) { 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 84ce8e3fa1fb..9f2a1b5e2f30 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 @@ - public class Order { private Long id; @@ -210,4 +209,3 @@ private static String toIndentedString(Object o) { 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 6ba3d1712d42..8b88efe87d86 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 @@ - public class OuterComposite { private BigDecimal myNumber; @@ -117,4 +116,3 @@ private static String toIndentedString(Object o) { 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 9fe96db3f6ef..e1bb31759af2 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 static OuterEnum fromValue(String text) { 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 f5b732f784f0..a6717dea7b0b 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 static OuterEnumDefaultValue fromValue(String text) { 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 0ca88b32ee6c..48d976f4bffe 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 static OuterEnumInteger fromValue(String text) { 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 06f9fe6c371e..594884a48f66 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 static OuterEnumIntegerDefaultValue fromValue(String text) { 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 b25e8e37ae7f..e0cc28e11cbb 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 @@ - public class OuterObjectWithEnumProperty { private OuterEnumInteger value; @@ -71,4 +70,3 @@ private static String toIndentedString(Object o) { 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 d22980be614c..9181a55aada3 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 @@ - public class ParentWithNullable { public enum TypeEnum { @@ -120,4 +119,3 @@ private static String toIndentedString(Object o) { 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 3960d4372775..e6c5942b8eb7 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 @@ - public class Pet { private Long id; @@ -228,4 +227,3 @@ private static String toIndentedString(Object o) { 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 15344cbf0dc1..587c2bb2dadb 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 @@ - public class ReadOnlyFirst { private String bar; @@ -82,4 +81,3 @@ private static String toIndentedString(Object o) { 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 d46fc6c116ff..315f92c0321c 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 static SingleRefType fromValue(String text) { 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 af5166268f75..e74b64d52c93 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 @@ - public class SpecialModelName { private Long $specialPropertyName; @@ -70,4 +69,3 @@ private static String toIndentedString(Object o) { 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 1dee37e39368..b9d424b44209 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 @@ - public class Tag { private Long id; @@ -93,4 +92,3 @@ private static String toIndentedString(Object o) { 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 e46c4bb382de..191fad75c7f4 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 @@ - public class TestInlineFreeformAdditionalPropertiesRequest extends HashMap { private String someProperty; @@ -72,4 +71,3 @@ private static String toIndentedString(Object o) { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/User.java index c088a4d15d58..ecc0d711f8f4 100644 --- a/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java-helidon-client/v4/se/src/main/java/org/openapitools/client/model/User.java @@ -20,7 +20,6 @@ - public class User { private Long id; @@ -234,4 +233,3 @@ private static String toIndentedString(Object o) { return o.toString().replace("\n", "\n "); } } - diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/AnotherFakeApi.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/AnotherFakeApi.java index 112eb92a55a7..f6da6cd0350a 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/AnotherFakeApi.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/AnotherFakeApi.java @@ -27,8 +27,7 @@ import javax.validation.Valid; import javax.validation.constraints.*; -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Client("${petstore-micronaut-base-path}") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Client("${petstore-micronaut-base-path}") public interface AnotherFakeApi { /** * To test special tags diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java index 950d610b5141..3163ac2b4287 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeApi.java @@ -34,8 +34,7 @@ import javax.validation.Valid; import javax.validation.constraints.*; -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Client("${petstore-micronaut-base-path}") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Client("${petstore-micronaut-base-path}") public interface FakeApi { /** * creates an XmlItem diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java index 5227f1debb91..81f3990bfa99 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java @@ -26,8 +26,7 @@ import javax.validation.Valid; import javax.validation.constraints.*; -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Client("${petstore-micronaut-base-path}") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Client("${petstore-micronaut-base-path}") public interface FakeClassnameTags123Api { /** * To test class name in snake case diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/PetApi.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/PetApi.java index 1700ac22f4da..943566dafee1 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/PetApi.java @@ -29,8 +29,7 @@ import javax.validation.Valid; import javax.validation.constraints.*; -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Client("${petstore-micronaut-base-path}") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Client("${petstore-micronaut-base-path}") public interface PetApi { /** * Add a new pet to the store diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/StoreApi.java index 932e3518daa2..25d4eded75f8 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/StoreApi.java @@ -26,8 +26,7 @@ import javax.validation.Valid; import javax.validation.constraints.*; -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Client("${petstore-micronaut-base-path}") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Client("${petstore-micronaut-base-path}") public interface StoreApi { /** * Delete purchase order by ID diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/UserApi.java index b65ddd631fda..019421442ccc 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/api/UserApi.java @@ -27,8 +27,7 @@ import javax.validation.Valid; import javax.validation.constraints.*; -@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Client("${petstore-micronaut-base-path}") +@Generated(value="org.openapitools.codegen.languages.JavaMicronautClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Client("${petstore-micronaut-base-path}") public interface UserApi { /** * Create user diff --git a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesAnyType.java index 3d2120f928df..eaa8be17c33d 100644 --- a/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java-micronaut-client/src/main/java/org/openapitools/model/AdditionalPropertiesAnyType.java @@ -101,4 +101,3 @@ private String toIndentedString(Object o) { } } - 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 ee8af97e3c3a..f4b8fa9a656d 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 @@ private String toIndentedString(Object o) { } } - 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 dcca52e8f6e7..71955387f942 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 @@ private String toIndentedString(Object o) { } } - 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 18c7d94ef1ff..450d5aa3f061 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 @@ private String toIndentedString(Object o) { } } - 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 2f5f3fd5461a..a411d09a4939 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 @@ private String toIndentedString(Object o) { } } - 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 87607539d055..01df989399ac 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 @@ private String toIndentedString(Object o) { } } - 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 c651b8720476..b1c5d017e5b8 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 @@ private String toIndentedString(Object o) { } } - 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 7bbb7320d627..ee14582023b5 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 @@ private String toIndentedString(Object o) { } } - 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 222ca6e6c841..b7cb139832b3 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 @@ -161,4 +161,3 @@ public interface Visitor { } } - 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 8eaab5ccf3fc..fd543c2771d7 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 @@ private String toIndentedString(Object o) { } } - 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 c3bafc9426ba..8e8fc66d9388 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 @@ private String toIndentedString(Object o) { } } - 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 f22821152897..ccfd86c3b907 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 @@ private String toIndentedString(Object o) { } } - 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 00c87398f8bf..7e4182cc57ff 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 @@ -66,8 +66,7 @@ public static KindEnum fromValue(String value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_KIND = "kind"; + } public static final String JSON_PROPERTY_KIND = "kind"; private KindEnum kind; public BigCat() { @@ -139,4 +138,3 @@ public T accept(Cat.Visitor visitor) { 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 382905e177ce..5609ca4eca19 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 @@ private String toIndentedString(Object o) { } } - 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 0c91f9b86b1c..b084ddb007b2 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 T accept(Animal.Visitor visitor) { 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 920d8c2a16a9..22d16d4e2e31 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 @@ private String toIndentedString(Object o) { } } - 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 730e08548e9f..d80aff809d19 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 @@ private String toIndentedString(Object o) { } } - 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 3334e3a62abf..3d3e41a8a2c6 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 T accept(Animal.Visitor visitor) { 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 95fed15587a2..423b20d03e2e 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 @@ -67,8 +67,7 @@ public static JustSymbolEnum fromValue(String value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; + } public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; /** @@ -103,8 +102,7 @@ public static ArrayEnumEnum fromValue(String value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; + } public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = null; public EnumArrays() { @@ -201,4 +199,3 @@ private String toIndentedString(Object o) { } } - 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 f01bfc417554..554a38266044 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 static EnumClass fromValue(String value) { 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 29ad798e7e7e..26c60ea7030c 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 @@ -70,8 +70,7 @@ public static EnumStringEnum fromValue(String value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; + } public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; /** @@ -107,8 +106,7 @@ public static EnumStringRequiredEnum fromValue(String value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; + } public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; /** @@ -143,8 +141,7 @@ public static EnumIntegerEnum fromValue(Integer value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; + } public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; /** @@ -179,8 +176,7 @@ public static EnumNumberEnum fromValue(Double value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; + } public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; public static final String JSON_PROPERTY_OUTER_ENUM = "outerEnum"; @@ -344,4 +340,3 @@ private String toIndentedString(Object o) { } } - 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 d5aa31040a2d..db8c65d6fc87 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 @@ private String toIndentedString(Object o) { } } - 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 7d624c620cf0..da8675cee5f9 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 @@ private String toIndentedString(Object o) { } } - 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 027992541f35..79dd1203db7b 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 @@ private String toIndentedString(Object o) { } } - 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 d210ac20d17a..20ef1a4ddb87 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 @@ -71,8 +71,7 @@ public static InnerEnum fromValue(String value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; + } public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = null; public static final String JSON_PROPERTY_DIRECT_MAP = "direct_map"; @@ -247,4 +246,3 @@ private String toIndentedString(Object o) { } } - 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 ecc0bbed979c..a98da15ddd9a 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 @@ private String toIndentedString(Object o) { } } - 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 d8954f02497c..3da4d7a47601 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 @@ private String toIndentedString(Object o) { } } - 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 2275de35fe3d..6ffa2e3db1c8 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 @@ private String toIndentedString(Object o) { } } - 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 d5e409d19b5a..f20d83fac9ef 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 @@ private String toIndentedString(Object o) { } } - 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 63b7167e5cb9..d5f7dd5c413f 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 @@ private String toIndentedString(Object o) { } } - 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 03a63c750dcd..35e62a81ba95 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 @@ private String toIndentedString(Object o) { } } - 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 0fd7182af2c3..b466dc8d431b 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 @@ private String toIndentedString(Object o) { } } - 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 24c1ff85de5d..53e784c30290 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 @@ private String toIndentedString(Object o) { } } - 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 9d27144d343d..cc2370fa8e60 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 @@ private String toIndentedString(Object o) { } } - 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 14b527c96752..4409cf08bda3 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 @@ -82,8 +82,7 @@ public static StatusEnum fromValue(String value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_STATUS = "status"; + } public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; public static final String JSON_PROPERTY_COMPLETE = "complete"; @@ -273,4 +272,3 @@ private String toIndentedString(Object o) { } } - 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 45ac502dcf8c..eb6ff3c6426b 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 @@ private String toIndentedString(Object o) { } } - 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 5cf96d109321..7527b326d541 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 static OuterEnum fromValue(String value) { 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 3a72e357ba30..282d207dda53 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 @@ -92,8 +92,7 @@ public static StatusEnum fromValue(String value) { } throw new IllegalArgumentException("Unexpected value '" + value + "'"); } - } - public static final String JSON_PROPERTY_STATUS = "status"; + } public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; public Pet() { @@ -293,4 +292,3 @@ private String toIndentedString(Object o) { } } - 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 9518ae3f542d..0d90ada9da8b 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 @@ private String toIndentedString(Object o) { } } - 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 892bc8775025..2d2b6acd21ea 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 @@ private String toIndentedString(Object o) { } } - 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 8b77c2c26ed5..6eb48da52635 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 @@ private String toIndentedString(Object o) { } } - 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 deca71eaa7d5..b08bf5a065f0 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 @@ private String toIndentedString(Object o) { } } - 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 f08bf7020fb5..d7ee71bafcb4 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 @@ private String toIndentedString(Object o) { } } - 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 2f911d4602ef..9673da3fd140 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 @@ private String toIndentedString(Object o) { } } - 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 827eb94b57d3..9e14bdbf2bee 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 @@ private String toIndentedString(Object o) { } } - diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ApiClient.java index 2dd7da8cb1fa..37ae31b101d3 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ApiClient.java @@ -83,8 +83,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private Map defaultHeaderMap = new HashMap(); private Map defaultCookieMap = new HashMap(); private String basePath = "http://petstore.swagger.io:80/v2"; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ApiException.java index 271f0d5bf75b..596fa4713ac3 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ApiException.java @@ -16,8 +16,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/BaseApi.java index 9d4a15b07750..aca1662e0faa 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/BaseApi.java @@ -17,8 +17,7 @@ import java.util.Collections; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/Configuration.java index dfd2913e6fa8..541843a01580 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index ab4ce150af31..688d0faf7f33 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -30,8 +30,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi extends BaseApi { public AnotherFakeApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/DefaultApi.java index 093040a5d154..5e53782145d7 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -30,8 +30,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi extends BaseApi { public DefaultApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeApi.java index 872c4cb2e797..7cb6c565b20e 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeApi.java @@ -44,8 +44,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi extends BaseApi { public FakeApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index d37d65cb23d5..920b680efb7e 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -30,8 +30,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api extends BaseApi { public FakeClassnameTags123Api() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/PetApi.java index 9523dca1711d..90484d570679 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/PetApi.java @@ -33,8 +33,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi extends BaseApi { public PetApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/StoreApi.java index 4c08bfab9ff0..d64361aac88e 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/StoreApi.java @@ -30,8 +30,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi extends BaseApi { public StoreApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/UserApi.java index 73e32f24338e..69a7c0d0077c 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/api/UserApi.java @@ -31,8 +31,7 @@ import java.util.Map; import java.util.StringJoiner; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi extends BaseApi { public UserApi() { super(Configuration.getDefaultApiClient()); diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 8242b9ae8ae5..4ea3a3be92a1 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -18,8 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index caa5e13e3e43..050c2ebbd638 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -21,8 +21,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index e357dcdbd189..4eecbdeafb8a 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -20,8 +20,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/OAuth.java index c58b8f3ee1e8..2a60820d7782 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/OAuth.java @@ -18,8 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/EnumArrays.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/EnumArrays.java index 4968949312db..a8ca860b8c73 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/EnumArrays.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/EnumArrays.java @@ -72,7 +72,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -110,7 +109,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); 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 5fe70b9e5c67..576e0e304228 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 @@ -86,7 +86,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -126,7 +125,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -164,7 +162,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -202,7 +199,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -340,7 +336,6 @@ public OuterEnum getOuterEnum() { @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 36dc7b201378..6a683fcb7ad9 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 @@ -63,7 +63,6 @@ public String getNullableMessage() { @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/MapTest.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/MapTest.java index a9e8a960a621..fd9d2ce892b2 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/MapTest.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/MapTest.java @@ -76,7 +76,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); 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 f0dedea05ae8..bbff28eb9e08 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 @@ -116,7 +116,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -149,7 +148,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -182,7 +180,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -215,7 +212,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -248,7 +244,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -281,7 +276,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -326,7 +320,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -371,7 +364,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -449,7 +441,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -494,7 +485,6 @@ public Map getObjectAndItemsNullableProp() { @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/Order.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Order.java index 7a62711ddb25..2b8ac6a98a93 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Order.java @@ -88,7 +88,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 9b5bc4a04c6a..e402d2c31e2d 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 @@ -83,7 +83,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -137,7 +136,6 @@ public String getNullableProperty() { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } diff --git a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Pet.java index 94e0b2dcfd2f..147ecdd200b4 100644 --- a/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/apache-httpclient/src/main/java/org/openapitools/client/model/Pet.java @@ -98,7 +98,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ApiClient.java index 280ebd004f87..b0d5b86f9252 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ApiClient.java @@ -44,8 +44,7 @@ import org.openapitools.client.auth.OauthClientCredentialsGrant; import feign.Retryer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient { private static final Logger log = Logger.getLogger(ApiClient.class.getName()); public interface Api {} diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 85946311806f..7dbd37b217bc 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -13,8 +13,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface AnotherFakeApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface AnotherFakeApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeApi.java index 9f919f4ecc0a..44b6da9ebfde 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeApi.java @@ -20,8 +20,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface FakeApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface FakeApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index aaf8b4227a1d..e1039152e0ba 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -12,8 +12,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface FakeClassnameTags123Api extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface FakeClassnameTags123Api extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/PetApi.java index 52ee85c0313e..b5621a20366b 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/PetApi.java @@ -15,8 +15,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface PetApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface PetApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/StoreApi.java index 8ff898c9abcf..c5b5e8312106 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/StoreApi.java @@ -12,8 +12,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface StoreApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface StoreApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java index 18ed3e44bc38..8f2260815204 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/api/UserApi.java @@ -13,8 +13,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface UserApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface UserApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/DefaultApi20Impl.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/DefaultApi20Impl.java index 8ab987908016..319e8356a37b 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/DefaultApi20Impl.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/DefaultApi20Impl.java @@ -22,8 +22,7 @@ import com.github.scribejava.core.oauth2.clientauthentication.ClientAuthentication; import com.github.scribejava.core.oauth2.clientauthentication.RequestBodyAuthenticationScheme; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi20Impl extends DefaultApi20 { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi20Impl extends DefaultApi20 { private final String accessTokenEndpoint; private final String authorizationBaseUrl; diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OAuth.java index 1b84530eb57b..4579bdeedc80 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Collection; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class OAuth implements RequestInterceptor { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class OAuth implements RequestInterceptor { //https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.4 static final int LEEWAY_SECONDS = 10; diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OauthClientCredentialsGrant.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OauthClientCredentialsGrant.java index 20b0040111c2..3413eda58b6b 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OauthClientCredentialsGrant.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OauthClientCredentialsGrant.java @@ -16,8 +16,7 @@ import com.github.scribejava.core.builder.ServiceBuilder; import com.github.scribejava.core.model.OAuth2AccessToken; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OauthClientCredentialsGrant extends OAuth { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OauthClientCredentialsGrant extends OAuth { public OauthClientCredentialsGrant(String authorizationUrl, String tokenUrl, String scopes) { super(authorizationUrl, tokenUrl, scopes); diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OauthPasswordGrant.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OauthPasswordGrant.java index d80ad064d1bd..ce0988e3ac29 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OauthPasswordGrant.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/auth/OauthPasswordGrant.java @@ -16,8 +16,7 @@ import com.github.scribejava.core.builder.ServiceBuilder; import com.github.scribejava.core.model.OAuth2AccessToken; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OauthPasswordGrant extends OAuth { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OauthPasswordGrant extends OAuth { private String username; private String password; 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 7ec9063cdf77..b133af3c43c5 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 @@ -113,7 +113,6 @@ public Object getAdditionalProperty(String key) { } 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 6e96b383de4f..ebf0607b616e 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 @@ -114,7 +114,6 @@ public List getAdditionalProperty(String key) { } 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 b47cf520b85a..15f23ace5b8e 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 @@ -113,7 +113,6 @@ public Boolean getAdditionalProperty(String key) { } 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 ad6e4ba17ab7..0b11944b5adb 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 @@ -431,7 +431,6 @@ public void setAnytype3(Object anytype3) { 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 d965e4120ce9..fdf458a0edff 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 @@ -113,7 +113,6 @@ public Integer getAdditionalProperty(String key) { } 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 c5587b9a3ade..c14d7e7f12c3 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 @@ -114,7 +114,6 @@ public BigDecimal getAdditionalProperty(String key) { } 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 036510a58770..b24de4200073 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 @@ -113,7 +113,6 @@ public Map getAdditionalProperty(String key) { } 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 7565b49b7be9..4882dff91cd1 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 @@ -113,7 +113,6 @@ public String getAdditionalProperty(String key) { } 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 0d33e03778c4..f68f3ab9c549 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 @@ -107,7 +107,6 @@ public void setColor(String color) { 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 aec7873404a1..00c2e41ed2b7 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 @@ -75,7 +75,6 @@ public void setArrayArrayNumber(List> arrayArrayNumber) { 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 b03ae3dad8ef..1daace4b97ec 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 @@ -75,7 +75,6 @@ public void setArrayNumber(List arrayNumber) { 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 3099fcd25f17..9f0f2c013d04 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 @@ -151,7 +151,6 @@ public void setArrayArrayOfModel(List> arrayArrayOfModel) { 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 4ec7b6e5f836..e8670ed9a731 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 @@ -80,7 +80,6 @@ public static KindEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; private KindEnum kind; @@ -113,7 +112,6 @@ public void setKind(KindEnum kind) { 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 e183923b018d..a06fd0e9df26 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 @@ -213,7 +213,6 @@ 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/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 99bd8041dffc..1a7aa4420014 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 @@ -77,7 +77,6 @@ public void setDeclawed(Boolean declawed) { 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 57124c5ee696..221625664380 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 @@ -93,7 +93,6 @@ public void setName(String name) { 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 9a3e2b1948f1..24bfb84f94eb 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 @@ -63,7 +63,6 @@ public void setPropertyClass(String propertyClass) { 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 ceea70202bba..4df8a5cc4d55 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 @@ -63,7 +63,6 @@ public void setClient(String 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 ed02c047048e..270bbb05de69 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 @@ -74,7 +74,6 @@ public void setBreed(String breed) { 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 ed346979789c..2244670a3d7c 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 @@ -70,7 +70,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -108,7 +107,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); @@ -174,7 +172,6 @@ public void setArrayEnum(List arrayEnum) { 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 31e3f8199f3e..176e7077f348 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 @@ -74,7 +74,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -114,7 +113,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -152,7 +150,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -190,7 +187,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -329,7 +325,6 @@ public void setOuterEnum(OuterEnum outerEnum) { 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 9d83d9ffff74..b358d1c362fe 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 @@ -63,7 +63,6 @@ public void setSourceURI(String sourceURI) { 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 613c609ed5ff..d53430b0ebd7 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 @@ -105,7 +105,6 @@ public void setFiles(List files) { 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 101add4e9c9b..dfd09ca7497d 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 @@ -469,7 +469,6 @@ public void setBigDecimal(BigDecimal bigDecimal) { 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 a599856bfc75..e8dc074c5f6b 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 @@ -82,7 +82,6 @@ public String getFoo() { - @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 96b9b3e920f8..ed9d9fc9e4fd 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 @@ -74,7 +74,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); @@ -222,7 +221,6 @@ public void setIndirectMap(Map indirectMap) { 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 05e96b73515d..b6a8a25f0b1e 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 @@ -136,7 +136,6 @@ public void setMap(Map map) { 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 c2c6d61f20b2..48f5407dc28a 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 @@ -94,7 +94,6 @@ public void setPropertyClass(String propertyClass) { 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 7c42fb75cac1..3d7d993c87d1 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 @@ -124,7 +124,6 @@ public void setMessage(String message) { 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 fb9dce6cd1e9..b30d24a79919 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 @@ -64,7 +64,6 @@ public void set123list(String _123list) { 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 ad315a33fcd8..524302859ae0 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 @@ -64,7 +64,6 @@ public void setReturn(Integer _return) { 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 f67038bebbe9..1adbac708144 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 @@ -141,7 +141,6 @@ public Integer get123number() { - @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 0f4272b85608..8da5b6a6e9fe 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 @@ -64,7 +64,6 @@ public void setJustNumber(BigDecimal justNumber) { 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 382b00aeff78..b5b1ddad828e 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 @@ -86,7 +86,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -251,7 +250,6 @@ public void setComplete(Boolean complete) { 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 c1c2ea852626..e906f71d17fd 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 @@ -124,7 +124,6 @@ public void setMyBoolean(Boolean myBoolean) { 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 ad4ee909ee4f..0260917dc6b4 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 @@ -96,7 +96,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -275,7 +274,6 @@ public void setStatus(StatusEnum status) { 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 1e5372874333..e15d95ce8f8c 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 @@ -90,7 +90,6 @@ public void setBaz(String baz) { 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 f4751e2a9750..74e55a8e1121 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 @@ -64,7 +64,6 @@ public 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 af5eb0615ea2..7e310c2b6066 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 @@ -93,7 +93,6 @@ public void setName(String name) { 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 5c573d596266..7c71ee81ef81 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 @@ -195,7 +195,6 @@ public void setArrayItem(List arrayItem) { 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 a6eacd23036d..d6fb0451537b 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 @@ -225,7 +225,6 @@ public void setArrayItem(List arrayItem) { 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 e3dc8bb1dfdf..cb1a0f22cd14 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 @@ -273,7 +273,6 @@ public void setUserStatus(Integer userStatus) { 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 ba2c8c363e84..e361c28c7b8f 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 @@ -979,7 +979,6 @@ public void setPrefixNsWrappedArray(List prefixNsWrappedArray) { 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/ApiClient.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ApiClient.java index 69536d2e7226..a95ae9c0b2d2 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ApiClient.java @@ -45,8 +45,7 @@ import org.openapitools.client.auth.OauthClientCredentialsGrant; import feign.Retryer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient { private static final Logger log = Logger.getLogger(ApiClient.class.getName()); public interface Api {} diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 733b4c07a26d..ab01f37279f7 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -12,8 +12,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface AnotherFakeApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface AnotherFakeApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/DefaultApi.java index f7f8a4d0a203..8c7097c22786 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -12,8 +12,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface DefaultApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface DefaultApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeApi.java index 5a2ca3eeb487..7a846525cc0c 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeApi.java @@ -26,8 +26,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface FakeApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface FakeApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index f4ead24e6d21..2f8fba51e2f5 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -12,8 +12,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface FakeClassnameTags123Api extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface FakeClassnameTags123Api extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/PetApi.java index 78f58b0c13ee..a56ca6c1d304 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/PetApi.java @@ -15,8 +15,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface PetApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface PetApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/StoreApi.java index a9536afec4f0..e063cd950d4d 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/StoreApi.java @@ -12,8 +12,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface StoreApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface StoreApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java index e8faaf60b2ee..4437d3e2bf92 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/api/UserApi.java @@ -13,8 +13,7 @@ import java.util.Map; import feign.*; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface UserApi extends ApiClient.Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface UserApi extends ApiClient.Api { /** diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/DefaultApi20Impl.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/DefaultApi20Impl.java index 8ab987908016..319e8356a37b 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/DefaultApi20Impl.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/DefaultApi20Impl.java @@ -22,8 +22,7 @@ import com.github.scribejava.core.oauth2.clientauthentication.ClientAuthentication; import com.github.scribejava.core.oauth2.clientauthentication.RequestBodyAuthenticationScheme; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi20Impl extends DefaultApi20 { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi20Impl extends DefaultApi20 { private final String accessTokenEndpoint; private final String authorizationBaseUrl; diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OAuth.java index 1b84530eb57b..4579bdeedc80 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Collection; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class OAuth implements RequestInterceptor { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class OAuth implements RequestInterceptor { //https://datatracker.ietf.org/doc/html/rfc7519#section-4.1.4 static final int LEEWAY_SECONDS = 10; diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OauthClientCredentialsGrant.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OauthClientCredentialsGrant.java index 20b0040111c2..3413eda58b6b 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OauthClientCredentialsGrant.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OauthClientCredentialsGrant.java @@ -16,8 +16,7 @@ import com.github.scribejava.core.builder.ServiceBuilder; import com.github.scribejava.core.model.OAuth2AccessToken; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OauthClientCredentialsGrant extends OAuth { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OauthClientCredentialsGrant extends OAuth { public OauthClientCredentialsGrant(String authorizationUrl, String tokenUrl, String scopes) { super(authorizationUrl, tokenUrl, scopes); diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OauthPasswordGrant.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OauthPasswordGrant.java index d80ad064d1bd..ce0988e3ac29 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OauthPasswordGrant.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/auth/OauthPasswordGrant.java @@ -16,8 +16,7 @@ import com.github.scribejava.core.builder.ServiceBuilder; import com.github.scribejava.core.model.OAuth2AccessToken; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OauthPasswordGrant extends OAuth { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OauthPasswordGrant extends OAuth { private String username; private String password; 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 09c239452985..4228d1836bd6 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 @@ -110,7 +110,6 @@ public void setMapOfMapProperty(Map> mapOfMapPropert 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 b2c565b9de6f..e48e0b197274 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 @@ -93,7 +93,6 @@ public void setSingleRefType(SingleRefType singleRefType) { 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 19aa556dda95..58dc76f3b812 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 @@ -105,7 +105,6 @@ public void setColor(String color) { 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 8516c985dded..bb5e1e064489 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 @@ -74,7 +74,6 @@ public void setArrayArrayNumber(List> arrayArrayNumber) { 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 8f123ea92cb5..f807afcbd310 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 @@ -74,7 +74,6 @@ public void setArrayNumber(List arrayNumber) { 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 3baf3524c047..47e113cf202e 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 @@ -150,7 +150,6 @@ public void setArrayArrayOfModel(List> arrayArrayOfModel) { 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 69a399ad5dc5..7918701a040f 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 @@ -212,7 +212,6 @@ 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/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 d4bbbab1eda7..e88b662b4683 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 @@ -73,7 +73,6 @@ public void setDeclawed(Boolean declawed) { 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 1aa8c0a75a7b..f208ad1f28c1 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 @@ -92,7 +92,6 @@ public void setName(String name) { 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 0d19c4c6e3ae..97af72b259b7 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 @@ -74,7 +74,6 @@ public void setOtherProperty(String otherProperty) { 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 0d0468ad0b1f..eba862847664 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 @@ -62,7 +62,6 @@ public void setPropertyClass(String propertyClass) { 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 3c8001b85d57..a5f5a56f08f3 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 @@ -62,7 +62,6 @@ public void setClient(String 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 f7a9ba124b06..039c1e25a9af 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 @@ -64,7 +64,6 @@ public void setName(String name) { 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 904971671a74..484347681f2a 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 @@ -73,7 +73,6 @@ public void setBreed(String breed) { 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 9dacd14d7e2b..bbb52a56f545 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); @@ -173,7 +171,6 @@ public void setArrayEnum(List arrayEnum) { 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 6636e85935ae..537c8fc37617 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 @@ -83,7 +83,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -123,7 +122,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -161,7 +159,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -199,7 +196,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -341,7 +337,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -433,7 +428,6 @@ public void setOuterEnumIntegerDefaultValue(OuterEnumIntegerDefaultValue outerEn 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 bf54c7cb7188..807220087711 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 @@ -104,7 +104,6 @@ public void setSomeMap(Map someMap) { 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 9de94a7cf404..52c6a71088bd 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 @@ -62,7 +62,6 @@ public void setSourceURI(String sourceURI) { 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 77d620b74980..f610eab16f21 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 @@ -104,7 +104,6 @@ public void setFiles(List files) { 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 17eead741846..3e3df1d63980 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 @@ -62,7 +62,6 @@ public void setBar(String bar) { 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 ec97470529ac..30872bb849fd 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 @@ -64,7 +64,6 @@ public void setString(Foo string) { 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 4b4ba224f7e5..6ccac825f6d4 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 @@ -528,7 +528,6 @@ public void setPatternWithDigitsAndDelimiter(String patternWithDigitsAndDelimite 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 4d59bc69a298..3be00b8c4553 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 @@ -81,7 +81,6 @@ public String getFoo() { - @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 37135023963e..5d4a3d50316b 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 String getNullableMessage() { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } @@ -74,7 +73,6 @@ public void setNullableMessage(String nullableMessage) { 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 2da180eee2e9..5a629a44e2e4 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); @@ -221,7 +220,6 @@ public void setIndirectMap(Map indirectMap) { 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 cfd1a6090ea8..4383fafdaef1 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 @@ -135,7 +135,6 @@ public void setMap(Map map) { 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 a98e38bb79f0..636b54f102e3 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 @@ -93,7 +93,6 @@ public void setPropertyClass(String propertyClass) { 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 daf05ddc1f29..22eae8896243 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 @@ -123,7 +123,6 @@ public void setMessage(String message) { 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 4847e518b837..3dc09aa2be76 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 @@ -63,7 +63,6 @@ public void set123list(String _123list) { 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 35bb3782939f..2d5696ac318a 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 @@ -63,7 +63,6 @@ public void setReturn(Integer _return) { 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 6d6553a9178e..62ceb423c3ce 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 @@ -140,7 +140,6 @@ public Integer get123number() { - @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 c0c0e1ca71b4..fa8948588f68 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 @@ -117,7 +117,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -151,7 +150,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -185,7 +183,6 @@ public Boolean isBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable isBooleanProp_JsonNullable() { return booleanProp; } @@ -219,7 +216,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -253,7 +249,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -287,7 +282,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -333,7 +327,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -379,7 +372,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -459,7 +451,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -505,7 +496,6 @@ public Map getObjectAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -596,7 +586,6 @@ public Object getAdditionalProperty(String key) { } 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 60f3e67ea767..ba7b026b3f6e 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 @@ -63,7 +63,6 @@ public void setJustNumber(BigDecimal justNumber) { 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 6f55ec1f08df..73108d4140bb 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 @@ -171,7 +171,6 @@ public void setBars(List bars) { 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 669f1525aef3..d272cfea648e 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -250,7 +249,6 @@ public void setComplete(Boolean complete) { 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 22ff0a97c53b..96cca413e617 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 @@ -123,7 +123,6 @@ public void setMyBoolean(Boolean myBoolean) { 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 9ce7c0db63b5..bdb4f1ae63ac 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 @@ -63,7 +63,6 @@ public void setValue(OuterEnumInteger value) { 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 f981bc803c99..f5ffd6071b31 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -135,7 +134,6 @@ public String getNullableProperty() { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } @@ -149,7 +147,6 @@ public void setNullableProperty(String nullableProperty) { 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 034c5d9ffd2a..26d576082b70 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -274,7 +273,6 @@ public void setStatus(StatusEnum status) { 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 f5d998943209..881631bf1c00 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 @@ -89,7 +89,6 @@ public void setBaz(String baz) { 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 0c18219fbb32..064dcaec6b3f 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 @@ -63,7 +63,6 @@ public 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 77581bbdf108..ba472ec4c371 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 @@ -92,7 +92,6 @@ public void setName(String name) { 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 053e66ae74af..157ebd5590f6 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 @@ -113,7 +113,6 @@ public Object getAdditionalProperty(String key) { } 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/User.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/User.java index 0cb0907886ee..69d874d36ca8 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/User.java @@ -272,7 +272,6 @@ public void setUserStatus(Integer userStatus) { this.userStatus = userStatus; } - @Override public boolean equals(Object o) { if (this == o) { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ApiClient.java index 45e17b25a53e..86b45a75d971 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ApiClient.java @@ -29,8 +29,7 @@ import java.io.IOException; import java.io.OutputStream; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient { private final String basePath; private final HttpRequestFactory httpRequestFactory; private final ObjectMapper objectMapper; diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 7c4b4f20c62c..e2e7de8f5673 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -22,8 +22,7 @@ import java.util.List; import java.util.ArrayList; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeApi.java index 5db995b38f56..b4dc0ca1b8a0 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeApi.java @@ -29,8 +29,7 @@ import java.util.List; import java.util.ArrayList; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 862872d20598..3e35df690216 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -21,8 +21,7 @@ import java.util.List; import java.util.ArrayList; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/PetApi.java index 51442f2b82ee..000fa5767fb2 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/PetApi.java @@ -24,8 +24,7 @@ import java.util.List; import java.util.ArrayList; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/StoreApi.java index 2e41ae497329..43477386b6d3 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/StoreApi.java @@ -21,8 +21,7 @@ import java.util.List; import java.util.ArrayList; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/UserApi.java index fa11c48e7c21..e3c4a1262fd1 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/api/UserApi.java @@ -22,8 +22,7 @@ import java.util.List; import java.util.ArrayList; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { 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 2de9987aacb5..d7bb53f6071f 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 @@ -79,7 +79,6 @@ public static KindEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; private KindEnum kind; 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 ed3d3768e625..ab4e5036c3ae 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); 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 726fcf37f13d..a6136c73d28b 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 @@ -73,7 +73,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -113,7 +112,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -151,7 +149,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -189,7 +186,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; 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 1ae40680e29e..4ce940e0c4d8 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); 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 31a2cd4aada5..41c06d8047ae 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 70732aa1ce55..bdb1e5e5ef65 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 5158bd815e67..3501c6ebfcc8 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 9edcf46b0e44..54fdc4e5352f 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 1e1ed764a56e..c9a8c1bc7bac 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 79402f75c68c..4ec7043f8f09 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 cbc1673c059b..d23b85e2349b 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 0bd133ccf09a..0ae9ffb3e039 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 3f419f8551ff..ce0e6fb65d3f 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 269a1961cf88..451a708dceea 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 d9b32f14c88a..540bfec69bce 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 0188db3eb131..237ef6876b5a 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 a5753530aada..48d5474e10ac 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 36077c9df300..1bfb727e450a 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 d317a0617f37..fdaa72122e52 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 82a812711de2..0b2455e5863f 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 390dd519c8ce..04b42c7dc5ba 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 ab6d1ec334dc..f33915619ccb 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 af46dea1f6c8..58f279eeb404 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 ef07b4ab8b9d..414196529f07 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 972c981c0d05..4692cd2b4a53 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 b2222d5beb25..58c010444806 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 b314590a7591..7a4c4ec692cb 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 bf2def484c6d..c3910dc0bb4f 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 85d1a0636694..f5d57cfd409f 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 5c36e3616e7d..6f050f5f5a24 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 29da5205dbba..38dfd19f5a82 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 54380188e1d6..b68397073bfb 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 d8ba815078e3..ffb646aca748 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 109411580c62..14100fcc25bb 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 e374c2dd2dec..e59fea0970b9 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 adcde984f527..61c9020e62ae 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 f93ab7dde8d4..2e28e551301c 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 0bd356861eb7..d307e6fbd935 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 c901d9435309..002cad3f3320 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 b8ed1a4cfae1..ca181cdaf816 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 386508ee4b07..5cf0ac9dd69a 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 98b56e0763ff..19601002fd28 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 1f9b723eb8e7..97cfc1e9a952 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 54af77a9f5a7..6b2d97b7a92d 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 ad6af7ee155f..138406406d37 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 4b6a06e36224..b60e8286f6de 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 5088b2dd1c31..169ff376a5af 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 71a9f3dc9027..dc5e2ae57e41 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 9e410c666e44..fbe9c0d79efa 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 08813e4b10b4..8e45ff46a2a7 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 349b62bed64e..33fd0ff6ed3c 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/ApiClient.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ApiClient.java index 9148712ff91e..3aa52b195b95 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ApiClient.java @@ -85,8 +85,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private static final Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"); protected Map defaultHeaderMap = new HashMap<>(); diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ApiException.java index d3f017a8f158..fb7921d74138 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ApiException.java @@ -19,8 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/Configuration.java index dfd2913e6fa8..541843a01580 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/JSON.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/JSON.java index 35114751c43d..7298b2787c3d 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/JSON.java @@ -28,8 +28,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON implements ContextResolver { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON implements ContextResolver { private ObjectMapper mapper; public JSON() { diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 2fb4fd5de745..a38aef354a4c 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -17,8 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeApi.java index 40f80d33eac9..a2594b5997cf 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeApi.java @@ -24,8 +24,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 95573c9769e8..3791c1363fa0 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -16,8 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/PetApi.java index df7fdb502d0f..172c3f5990d7 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/PetApi.java @@ -19,8 +19,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/StoreApi.java index e04e0ef8dcbb..1ca47105461b 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/StoreApi.java @@ -16,8 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/UserApi.java index 60fee4b17d95..a4629501161d 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/api/UserApi.java @@ -17,8 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 5dcf4ed7c4e8..c40310363853 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index b333d525c4a4..8ca6da0831d2 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -23,8 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index e3546fbf5387..1691a7bed412 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/OAuth.java index 71073fa7b047..a6cfeb8a398e 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/auth/OAuth.java @@ -31,8 +31,7 @@ import java.util.logging.Level; import java.util.logging.Logger; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private static final Logger log = Logger.getLogger(OAuth.class.getName()); private String tokenUrl; 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 94e8c8d14c27..98bade69fba0 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 @@ -24,8 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -145,5 +144,4 @@ public Boolean isNullable() { } - } 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 f5f3cc12f326..0239aa67e8b9 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 @@ -105,7 +105,6 @@ public Object getAdditionalProperty(String key) { } 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 8415bf9aa763..0b7d7f65c72a 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 @@ -106,7 +106,6 @@ public List getAdditionalProperty(String key) { } 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 3acafeb44f99..b44f55f4d1f8 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 @@ -105,7 +105,6 @@ public Boolean getAdditionalProperty(String key) { } 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 f23a1ac87750..f49fee79bc58 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 @@ -422,7 +422,6 @@ public void setAnytype3(Object anytype3) { 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 3ee51d2b3e0f..4a8c1e2991c4 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 @@ -105,7 +105,6 @@ public Integer getAdditionalProperty(String key) { } 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 9b78449798b0..be44ac22a6db 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 @@ -106,7 +106,6 @@ public BigDecimal getAdditionalProperty(String key) { } 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 311149923d86..e7dac25d2a64 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 @@ -106,7 +106,6 @@ public Map getAdditionalProperty(String key) { } 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 faaf5f3fdf26..baaa569ff1be 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 @@ -105,7 +105,6 @@ public String getAdditionalProperty(String key) { } 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 02afc1c37d1d..a6ab069f15c1 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 @@ -107,7 +107,6 @@ public void setColor(String color) { 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 1b3998955e4c..9f5364334a2c 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 @@ -75,7 +75,6 @@ public void setArrayArrayNumber(List> arrayArrayNumber) { 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 ca46dc2005f1..78645c434adc 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 @@ -75,7 +75,6 @@ public void setArrayNumber(List arrayNumber) { 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 dff29850ea89..7f2d0f1ffb5a 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 @@ -149,7 +149,6 @@ public void setArrayArrayOfModel(List> arrayArrayOfModel) { 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 9b6e21630669..c94675b55086 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 @@ -82,7 +82,6 @@ public static KindEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; private KindEnum kind; @@ -113,7 +112,6 @@ public void setKind(KindEnum kind) { 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 f3ef112bcae5..29bcd9f6238f 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 @@ -209,7 +209,6 @@ public void setATTNAME(String ATT_NAME) { 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 dbee5ffc9108..ae54d663e87d 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 @@ -77,7 +77,6 @@ public void setDeclawed(Boolean declawed) { 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 95e3131e8415..e8b92cec54ca 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 @@ -93,7 +93,6 @@ public void setName(String name) { 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 494233c54e6c..7e27b7d65439 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 @@ -64,7 +64,6 @@ public void setPropertyClass(String propertyClass) { 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 4d577e3da2b6..efdec725c463 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 @@ -64,7 +64,6 @@ public void setClient(String 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 0d1b1d0a1e21..624c89c34903 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 @@ -74,7 +74,6 @@ public void setBreed(String breed) { 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 4945e0476b52..4e376061aec7 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 static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -109,7 +108,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); @@ -173,7 +171,6 @@ public void setArrayEnum(List arrayEnum) { 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 f25d2337822c..4a0bb40593cf 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 static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -116,7 +115,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -154,7 +152,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -192,7 +189,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -326,7 +322,6 @@ public void setOuterEnum(OuterEnum outerEnum) { 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 ade6ef1535b3..6413f7f09aa1 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 @@ -104,7 +104,6 @@ public void setFiles(List files) { 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 cac04e1c05c5..2adcef00f000 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 @@ -457,7 +457,6 @@ public void setBigDecimal(BigDecimal bigDecimal) { 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 eebdf013480a..88712755d51b 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 @@ -84,7 +84,6 @@ public String getFoo() { - /** * 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 845b86c22c34..7134ddccdde1 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 @@ -76,7 +76,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); @@ -220,7 +219,6 @@ public void setIndirectMap(Map indirectMap) { 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 51a6aa0c7d94..2e8cd861b36d 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 @@ -135,7 +135,6 @@ public void setMap(Map map) { 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 9969dfbbebd6..669dc0291da1 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 @@ -94,7 +94,6 @@ public void setPropertyClass(String propertyClass) { 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 a41bf414803c..f4b1eae17d01 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 @@ -123,7 +123,6 @@ public void setMessage(String message) { 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 5e8b7dd4bf5a..d1266a341985 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 @@ -65,7 +65,6 @@ public void setSourceURI(String sourceURI) { 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 97b4cb7539ce..d48b6b5b1684 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 @@ -65,7 +65,6 @@ public void set123list(String _123list) { 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 2738d6e2a99e..550af202ac25 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 @@ -65,7 +65,6 @@ public void setReturn(Integer _return) { 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 726e5874186a..15589b08b91f 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 @@ -141,7 +141,6 @@ public Integer get123number() { - /** * 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 25e8e2f725da..de8003c7eb05 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 @@ -65,7 +65,6 @@ public void setJustNumber(BigDecimal justNumber) { 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 4a4175095131..76f55d796d2a 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 @@ -88,7 +88,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -247,7 +246,6 @@ public void setComplete(Boolean complete) { 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 9298de14bb65..cf06173c771d 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 @@ -123,7 +123,6 @@ public void setMyBoolean(Boolean myBoolean) { 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 c5d8b6caa05a..b89e54ecf617 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 @@ -97,7 +97,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -270,7 +269,6 @@ public void setStatus(StatusEnum status) { 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 8e2c2b11ae6e..3f93a68c7225 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 @@ -91,7 +91,6 @@ public void setBaz(String baz) { 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 7130a45f47ec..1377dfb8247c 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 @@ -65,7 +65,6 @@ public 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 b3097bd9bf8d..26cbf0347096 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 @@ -93,7 +93,6 @@ public void setName(String name) { 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 2daf12cb584c..b86f558ff59b 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 @@ -191,7 +191,6 @@ public void setArrayItem(List arrayItem) { 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 a99828e518c6..aae8deaeebcc 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 @@ -220,7 +220,6 @@ public void setArrayItem(List arrayItem) { 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 a4b587b7039e..0a30eef69365 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 @@ -267,7 +267,6 @@ public void setUserStatus(Integer userStatus) { 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 e90dca310e88..e12953916f85 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 @@ -951,7 +951,6 @@ public void setPrefixNsWrappedArray(List prefixNsWrappedArray) { 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 5158bd815e67..3501c6ebfcc8 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 9edcf46b0e44..54fdc4e5352f 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 1e1ed764a56e..c9a8c1bc7bac 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 79402f75c68c..4ec7043f8f09 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 cbc1673c059b..d23b85e2349b 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 0bd133ccf09a..0ae9ffb3e039 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 3f419f8551ff..ce0e6fb65d3f 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 269a1961cf88..451a708dceea 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 d9b32f14c88a..540bfec69bce 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 0188db3eb131..237ef6876b5a 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 a5753530aada..48d5474e10ac 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 36077c9df300..1bfb727e450a 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 d317a0617f37..fdaa72122e52 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 82a812711de2..0b2455e5863f 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 390dd519c8ce..04b42c7dc5ba 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 ab6d1ec334dc..f33915619ccb 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 af46dea1f6c8..58f279eeb404 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 ef07b4ab8b9d..414196529f07 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 972c981c0d05..4692cd2b4a53 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 b2222d5beb25..58c010444806 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 b314590a7591..7a4c4ec692cb 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 bf2def484c6d..c3910dc0bb4f 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 85d1a0636694..f5d57cfd409f 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 9c68c3080e13..ef3bcad87fdf 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 29da5205dbba..38dfd19f5a82 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 54380188e1d6..b68397073bfb 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 a5ddf0faa6a9..5d0f2a7b6a42 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 109411580c62..14100fcc25bb 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 e374c2dd2dec..e59fea0970b9 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 adcde984f527..61c9020e62ae 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 f93ab7dde8d4..2e28e551301c 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 0bd356861eb7..d307e6fbd935 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 c901d9435309..002cad3f3320 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 b8ed1a4cfae1..ca181cdaf816 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 27af32855c5c..21c4c8efc7ba 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 98b56e0763ff..19601002fd28 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 1f9b723eb8e7..97cfc1e9a952 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 54af77a9f5a7..6b2d97b7a92d 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 ad6af7ee155f..138406406d37 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 4b6a06e36224..b60e8286f6de 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 5088b2dd1c31..169ff376a5af 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 71a9f3dc9027..dc5e2ae57e41 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 9e410c666e44..fbe9c0d79efa 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 08813e4b10b4..8e45ff46a2a7 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 349b62bed64e..33fd0ff6ed3c 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/ApiClient.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ApiClient.java index 9148712ff91e..3aa52b195b95 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ApiClient.java @@ -85,8 +85,7 @@ /** *

ApiClient class.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private static final Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"); protected Map defaultHeaderMap = new HashMap<>(); diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ApiException.java index d3f017a8f158..fb7921d74138 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ApiException.java @@ -19,8 +19,7 @@ /** * API Exception */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/Configuration.java index dfd2913e6fa8..541843a01580 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/JSON.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/JSON.java index 35114751c43d..7298b2787c3d 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/JSON.java @@ -28,8 +28,7 @@ import javax.ws.rs.core.GenericType; import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON implements ContextResolver { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON implements ContextResolver { private ObjectMapper mapper; public JSON() { diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 2fb4fd5de745..a38aef354a4c 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -17,8 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeApi.java index faecb3c27d18..7238a69872d5 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeApi.java @@ -24,8 +24,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 95573c9769e8..3791c1363fa0 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -16,8 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/PetApi.java index df7fdb502d0f..172c3f5990d7 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/PetApi.java @@ -19,8 +19,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/StoreApi.java index e04e0ef8dcbb..1ca47105461b 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/StoreApi.java @@ -16,8 +16,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java index 312454a00a9c..f25643bf62a5 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/api/UserApi.java @@ -17,8 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 5dcf4ed7c4e8..c40310363853 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index b333d525c4a4..8ca6da0831d2 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -23,8 +23,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index e3546fbf5387..1691a7bed412 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/OAuth.java index 71073fa7b047..a6cfeb8a398e 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/auth/OAuth.java @@ -31,8 +31,7 @@ import java.util.logging.Level; import java.util.logging.Logger; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private static final Logger log = Logger.getLogger(OAuth.class.getName()); private String tokenUrl; 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 94e8c8d14c27..98bade69fba0 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 @@ -24,8 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -145,5 +144,4 @@ public Boolean isNullable() { } - } 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 f5f3cc12f326..0239aa67e8b9 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 @@ -105,7 +105,6 @@ public Object getAdditionalProperty(String key) { } 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 8415bf9aa763..0b7d7f65c72a 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 @@ -106,7 +106,6 @@ public List getAdditionalProperty(String key) { } 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 3acafeb44f99..b44f55f4d1f8 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 @@ -105,7 +105,6 @@ public Boolean getAdditionalProperty(String key) { } 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 f23a1ac87750..f49fee79bc58 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 @@ -422,7 +422,6 @@ public void setAnytype3(Object anytype3) { 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 3ee51d2b3e0f..4a8c1e2991c4 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 @@ -105,7 +105,6 @@ public Integer getAdditionalProperty(String key) { } 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 9b78449798b0..be44ac22a6db 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 @@ -106,7 +106,6 @@ public BigDecimal getAdditionalProperty(String key) { } 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 311149923d86..e7dac25d2a64 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 @@ -106,7 +106,6 @@ public Map getAdditionalProperty(String key) { } 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 faaf5f3fdf26..baaa569ff1be 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 @@ -105,7 +105,6 @@ public String getAdditionalProperty(String key) { } 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 02afc1c37d1d..a6ab069f15c1 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 @@ -107,7 +107,6 @@ public void setColor(String color) { 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 1b3998955e4c..9f5364334a2c 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 @@ -75,7 +75,6 @@ public void setArrayArrayNumber(List> arrayArrayNumber) { 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 ca46dc2005f1..78645c434adc 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 @@ -75,7 +75,6 @@ public void setArrayNumber(List arrayNumber) { 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 dff29850ea89..7f2d0f1ffb5a 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 @@ -149,7 +149,6 @@ public void setArrayArrayOfModel(List> arrayArrayOfModel) { 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 9b6e21630669..c94675b55086 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 @@ -82,7 +82,6 @@ public static KindEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; private KindEnum kind; @@ -113,7 +112,6 @@ public void setKind(KindEnum kind) { 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 f3ef112bcae5..29bcd9f6238f 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 @@ -209,7 +209,6 @@ public void setATTNAME(String ATT_NAME) { 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 dbee5ffc9108..ae54d663e87d 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 @@ -77,7 +77,6 @@ public void setDeclawed(Boolean declawed) { 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 95e3131e8415..e8b92cec54ca 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 @@ -93,7 +93,6 @@ public void setName(String name) { 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 494233c54e6c..7e27b7d65439 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 @@ -64,7 +64,6 @@ public void setPropertyClass(String propertyClass) { 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 4d577e3da2b6..efdec725c463 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 @@ -64,7 +64,6 @@ public void setClient(String 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 0d1b1d0a1e21..624c89c34903 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 @@ -74,7 +74,6 @@ public void setBreed(String breed) { 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 4945e0476b52..4e376061aec7 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 static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -109,7 +108,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); @@ -173,7 +171,6 @@ public void setArrayEnum(List arrayEnum) { 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 f25d2337822c..4a0bb40593cf 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 static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -116,7 +115,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -154,7 +152,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -192,7 +189,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -326,7 +322,6 @@ public void setOuterEnum(OuterEnum outerEnum) { 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 ade6ef1535b3..6413f7f09aa1 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 @@ -104,7 +104,6 @@ public void setFiles(List files) { 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 86ba2cbddf21..9e07f1915b28 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 @@ -457,7 +457,6 @@ public void setBigDecimal(BigDecimal bigDecimal) { 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 eebdf013480a..88712755d51b 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 @@ -84,7 +84,6 @@ public String getFoo() { - /** * 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 845b86c22c34..7134ddccdde1 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 @@ -76,7 +76,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); @@ -220,7 +219,6 @@ public void setIndirectMap(Map indirectMap) { 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 7bd878397871..e50decca84bd 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 @@ -135,7 +135,6 @@ public void setMap(Map map) { 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 9969dfbbebd6..669dc0291da1 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 @@ -94,7 +94,6 @@ public void setPropertyClass(String propertyClass) { 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 a41bf414803c..f4b1eae17d01 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 @@ -123,7 +123,6 @@ public void setMessage(String message) { 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 5e8b7dd4bf5a..d1266a341985 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 @@ -65,7 +65,6 @@ public void setSourceURI(String sourceURI) { 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 97b4cb7539ce..d48b6b5b1684 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 @@ -65,7 +65,6 @@ public void set123list(String _123list) { 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 2738d6e2a99e..550af202ac25 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 @@ -65,7 +65,6 @@ public void setReturn(Integer _return) { 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 726e5874186a..15589b08b91f 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 @@ -141,7 +141,6 @@ public Integer get123number() { - /** * 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 25e8e2f725da..de8003c7eb05 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 @@ -65,7 +65,6 @@ public void setJustNumber(BigDecimal justNumber) { 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 038b1f9c67a9..974dcdc4ac41 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 @@ -88,7 +88,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -247,7 +246,6 @@ public void setComplete(Boolean complete) { 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 9298de14bb65..cf06173c771d 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 @@ -123,7 +123,6 @@ public void setMyBoolean(Boolean myBoolean) { 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 c5d8b6caa05a..b89e54ecf617 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 @@ -97,7 +97,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -270,7 +269,6 @@ public void setStatus(StatusEnum status) { 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 8e2c2b11ae6e..3f93a68c7225 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 @@ -91,7 +91,6 @@ public void setBaz(String baz) { 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 7130a45f47ec..1377dfb8247c 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 @@ -65,7 +65,6 @@ public 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 b3097bd9bf8d..26cbf0347096 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 @@ -93,7 +93,6 @@ public void setName(String name) { 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 2daf12cb584c..b86f558ff59b 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 @@ -191,7 +191,6 @@ public void setArrayItem(List arrayItem) { 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 a99828e518c6..aae8deaeebcc 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 @@ -220,7 +220,6 @@ public void setArrayItem(List arrayItem) { 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 a4b587b7039e..0a30eef69365 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 @@ -267,7 +267,6 @@ public void setUserStatus(Integer userStatus) { 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 e90dca310e88..e12953916f85 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 @@ -951,7 +951,6 @@ public void setPrefixNsWrappedArray(List prefixNsWrappedArray) { this.prefixNsWrappedArray = prefixNsWrappedArray; } - /** * Return true if this XmlItem 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 83051d9be44b..3bda53c4d3ce 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 d9b32f14c88a..540bfec69bce 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 0ef7a92c74d6..19a409261d0c 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 989e1cfedd1e..4dae60bf73d3 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 0188db3eb131..237ef6876b5a 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 a5753530aada..48d5474e10ac 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 ae2672809aa9..35d4269f7096 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 5356d17ee700..cf0c789b457b 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 22ebe1a7105f..2a45b8a318bf 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 160cb71c321f..ab4d63f698e7 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 82a812711de2..0b2455e5863f 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 390dd519c8ce..04b42c7dc5ba 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 ab6d1ec334dc..f33915619ccb 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 258d87e56998..de4d3300bc95 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 af46dea1f6c8..58f279eeb404 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 ef07b4ab8b9d..414196529f07 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 d0a4b1a0a758..0054df5be9f4 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 0b366d3cf2ff..161f758de85b 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 48de1d624425..bbc0ccf6ed66 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 972c981c0d05..4692cd2b4a53 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 6b815fc4131b..87a8673fd2a4 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 b2222d5beb25..58c010444806 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 b314590a7591..7a4c4ec692cb 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 3e226e18b50b..fca06e778491 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 eade817feb3e..063b113ee700 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 85d1a0636694..f5d57cfd409f 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 6b3f0556528a..9c59271b892e 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 ff3d7a3a56c3..fb98b2bd3763 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 01b8c777ae06..4397f81e22d4 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 41b3152250e1..1ca01a3fda08 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 9d9c875cd39a..27fcab15fc09 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 c9dc50b92cb7..e182eaf5420c 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 9737408f2724..dbc2301c750a 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 29da5205dbba..38dfd19f5a82 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 4885e6f1cada..a2065216d66b 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 0bd5045bc68f..674bb2d975be 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 11bbff5e2ba9..8c881b7f5cb2 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 3fb117e293e2..811d679b3667 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 54380188e1d6..b68397073bfb 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 a5ddf0faa6a9..5d0f2a7b6a42 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 109411580c62..14100fcc25bb 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 e374c2dd2dec..e59fea0970b9 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 adcde984f527..61c9020e62ae 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 f93ab7dde8d4..2e28e551301c 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 0bd356861eb7..d307e6fbd935 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 c901d9435309..002cad3f3320 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 fa98c5c6d984..3f6e8619c87e 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 60c45b268406..ae217f582b2e 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 b8ed1a4cfae1..ca181cdaf816 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 f1cf571f4c09..37a3aad5547b 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 27af32855c5c..21c4c8efc7ba 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 98b56e0763ff..19601002fd28 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 1f9b723eb8e7..97cfc1e9a952 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 cbc7f4ba54d2..16c6da73893a 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 f71dea30ad00..1691ce771b36 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 99e6389f4278..e57bc124e364 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 4992b88a6710..27b37b9d1d26 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 08dfd8623602..d7a1d925604c 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 f0a92bbe61b8..568f7f4d4074 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 83ffea0c742f..724e89359230 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 99451f3bd020..1817e338ff70 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 ad6af7ee155f..138406406d37 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 c578f6cbfaab..fb2f1e798e74 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 9c237eefb048..57895ef4e1ba 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 b4f981e3b566..e1d285bda6e6 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 6a738c4b9870..bd3d6720c30f 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 52fb7d1a6a49..c4e88c259564 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 e17d0d797b7f..5336911fcf74 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 5088b2dd1c31..169ff376a5af 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 dc066e6c7dac..31f9e4136789 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 daf9d153ff61..8ca98989d719 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 ef5fc7575f34..c684f27e8582 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 9e97dc35485f..0923cdf0c33f 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 30ce4bb82151..bec0b35bd000 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 f7c4389b6456..3b9786866e50 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/ApiClient.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ApiClient.java index abcae1372273..b14b6fbd9b18 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ApiClient.java @@ -86,8 +86,7 @@ /** *

ApiClient class.

*/ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private static final Pattern JSON_MIME_PATTERN = Pattern.compile("(?i)^(application/json|[^;/ \t]+/[^;/ \t]+[+]json)[ \t]*(;.*)?$"); protected Map defaultHeaderMap = new HashMap<>(); diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ApiException.java index 0efd3f29e18f..971e53506c0d 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ApiException.java @@ -19,8 +19,7 @@ /** * API Exception */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/Configuration.java index 9b501212104c..fe7eed757fa1 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/JSON.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/JSON.java index 8a42179fb33b..56636d44ccb7 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/JSON.java @@ -28,8 +28,7 @@ import jakarta.ws.rs.core.GenericType; import jakarta.ws.rs.ext.ContextResolver; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON implements ContextResolver { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON implements ContextResolver { private ObjectMapper mapper; public JSON() { diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 0c98c6b1dff4..ad4b5f431524 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/Pair.java index cdc179cde933..9068761bdb24 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 3a8babcc0261..5ba7e3cc2d47 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ServerConfiguration.java index fe8a79c4cbdc..66c3f6441327 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ServerVariable.java index 672fb1cbca85..c6d3bb9db186 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/StringUtil.java index 567864bdc9f4..4778907b3dca 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 1455e25657c0..f91455a4172a 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -19,8 +19,7 @@ import java.util.List; import java.util.Map; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/DefaultApi.java index 3a4fa430d191..357c7bcdc744 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -19,8 +19,7 @@ import java.util.List; import java.util.Map; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeApi.java index 3bf4f20edc05..c5495f3c1a9a 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeApi.java @@ -29,8 +29,7 @@ import java.util.List; import java.util.Map; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 8f99ddcbbccd..5ec36ab7fce4 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -19,8 +19,7 @@ import java.util.List; import java.util.Map; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/PetApi.java index ddb61e0817db..470af15afb82 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/PetApi.java @@ -21,8 +21,7 @@ import java.util.List; import java.util.Map; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/StoreApi.java index fa3de1ae422d..7f43820a8901 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/StoreApi.java @@ -19,8 +19,7 @@ import java.util.List; import java.util.Map; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/UserApi.java index 78995bf064ec..1abbd73b240f 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/api/UserApi.java @@ -20,8 +20,7 @@ import java.util.List; import java.util.Map; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 9b3769a35c8d..6d538cb9881a 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index bab64dd3eea1..57b1757a968b 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -23,8 +23,7 @@ import java.util.Map; import java.util.List; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index a2dd64e03e54..f3d40274ca44 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/OAuth.java index 5abcc83dae4d..66d4032f73ba 100644 --- a/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/jersey3/src/main/java/org/openapitools/client/auth/OAuth.java @@ -31,8 +31,7 @@ import java.util.logging.Level; import java.util.logging.Logger; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private static final Logger log = Logger.getLogger(OAuth.class.getName()); private String tokenUrl; 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 c285a38a2ec1..6e80691b3cd0 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 @@ -24,8 +24,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -145,5 +144,4 @@ public Boolean isNullable() { } - } 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 46c43552dafb..985ac8faf5e9 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 @@ -94,7 +94,6 @@ public AdditionalPropertiesClass putMapPropertyItem(String key, String mapProper * @return mapProperty */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -129,7 +128,6 @@ public AdditionalPropertiesClass putMapOfMapPropertyItem(String key, Map getAnytype1_JsonNullable() { return anytype1; } @@ -189,7 +185,6 @@ public AdditionalPropertiesClass mapWithUndeclaredPropertiesAnytype1(Object mapW * @return mapWithUndeclaredPropertiesAnytype1 */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -215,7 +210,6 @@ public AdditionalPropertiesClass mapWithUndeclaredPropertiesAnytype2(Object mapW * @return mapWithUndeclaredPropertiesAnytype2 */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -249,7 +243,6 @@ public AdditionalPropertiesClass putMapWithUndeclaredPropertiesAnytype3Item(Stri * @return mapWithUndeclaredPropertiesAnytype3 */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) @@ -275,7 +268,6 @@ public AdditionalPropertiesClass emptyMap(Object emptyMap) { * @return emptyMap */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMPTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -309,7 +301,6 @@ public AdditionalPropertiesClass putMapWithUndeclaredPropertiesStringItem(String * @return mapWithUndeclaredPropertiesString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -324,7 +315,6 @@ public void setMapWithUndeclaredPropertiesString(Map mapWithUnde 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 eb1180c3dada..47a921624d41 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 @@ -70,7 +70,6 @@ public Animal className(String className) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,7 +95,6 @@ public Animal color(String color) { * @return color */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COLOR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -111,7 +109,6 @@ public void setColor(String color) { 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 6e537e3b308b..6f19d54fb49d 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 @@ -57,8 +57,7 @@ public Apple cultivar(String cultivar) { * @return cultivar */ @jakarta.annotation.Nullable - @Pattern(regexp="^[a-zA-Z\\s]*$") - @JsonProperty(JSON_PROPERTY_CULTIVAR) + @Pattern(regexp="^[a-zA-Z\\s]*$") @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getCultivar() { @@ -83,8 +82,7 @@ public Apple origin(String origin) { * @return origin */ @jakarta.annotation.Nullable - @Pattern(regexp="/^[A-Z\\s]*$/i") - @JsonProperty(JSON_PROPERTY_ORIGIN) + @Pattern(regexp="/^[A-Z\\s]*$/i") @JsonProperty(JSON_PROPERTY_ORIGIN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getOrigin() { @@ -98,7 +96,6 @@ public void setOrigin(String origin) { 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 8108d2c3629e..fb64454cf415 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 @@ -58,7 +58,6 @@ public AppleReq cultivar(String cultivar) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -84,7 +83,6 @@ public AppleReq mealy(Boolean mealy) { * @return mealy */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MEALY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -99,7 +97,6 @@ public void setMealy(Boolean mealy) { 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 bbf01987ce86..0df4205e2720 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 @@ -64,7 +64,6 @@ public ArrayOfArrayOfNumberOnly addArrayArrayNumberItem(List arrayAr */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -79,7 +78,6 @@ public void setArrayArrayNumber(List> arrayArrayNumber) { 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 4e926459a4f7..51732ab9c3a8 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 @@ -64,7 +64,6 @@ public ArrayOfNumberOnly addArrayNumberItem(BigDecimal arrayNumberItem) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_ARRAY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -79,7 +78,6 @@ public void setArrayNumber(List arrayNumber) { 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 6aa56352c23b..595def0489bc 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 @@ -71,7 +71,6 @@ public ArrayTest addArrayOfStringItem(String arrayOfStringItem) { * @return arrayOfString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -106,7 +105,6 @@ public ArrayTest addArrayArrayOfIntegerItem(List arrayArrayOfIntegerItem) */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -141,7 +139,6 @@ public ArrayTest addArrayArrayOfModelItem(List<@Valid ReadOnlyFirst> arrayArrayO */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -156,7 +153,6 @@ public void setArrayArrayOfModel(List> arrayArrayOfMo 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 0e1a79024076..daed215691e6 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 @@ -55,7 +55,6 @@ public Banana lengthCm(BigDecimal lengthCm) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -70,7 +69,6 @@ public void setLengthCm(BigDecimal lengthCm) { 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 b92d0f338df5..0b349f2a9662 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 @@ -60,7 +60,6 @@ public BananaReq lengthCm(BigDecimal lengthCm) { @jakarta.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -86,7 +85,6 @@ public BananaReq sweet(Boolean sweet) { * @return sweet */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SWEET) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -101,7 +99,6 @@ public void setSweet(Boolean sweet) { 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 c02996ec0066..e9eff7f2f7a7 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 @@ -53,7 +53,6 @@ public BasquePig className(String className) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -68,7 +67,6 @@ public void setClassName(String className) { 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 e678c22d4bfc..f333a26defd9 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 @@ -72,7 +72,6 @@ public Capitalization smallCamel(String smallCamel) { * @return smallCamel */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -98,7 +97,6 @@ public Capitalization capitalCamel(String capitalCamel) { * @return capitalCamel */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -124,7 +122,6 @@ public Capitalization smallSnake(String smallSnake) { * @return smallSnake */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -150,7 +147,6 @@ public Capitalization capitalSnake(String capitalSnake) { * @return capitalSnake */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -176,7 +172,6 @@ public Capitalization scAETHFlowPoints(String scAETHFlowPoints) { * @return scAETHFlowPoints */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -202,7 +197,6 @@ public Capitalization ATT_NAME(String ATT_NAME) { * @return ATT_NAME */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -217,7 +211,6 @@ public void setATTNAME(String ATT_NAME) { 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 e1bd23623994..94c85b5d3ba3 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 @@ -67,7 +67,6 @@ public Cat declawed(Boolean declawed) { * @return declawed */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -119,7 +118,6 @@ public Object getAdditionalProperty(String key) { } 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 13ad87eee477..a11b6bc34436 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 @@ -56,7 +56,6 @@ public Category id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -83,7 +82,6 @@ public Category name(String name) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -98,7 +96,6 @@ public void setName(String name) { 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 0ddec5ce8d8b..2e919767d521 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 @@ -72,7 +72,6 @@ public ChildCat name(String name) { * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -106,7 +105,6 @@ public ChildCat petType(String petType) { * @return petType */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -162,7 +160,6 @@ public Object getAdditionalProperty(String key) { } 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 0b13d498dfe5..3aec947c8b2d 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 @@ -52,7 +52,6 @@ public ClassModel propertyClass(String propertyClass) { * @return propertyClass */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -67,7 +66,6 @@ public void setPropertyClass(String propertyClass) { 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 6fdff59f6efc..92abd9de89c9 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 @@ -52,7 +52,6 @@ public Client client(String client) { * @return client */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -67,7 +66,6 @@ public void setClient(String 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 1ecc5aea95f2..35b01f496c46 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 @@ -61,7 +61,6 @@ public ComplexQuadrilateral shapeType(String shapeType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -88,7 +87,6 @@ public ComplexQuadrilateral quadrilateralType(String quadrilateralType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -140,7 +138,6 @@ public Object getAdditionalProperty(String key) { } 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 9b9608313776..fbdc4333d227 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 @@ -53,7 +53,6 @@ public DanishPig className(String className) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -68,7 +67,6 @@ public void setClassName(String className) { 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 423061f6ad1e..3b34cb0b625d 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 @@ -54,7 +54,6 @@ public DeprecatedObject name(String name) { * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -69,7 +68,6 @@ public void setName(String name) { 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 407079339949..7bfd57a2df93 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 @@ -66,7 +66,6 @@ public Dog breed(String breed) { * @return breed */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -118,7 +117,6 @@ public Object getAdditionalProperty(String key) { } 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 04c241ebda75..6c3e409619b7 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 @@ -79,7 +79,6 @@ public Drawing mainShape(Shape mainShape) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MAIN_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -106,7 +105,6 @@ public Drawing shapeOrNull(ShapeOrNull shapeOrNull) { */ @jakarta.annotation.Nullable @Valid - @JsonIgnore public ShapeOrNull getShapeOrNull() { @@ -115,7 +113,6 @@ public ShapeOrNull getShapeOrNull() { @JsonProperty(JSON_PROPERTY_SHAPE_OR_NULL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getShapeOrNull_JsonNullable() { return shapeOrNull; } @@ -141,7 +138,6 @@ public Drawing nullableShape(NullableShape nullableShape) { */ @jakarta.annotation.Nullable @Valid - @JsonIgnore public NullableShape getNullableShape() { @@ -150,7 +146,6 @@ public NullableShape getNullableShape() { @JsonProperty(JSON_PROPERTY_NULLABLE_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableShape_JsonNullable() { return nullableShape; } @@ -184,7 +179,6 @@ public Drawing addShapesItem(Shape shapesItem) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_SHAPES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -236,7 +230,6 @@ public Fruit getAdditionalProperty(String key) { } 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 b22b41248f27..8879a3d30a40 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 @@ -73,7 +73,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -111,7 +110,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); @@ -128,7 +126,6 @@ public EnumArrays justSymbol(JustSymbolEnum justSymbol) { * @return justSymbol */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -162,7 +159,6 @@ public EnumArrays addArrayEnumItem(ArrayEnumEnum arrayEnumItem) { * @return arrayEnum */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -177,7 +173,6 @@ public void setArrayEnum(List arrayEnum) { 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 61987d6cb72a..5d784630b4cb 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 @@ -89,7 +89,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -129,7 +128,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -167,7 +165,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -205,7 +202,6 @@ public static EnumIntegerOnlyEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER_ONLY = "enum_integer_only"; private EnumIntegerOnlyEnum enumIntegerOnly; @@ -243,7 +239,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -272,7 +267,6 @@ public EnumTest enumString(EnumStringEnum enumString) { * @return enumString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -299,7 +293,6 @@ public EnumTest enumStringRequired(EnumStringRequiredEnum enumStringRequired) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -325,7 +318,6 @@ public EnumTest enumInteger(EnumIntegerEnum enumInteger) { * @return enumInteger */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -351,7 +343,6 @@ public EnumTest enumIntegerOnly(EnumIntegerOnlyEnum enumIntegerOnly) { * @return enumIntegerOnly */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER_ONLY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -377,7 +368,6 @@ public EnumTest enumNumber(EnumNumberEnum enumNumber) { * @return enumNumber */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -404,7 +394,6 @@ public EnumTest outerEnum(OuterEnum outerEnum) { */ @jakarta.annotation.Nullable @Valid - @JsonIgnore public OuterEnum getOuterEnum() { @@ -413,7 +402,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -439,7 +427,6 @@ public EnumTest outerEnumInteger(OuterEnumInteger outerEnumInteger) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -466,7 +453,6 @@ public EnumTest outerEnumDefaultValue(OuterEnumDefaultValue outerEnumDefaultValu */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -493,7 +479,6 @@ public EnumTest outerEnumIntegerDefaultValue(OuterEnumIntegerDefaultValue outerE */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -508,7 +493,6 @@ public void setOuterEnumIntegerDefaultValue(OuterEnumIntegerDefaultValue outerEn 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 c320823ff753..16bf7b5fce5d 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 @@ -61,7 +61,6 @@ public EquilateralTriangle shapeType(String shapeType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -88,7 +87,6 @@ public EquilateralTriangle triangleType(String triangleType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -140,7 +138,6 @@ public Object getAdditionalProperty(String key) { } 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 d045cefd5561..fa96ca890166 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 @@ -60,7 +60,6 @@ public FileSchemaTestClass _file(ModelFile _file) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -95,7 +94,6 @@ public FileSchemaTestClass addFilesItem(ModelFile filesItem) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_FILES) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -110,7 +108,6 @@ public void setFiles(List<@Valid ModelFile> files) { 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 745d45775bde..90f757c65763 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 @@ -52,7 +52,6 @@ public Foo bar(String bar) { * @return bar */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -67,7 +66,6 @@ public void setBar(String bar) { 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 85e4cabfbc8f..b342948d7ba1 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 @@ -55,7 +55,6 @@ public FooGetDefaultResponse string(Foo string) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -70,7 +69,6 @@ public void setString(Foo string) { 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 f538d9cdec0c..e8945847ba67 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 @@ -120,8 +120,7 @@ public FormatTest integer(Integer integer) { * @return integer */ @jakarta.annotation.Nullable - @Min(10) @Max(100) - @JsonProperty(JSON_PROPERTY_INTEGER) + @Min(10) @Max(100) @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -148,8 +147,7 @@ public FormatTest int32(Integer int32) { * @return int32 */ @jakarta.annotation.Nullable - @Min(20) @Max(200) - @JsonProperty(JSON_PROPERTY_INT32) + @Min(20) @Max(200) @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -174,7 +172,6 @@ public FormatTest int64(Long int64) { * @return int64 */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -204,8 +201,7 @@ public FormatTest number(BigDecimal number) { @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() { @@ -232,8 +228,7 @@ public FormatTest _float(Float _float) { * @return _float */ @jakarta.annotation.Nullable - @DecimalMin("54.3") @DecimalMax("987.6") - @JsonProperty(JSON_PROPERTY_FLOAT) + @DecimalMin("54.3") @DecimalMax("987.6") @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -260,8 +255,7 @@ public FormatTest _double(Double _double) { * @return _double */ @jakarta.annotation.Nullable - @DecimalMin("67.8") @DecimalMax("123.4") - @JsonProperty(JSON_PROPERTY_DOUBLE) + @DecimalMin("67.8") @DecimalMax("123.4") @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -287,7 +281,6 @@ public FormatTest decimal(BigDecimal decimal) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_DECIMAL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -313,8 +306,7 @@ public FormatTest string(String string) { * @return string */ @jakarta.annotation.Nullable - @Pattern(regexp="/[a-z]/i") - @JsonProperty(JSON_PROPERTY_STRING) + @Pattern(regexp="/[a-z]/i") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -340,7 +332,6 @@ public FormatTest _byte(byte[] _byte) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -367,7 +358,6 @@ public FormatTest binary(File binary) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -395,7 +385,6 @@ public FormatTest date(LocalDate date) { @jakarta.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -422,7 +411,6 @@ public FormatTest dateTime(OffsetDateTime dateTime) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -449,7 +437,6 @@ public FormatTest uuid(UUID uuid) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -476,8 +463,7 @@ public FormatTest password(String password) { */ @jakarta.annotation.Nonnull @NotNull - @Size(min=10,max=64) - @JsonProperty(JSON_PROPERTY_PASSWORD) + @Size(min=10,max=64) @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -502,8 +488,7 @@ public FormatTest patternWithDigits(String patternWithDigits) { * @return patternWithDigits */ @jakarta.annotation.Nullable - @Pattern(regexp="^\\d{10}$") - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) + @Pattern(regexp="^\\d{10}$") @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigits() { @@ -528,8 +513,7 @@ public FormatTest patternWithDigitsAndDelimiter(String patternWithDigitsAndDelim * @return patternWithDigitsAndDelimiter */ @jakarta.annotation.Nullable - @Pattern(regexp="/^image_\\d{1,3}$/i") - @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) + @Pattern(regexp="/^image_\\d{1,3}$/i") @JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getPatternWithDigitsAndDelimiter() { @@ -543,7 +527,6 @@ public void setPatternWithDigitsAndDelimiter(String patternWithDigitsAndDelimite 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 9cc07429f12a..2d8a72aa2faf 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 @@ -149,7 +149,6 @@ public Fruit getNullValue(DeserializationContext ctxt) throws JsonMappingExcepti 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 63587eab7a4d..60c3e141808f 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 @@ -149,7 +149,6 @@ public FruitReq getNullValue(DeserializationContext ctxt) throws JsonMappingExce 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 b718b0b32a3c..39eba28c2c5a 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 @@ -129,7 +129,6 @@ public GmFruit getNullValue(DeserializationContext ctxt) throws JsonMappingExcep public GmFruit() { super("anyOf", Boolean.FALSE); } - public GmFruit(Apple o) { super("anyOf", Boolean.FALSE); 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 eae309553e85..4986e079fc80 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 @@ -66,7 +66,6 @@ public GrandparentAnimal petType(String petType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -81,7 +80,6 @@ public void setPetType(String petType) { 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 96075e8cbbf5..328219a0282e 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 @@ -62,7 +62,6 @@ public HasOnlyReadOnly( * @return bar */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -78,7 +77,6 @@ public String getBar() { * @return foo */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -88,7 +86,6 @@ public String getFoo() { - /** * 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 bba217230b10..17ca743dce27 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 @@ -56,7 +56,6 @@ public HealthCheckResult nullableMessage(String nullableMessage) { * @return nullableMessage */ @jakarta.annotation.Nullable - @JsonIgnore public String getNullableMessage() { @@ -65,7 +64,6 @@ public String getNullableMessage() { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } @@ -79,7 +77,6 @@ public void setNullableMessage(String nullableMessage) { 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 f9ca92d663ee..dab09eec6648 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 @@ -57,7 +57,6 @@ public IsoscelesTriangle shapeType(String shapeType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -84,7 +83,6 @@ public IsoscelesTriangle triangleType(String triangleType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -99,7 +97,6 @@ public void setTriangleType(String triangleType) { 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 f359d92902e7..68e0e80bd0a5 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 @@ -229,7 +229,6 @@ public Object getAdditionalProperty(String key) { } 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 2bec08cf2d7a..9d00c2fa1a05 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 @@ -194,7 +194,6 @@ public Object getAdditionalProperty(String key) { } 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 c2991fbe6b89..b1bfac2d1690 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 @@ -78,7 +78,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); @@ -110,7 +109,6 @@ public MapTest putMapMapOfStringItem(String key, Map mapMapOfStr */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -144,7 +142,6 @@ public MapTest putMapOfEnumStringItem(String key, InnerEnum mapOfEnumStringItem) * @return mapOfEnumString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -178,7 +175,6 @@ public MapTest putDirectMapItem(String key, Boolean directMapItem) { * @return directMap */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -212,7 +208,6 @@ public MapTest putIndirectMapItem(String key, Boolean indirectMapItem) { * @return indirectMap */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -227,7 +222,6 @@ public void setIndirectMap(Map indirectMap) { 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 0b95d926f6a7..4f4415a9fdc7 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 @@ -66,7 +66,6 @@ public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -93,7 +92,6 @@ public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateT */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -128,7 +126,6 @@ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -143,7 +140,6 @@ public void setMap(Map map) { 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 275e0e08102d..15e12b685724 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 @@ -57,7 +57,6 @@ public Model200Response name(Integer name) { * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -83,7 +82,6 @@ public Model200Response propertyClass(String propertyClass) { * @return propertyClass */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -98,7 +96,6 @@ public void setPropertyClass(String propertyClass) { 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 ba2267b3453e..e807ebfa784a 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 @@ -61,7 +61,6 @@ public ModelApiResponse code(Integer code) { * @return code */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -87,7 +86,6 @@ public ModelApiResponse type(String type) { * @return type */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -113,7 +111,6 @@ public ModelApiResponse message(String message) { * @return message */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -128,7 +125,6 @@ public void setMessage(String message) { 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 1f5ace8b7c7b..c7e8c62a9262 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 @@ -53,7 +53,6 @@ public ModelFile sourceURI(String sourceURI) { * @return sourceURI */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -68,7 +67,6 @@ public void setSourceURI(String sourceURI) { 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 ee493e5d7d95..c1731d67b54d 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 @@ -53,7 +53,6 @@ public ModelList _123list(String _123list) { * @return _123list */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -68,7 +67,6 @@ public void set123list(String _123list) { 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 e8f2e028b247..da9545625af7 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 @@ -53,7 +53,6 @@ public ModelReturn _return(Integer _return) { * @return _return */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -68,7 +67,6 @@ public void setReturn(Integer _return) { 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 3e10afc3e878..c20d2e7b7b20 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 @@ -75,7 +75,6 @@ public Name name(Integer name) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,7 +95,6 @@ public void setName(Integer name) { * @return snakeCase */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -117,7 +115,6 @@ public Name property(String property) { * @return property */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -138,7 +135,6 @@ public void setProperty(String property) { * @return _123number */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -148,7 +144,6 @@ public Integer get123number() { - /** * 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 ec03592ec2b6..b01c08c7964a 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 @@ -111,7 +111,6 @@ public NullableClass integerProp(Integer integerProp) { * @return integerProp */ @jakarta.annotation.Nullable - @JsonIgnore public Integer getIntegerProp() { @@ -120,7 +119,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -146,7 +144,6 @@ public NullableClass numberProp(BigDecimal numberProp) { */ @jakarta.annotation.Nullable @Valid - @JsonIgnore public BigDecimal getNumberProp() { @@ -155,7 +152,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -180,7 +176,6 @@ public NullableClass booleanProp(Boolean booleanProp) { * @return booleanProp */ @jakarta.annotation.Nullable - @JsonIgnore public Boolean getBooleanProp() { @@ -189,7 +184,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -214,7 +208,6 @@ public NullableClass stringProp(String stringProp) { * @return stringProp */ @jakarta.annotation.Nullable - @JsonIgnore public String getStringProp() { @@ -223,7 +216,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -249,7 +241,6 @@ public NullableClass dateProp(LocalDate dateProp) { */ @jakarta.annotation.Nullable @Valid - @JsonIgnore public LocalDate getDateProp() { @@ -258,7 +249,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -284,7 +274,6 @@ public NullableClass datetimeProp(OffsetDateTime datetimeProp) { */ @jakarta.annotation.Nullable @Valid - @JsonIgnore public OffsetDateTime getDatetimeProp() { @@ -293,7 +282,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -330,7 +318,6 @@ public NullableClass addArrayNullablePropItem(Object arrayNullablePropItem) { * @return arrayNullableProp */ @jakarta.annotation.Nullable - @JsonIgnore public List getArrayNullableProp() { @@ -339,7 +326,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -376,7 +362,6 @@ public NullableClass addArrayAndItemsNullablePropItem(Object arrayAndItemsNullab * @return arrayAndItemsNullableProp */ @jakarta.annotation.Nullable - @JsonIgnore public List getArrayAndItemsNullableProp() { @@ -385,7 +370,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -418,7 +402,6 @@ public NullableClass addArrayItemsNullableItem(Object arrayItemsNullableItem) { * @return arrayItemsNullable */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -456,7 +439,6 @@ public NullableClass putObjectNullablePropItem(String key, Object objectNullable * @return objectNullableProp */ @jakarta.annotation.Nullable - @JsonIgnore public Map getObjectNullableProp() { @@ -465,7 +447,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -502,7 +483,6 @@ public NullableClass putObjectAndItemsNullablePropItem(String key, Object object * @return objectAndItemsNullableProp */ @jakarta.annotation.Nullable - @JsonIgnore public Map getObjectAndItemsNullableProp() { @@ -511,7 +491,6 @@ public Map getObjectAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -544,7 +523,6 @@ public NullableClass putObjectItemsNullableItem(String key, Object objectItemsNu * @return objectItemsNullable */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) @@ -596,7 +574,6 @@ public Object getAdditionalProperty(String key) { } 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 ad4615323d85..3223a5aa432b 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 @@ -208,7 +208,6 @@ public Object getAdditionalProperty(String key) { } 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 c3d85bf98a8f..bb076755f4ac 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 @@ -54,7 +54,6 @@ public NumberOnly justNumber(BigDecimal justNumber) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_JUST_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -69,7 +68,6 @@ public void setJustNumber(BigDecimal justNumber) { 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 40c19f4cb86b..c73452ae39ea 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 @@ -71,7 +71,6 @@ public ObjectWithDeprecatedFields uuid(String uuid) { * @return uuid */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -101,7 +100,6 @@ public ObjectWithDeprecatedFields id(BigDecimal id) { @Deprecated @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -132,7 +130,6 @@ public ObjectWithDeprecatedFields deprecatedRef(DeprecatedObject deprecatedRef) @Deprecated @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_DEPRECATED_REF) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -170,7 +167,6 @@ public ObjectWithDeprecatedFields addBarsItem(String barsItem) { */ @Deprecated @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BARS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -186,7 +182,6 @@ public void setBars(List bars) { 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 bbc05fd396b9..be8ef87f226b 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 @@ -90,7 +90,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -110,7 +109,6 @@ public Order id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -136,7 +134,6 @@ public Order petId(Long petId) { * @return petId */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -162,7 +159,6 @@ public Order quantity(Integer quantity) { * @return quantity */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -189,7 +185,6 @@ public Order shipDate(OffsetDateTime shipDate) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -215,7 +210,6 @@ public Order status(StatusEnum status) { * @return status */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -241,7 +235,6 @@ public Order complete(Boolean complete) { * @return complete */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -256,7 +249,6 @@ public void setComplete(Boolean complete) { 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 70d6d70d48f3..286de713a16c 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 @@ -62,7 +62,6 @@ public OuterComposite myNumber(BigDecimal myNumber) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -88,7 +87,6 @@ public OuterComposite myString(String myString) { * @return myString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -114,7 +112,6 @@ public OuterComposite myBoolean(Boolean myBoolean) { * @return myBoolean */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -129,7 +126,6 @@ public void setMyBoolean(Boolean myBoolean) { 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 0833a468c56e..d160d2b53466 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 @@ -91,7 +91,6 @@ public Object getAdditionalProperty(String key) { } 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 bd16328a5774..c39fb0e8fe0c 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 @@ -96,7 +96,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -113,7 +112,6 @@ public Pet id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -140,7 +138,6 @@ public Pet category(Category category) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -167,7 +164,6 @@ public Pet name(String name) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -202,7 +198,6 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -237,7 +232,6 @@ public Pet addTagsItem(Tag tagsItem) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -263,7 +257,6 @@ public Pet status(StatusEnum status) { * @return status */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -278,7 +271,6 @@ public void setStatus(StatusEnum status) { 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 5b264de1ab20..6342982e7830 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 @@ -208,7 +208,6 @@ public Object getAdditionalProperty(String key) { } 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 dfbc7e606a77..85e66068b7f9 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 @@ -208,7 +208,6 @@ public Object getAdditionalProperty(String key) { } 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 2cea67f941ce..40225c8ae1a3 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 @@ -53,7 +53,6 @@ public QuadrilateralInterface quadrilateralType(String quadrilateralType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -68,7 +67,6 @@ public void setQuadrilateralType(String quadrilateralType) { 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 f96f12455401..8d95bd10953c 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 @@ -59,7 +59,6 @@ public ReadOnlyFirst( * @return bar */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -80,7 +79,6 @@ public ReadOnlyFirst baz(String baz) { * @return baz */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -95,7 +93,6 @@ public void setBaz(String baz) { 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 108a94f53156..900851aa012a 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 @@ -61,7 +61,6 @@ public ScaleneTriangle shapeType(String shapeType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -88,7 +87,6 @@ public ScaleneTriangle triangleType(String triangleType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -140,7 +138,6 @@ public Object getAdditionalProperty(String key) { } 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 65b6b395bc10..1d75389d4bb4 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 @@ -208,7 +208,6 @@ public Object getAdditionalProperty(String key) { } 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 30a02755e30f..e922e4429a8d 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 @@ -53,7 +53,6 @@ public ShapeInterface shapeType(String shapeType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -68,7 +67,6 @@ public void setShapeType(String shapeType) { 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 00381f7f2e0f..ea3cf5edb96a 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 @@ -208,7 +208,6 @@ public Object getAdditionalProperty(String key) { } 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 ab2a11589df7..54dd985b1ad6 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 @@ -61,7 +61,6 @@ public SimpleQuadrilateral shapeType(String shapeType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -88,7 +87,6 @@ public SimpleQuadrilateral quadrilateralType(String quadrilateralType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -140,7 +138,6 @@ public Object getAdditionalProperty(String key) { } 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 aa1a9d92c1db..79c42fc5be3f 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 @@ -57,7 +57,6 @@ public SpecialModelName() { * @return $specialPropertyName */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -83,7 +82,6 @@ public SpecialModelName specialModelName(String specialModelName) { * @return specialModelName */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SPECIAL_MODEL_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -98,7 +96,6 @@ public void setSpecialModelName(String 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 d50491449a44..e91cd22c5f2c 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 @@ -56,7 +56,6 @@ public Tag id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -82,7 +81,6 @@ public Tag name(String name) { * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -97,7 +95,6 @@ public void setName(String name) { 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 d381190c71cf..222d719d0a69 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 @@ -57,7 +57,6 @@ public TestInlineFreeformAdditionalPropertiesRequest someProperty(String somePro * @return someProperty */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOME_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -109,7 +108,6 @@ public Object getAdditionalProperty(String key) { } 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 6183cd4dcde3..5810527720d7 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 @@ -229,7 +229,6 @@ public Object getAdditionalProperty(String key) { } 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 3959be31ef6b..305ee90a3948 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 @@ -53,7 +53,6 @@ public TriangleInterface triangleType(String triangleType) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -68,7 +67,6 @@ public void setTriangleType(String triangleType) { 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 72b0b9934b24..8fd3d197b023 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 @@ -100,7 +100,6 @@ public User id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -126,7 +125,6 @@ public User username(String username) { * @return username */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -152,7 +150,6 @@ public User firstName(String firstName) { * @return firstName */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -178,7 +175,6 @@ public User lastName(String lastName) { * @return lastName */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -204,7 +200,6 @@ public User email(String email) { * @return email */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -230,7 +225,6 @@ public User password(String password) { * @return password */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -256,7 +250,6 @@ public User phone(String phone) { * @return phone */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -282,7 +275,6 @@ public User userStatus(Integer userStatus) { * @return userStatus */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -308,7 +300,6 @@ public User objectWithNoDeclaredProps(Object objectWithNoDeclaredProps) { * @return objectWithNoDeclaredProps */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -334,7 +325,6 @@ public User objectWithNoDeclaredPropsNullable(Object objectWithNoDeclaredPropsNu * @return objectWithNoDeclaredPropsNullable */ @jakarta.annotation.Nullable - @JsonIgnore public Object getObjectWithNoDeclaredPropsNullable() { @@ -343,7 +333,6 @@ public Object getObjectWithNoDeclaredPropsNullable() { @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getObjectWithNoDeclaredPropsNullable_JsonNullable() { return objectWithNoDeclaredPropsNullable; } @@ -368,7 +357,6 @@ public User anyTypeProp(Object anyTypeProp) { * @return anyTypeProp */ @jakarta.annotation.Nullable - @JsonIgnore public Object getAnyTypeProp() { @@ -377,7 +365,6 @@ public Object getAnyTypeProp() { @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypeProp_JsonNullable() { return anyTypeProp; } @@ -402,7 +389,6 @@ public User anyTypePropNullable(Object anyTypePropNullable) { * @return anyTypePropNullable */ @jakarta.annotation.Nullable - @JsonIgnore public Object getAnyTypePropNullable() { @@ -411,7 +397,6 @@ public Object getAnyTypePropNullable() { @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypePropNullable_JsonNullable() { return anyTypePropNullable; } @@ -425,7 +410,6 @@ public void setAnyTypePropNullable(Object anyTypePropNullable) { 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 c8971640e8a4..8ab70dcb83b8 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 @@ -61,7 +61,6 @@ public Whale hasBaleen(Boolean hasBaleen) { * @return hasBaleen */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_HAS_BALEEN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -87,7 +86,6 @@ public Whale hasTeeth(Boolean hasTeeth) { * @return hasTeeth */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_HAS_TEETH) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -114,7 +112,6 @@ public Whale className(String className) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -129,7 +126,6 @@ public void setClassName(String className) { 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 aa390ffcd2cf..51ced806c262 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 @@ -78,7 +78,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; private TypeEnum type; @@ -98,7 +97,6 @@ public Zebra type(TypeEnum type) { * @return type */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -125,7 +123,6 @@ public Zebra className(String className) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -177,7 +174,6 @@ public Object getAdditionalProperty(String key) { } 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/RFC3339DateFormat.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 6e2d967a1a92..8ed6279208d7 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); 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 c798b428fe25..cf5e3b4d5de0 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 @@ -30,15 +30,13 @@ @XmlRootElement(name = "Category") @XmlAccessorType(XmlAccessType.FIELD) -@JacksonXmlRootElement(localName = "Category") -@JsonPropertyOrder({ +@JacksonXmlRootElement(localName = "Category")@JsonPropertyOrder({ Category.JSON_PROPERTY_ID, Category.JSON_PROPERTY_NAME }) /** * A category for a pet */ - public class Category { public static final String JSON_PROPERTY_ID = "id"; @@ -127,4 +125,3 @@ private static String toIndentedString(Object o) { 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 7ea582a1bec1..f9801b962f5c 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 @@ -30,8 +30,7 @@ @XmlRootElement(name = "ModelApiResponse") @XmlAccessorType(XmlAccessType.FIELD) -@JacksonXmlRootElement(localName = "ModelApiResponse") -@JsonPropertyOrder({ +@JacksonXmlRootElement(localName = "ModelApiResponse")@JsonPropertyOrder({ ModelApiResponse.JSON_PROPERTY_CODE, ModelApiResponse.JSON_PROPERTY_TYPE, ModelApiResponse.JSON_PROPERTY_MESSAGE @@ -40,7 +39,6 @@ /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; @@ -160,4 +158,3 @@ private static String toIndentedString(Object o) { 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 20efbf432c47..4ea1f36cd6ae 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 @@ -31,8 +31,7 @@ @XmlRootElement(name = "Order") @XmlAccessorType(XmlAccessType.FIELD) -@JacksonXmlRootElement(localName = "Order") -@JsonPropertyOrder({ +@JacksonXmlRootElement(localName = "Order")@JsonPropertyOrder({ Order.JSON_PROPERTY_ID, Order.JSON_PROPERTY_PET_ID, Order.JSON_PROPERTY_QUANTITY, @@ -43,7 +42,6 @@ /** * An order for a pets from the pet store */ - public class Order { public static final String JSON_PROPERTY_ID = "id"; @@ -295,4 +293,3 @@ private static String toIndentedString(Object o) { 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 d07171344040..c5195f96f1fb 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 @@ -35,8 +35,7 @@ @XmlRootElement(name = "Pet") @XmlAccessorType(XmlAccessType.FIELD) -@JacksonXmlRootElement(localName = "Pet") -@JsonPropertyOrder({ +@JacksonXmlRootElement(localName = "Pet")@JsonPropertyOrder({ Pet.JSON_PROPERTY_ID, Pet.JSON_PROPERTY_CATEGORY, Pet.JSON_PROPERTY_NAME, @@ -47,7 +46,6 @@ /** * A pet for sale in the pet store */ - public class Pet { public static final String JSON_PROPERTY_ID = "id"; @@ -323,4 +321,3 @@ private static String toIndentedString(Object o) { 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 db5a74ca2be2..56f2dc5af5e0 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 @@ -30,15 +30,13 @@ @XmlRootElement(name = "Tag") @XmlAccessorType(XmlAccessType.FIELD) -@JacksonXmlRootElement(localName = "Tag") -@JsonPropertyOrder({ +@JacksonXmlRootElement(localName = "Tag")@JsonPropertyOrder({ Tag.JSON_PROPERTY_ID, Tag.JSON_PROPERTY_NAME }) /** * A tag for a pet */ - public class Tag { public static final String JSON_PROPERTY_ID = "id"; @@ -127,4 +125,3 @@ private static String toIndentedString(Object o) { 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 9856bbcead54..1fe1fa62edc8 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 @@ -30,8 +30,7 @@ @XmlRootElement(name = "User") @XmlAccessorType(XmlAccessType.FIELD) -@JacksonXmlRootElement(localName = "User") -@JsonPropertyOrder({ +@JacksonXmlRootElement(localName = "User")@JsonPropertyOrder({ User.JSON_PROPERTY_ID, User.JSON_PROPERTY_USERNAME, User.JSON_PROPERTY_FIRST_NAME, @@ -44,7 +43,6 @@ /** * A User who is purchasing from the pet store */ - public class User { public static final String JSON_PROPERTY_ID = "id"; @@ -322,4 +320,3 @@ private static String toIndentedString(Object o) { 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/RFC3339DateFormat.java b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 6e2d967a1a92..8ed6279208d7 100644 --- a/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/microprofile-rest-client-3.0-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); 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 e08314ab6827..0483901ed146 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 @@ /** * A category for a pet */ - public class Category { public static final String JSON_PROPERTY_ID = "id"; @@ -112,4 +111,3 @@ private static String toIndentedString(Object o) { 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 75df05dfaeff..fd87d78e23d3 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 @@ /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { public static final String JSON_PROPERTY_CODE = "code"; @@ -143,4 +142,3 @@ private static String toIndentedString(Object o) { 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 eb683221585e..1600cd67dabe 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 @@ /** * An order for a pets from the pet store */ - public class Order { public static final String JSON_PROPERTY_ID = "id"; @@ -268,4 +267,3 @@ private static String toIndentedString(Object o) { 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 0e0720b77141..f675d7c5bf52 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 @@ /** * A pet for sale in the pet store */ - public class Pet { public static final String JSON_PROPERTY_ID = "id"; @@ -290,4 +289,3 @@ private static String toIndentedString(Object o) { 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 b6f693497852..650c987f61a7 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 @@ /** * A tag for a pet */ - public class Tag { public static final String JSON_PROPERTY_ID = "id"; @@ -112,4 +111,3 @@ private static String toIndentedString(Object o) { 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 fda9ee53d143..0aa66c520826 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 @@ /** * A User who is purchasing from the pet store */ - public class User { public static final String JSON_PROPERTY_ID = "id"; @@ -295,4 +294,3 @@ private static String toIndentedString(Object o) { 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 121589eaeb6a..20ec86cd9a09 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 @@ /** * A category for a pet */ - public class Category { @JsonbProperty("id") @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 c1df0dd408ae..090892fdc752 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 @@ /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { @JsonbProperty("code") @@ -125,4 +124,3 @@ private static String toIndentedString(Object o) { 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 489c7fc73c5f..b49117639f55 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 @@ /** * An order for a pets from the pet store */ - public class Order { @JsonbProperty("id") @@ -243,4 +242,3 @@ private static String toIndentedString(Object o) { 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 5761ee105f1e..3281acf0943a 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 @@ /** * A pet for sale in the pet store */ - public class Pet { @JsonbProperty("id") @@ -265,4 +264,3 @@ private static String toIndentedString(Object o) { 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 28985a1f069b..8332d5dcbaea 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 @@ /** * A tag for a pet */ - public class Tag { @JsonbProperty("id") @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 d9ebaeb284dd..695623c512c5 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 @@ /** * A User who is purchasing from the pet store */ - public class User { @JsonbProperty("id") @@ -248,4 +247,3 @@ private static String toIndentedString(Object o) { 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 6d04b341accf..308d85dbf423 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.JsonParser; import javax.json.bind.annotation.JsonbProperty; - public class Cat { @JsonbProperty("id") @@ -123,4 +122,3 @@ private static String toIndentedString(Object o) { 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 ae84137c036d..dd7d3c0d9bfa 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.JsonParser; import javax.json.bind.annotation.JsonbProperty; - public class Dog { @JsonbProperty("id") @@ -123,4 +122,3 @@ private static String toIndentedString(Object o) { 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 ec5a12d0b531..047efe9bd378 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 static Status fromValue(String text) { 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 121589eaeb6a..20ec86cd9a09 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 @@ /** * A category for a pet */ - public class Category { @JsonbProperty("id") @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 c1df0dd408ae..090892fdc752 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 @@ /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { @JsonbProperty("code") @@ -125,4 +124,3 @@ private static String toIndentedString(Object o) { 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 489c7fc73c5f..b49117639f55 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 @@ /** * An order for a pets from the pet store */ - public class Order { @JsonbProperty("id") @@ -243,4 +242,3 @@ private static String toIndentedString(Object o) { 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 5761ee105f1e..3281acf0943a 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 @@ /** * A pet for sale in the pet store */ - public class Pet { @JsonbProperty("id") @@ -265,4 +264,3 @@ private static String toIndentedString(Object o) { 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 28985a1f069b..8332d5dcbaea 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 @@ /** * A tag for a pet */ - public class Tag { @JsonbProperty("id") @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 d9ebaeb284dd..695623c512c5 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 @@ /** * A User who is purchasing from the pet store */ - public class User { @JsonbProperty("id") @@ -248,4 +247,3 @@ private static String toIndentedString(Object o) { 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 9b8e0cd72052..2536c7888d16 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 @@ /** * A category for a pet */ - public class Category { @JsonbProperty("id") @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 6afa6830d98c..92ec06a3fb33 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 @@ /** * Describes the result of uploading an image resource */ - public class ModelApiResponse { @JsonbProperty("code") @@ -125,4 +124,3 @@ private static String toIndentedString(Object o) { 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 a111215c674d..e5c85d97aa55 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 @@ /** * An order for a pets from the pet store */ - public class Order { @JsonbProperty("id") @@ -243,4 +242,3 @@ private static String toIndentedString(Object o) { 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 4da8d4dc7636..ef82d9192381 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 @@ /** * A pet for sale in the pet store */ - public class Pet { @JsonbProperty("id") @@ -265,4 +264,3 @@ private static String toIndentedString(Object o) { 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 29afe967b747..52be68267f0a 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 @@ /** * A tag for a pet */ - public class Tag { @JsonbProperty("id") @@ -101,4 +100,3 @@ private static String toIndentedString(Object o) { 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 67aba438db6a..0f80fb92b888 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 @@ /** * A User who is purchasing from the pet store */ - public class User { @JsonbProperty("id") @@ -248,4 +247,3 @@ private static String toIndentedString(Object o) { 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 83051d9be44b..3bda53c4d3ce 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 d9b32f14c88a..540bfec69bce 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 0ef7a92c74d6..19a409261d0c 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 989e1cfedd1e..4dae60bf73d3 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 0188db3eb131..237ef6876b5a 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 a5753530aada..48d5474e10ac 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 36077c9df300..1bfb727e450a 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 5356d17ee700..cf0c789b457b 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 22ebe1a7105f..2a45b8a318bf 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 160cb71c321f..ab4d63f698e7 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 82a812711de2..0b2455e5863f 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 390dd519c8ce..04b42c7dc5ba 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 ab6d1ec334dc..f33915619ccb 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 258d87e56998..de4d3300bc95 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 af46dea1f6c8..58f279eeb404 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 ef07b4ab8b9d..414196529f07 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 d0a4b1a0a758..0054df5be9f4 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 0b366d3cf2ff..161f758de85b 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 48de1d624425..bbc0ccf6ed66 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 972c981c0d05..4692cd2b4a53 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 6b815fc4131b..87a8673fd2a4 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 b2222d5beb25..58c010444806 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 b314590a7591..7a4c4ec692cb 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 3e226e18b50b..fca06e778491 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 eade817feb3e..063b113ee700 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 475be1d2d738..35f1cd587cf9 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 85d1a0636694..f5d57cfd409f 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 6b3f0556528a..9c59271b892e 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 ff3d7a3a56c3..fb98b2bd3763 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 01b8c777ae06..4397f81e22d4 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 41b3152250e1..1ca01a3fda08 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 3927b7acded2..649d59b09ff7 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 c9dc50b92cb7..e182eaf5420c 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 9737408f2724..dbc2301c750a 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 29da5205dbba..38dfd19f5a82 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 4885e6f1cada..a2065216d66b 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 0bd5045bc68f..674bb2d975be 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 11bbff5e2ba9..8c881b7f5cb2 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 54380188e1d6..b68397073bfb 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 a5ddf0faa6a9..5d0f2a7b6a42 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 109411580c62..14100fcc25bb 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 e374c2dd2dec..e59fea0970b9 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 adcde984f527..61c9020e62ae 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 f93ab7dde8d4..2e28e551301c 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 0bd356861eb7..d307e6fbd935 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 c901d9435309..002cad3f3320 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 fa98c5c6d984..3f6e8619c87e 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 60c45b268406..ae217f582b2e 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 b8ed1a4cfae1..ca181cdaf816 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 f1cf571f4c09..37a3aad5547b 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 27af32855c5c..21c4c8efc7ba 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 98b56e0763ff..19601002fd28 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 1f9b723eb8e7..97cfc1e9a952 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 cbc7f4ba54d2..16c6da73893a 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 f71dea30ad00..1691ce771b36 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 99e6389f4278..e57bc124e364 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 4992b88a6710..27b37b9d1d26 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 08dfd8623602..d7a1d925604c 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 f0a92bbe61b8..568f7f4d4074 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 83ffea0c742f..724e89359230 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 99451f3bd020..1817e338ff70 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 ad6af7ee155f..138406406d37 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 c578f6cbfaab..fb2f1e798e74 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 9c237eefb048..57895ef4e1ba 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 b4f981e3b566..e1d285bda6e6 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 0bb9b8b9025f..f0b05f9317d2 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 52fb7d1a6a49..c4e88c259564 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 e17d0d797b7f..5336911fcf74 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 5088b2dd1c31..169ff376a5af 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 dc066e6c7dac..31f9e4136789 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 daf9d153ff61..8ca98989d719 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 ef5fc7575f34..c684f27e8582 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 9e97dc35485f..0923cdf0c33f 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 30ce4bb82151..bec0b35bd000 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 f7c4389b6456..3b9786866e50 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/ApiClient.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiClient.java index d2a56ed9ae05..e30cdb20179f 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiClient.java @@ -51,8 +51,7 @@ *

The setter methods of this class return the current object to facilitate * a fluent style of configuration.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient { private HttpClient.Builder builder; private ObjectMapper mapper; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiException.java index 781b2d2aab17..2fb1d9c242f9 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiException.java @@ -15,8 +15,7 @@ import java.net.http.HttpHeaders; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiResponse.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiResponse.java index f51a2b5ee145..9827a0b1c932 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiResponse.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ApiResponse.java @@ -21,8 +21,7 @@ * * @param The type of data that is deserialized from response body */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiResponse { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiResponse { final private int statusCode; final private Map> headers; final private T data; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/Configuration.java index dfd2913e6fa8..541843a01580 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/JSON.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/JSON.java index cb482d6d3bbe..c9df9ac922ca 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/JSON.java @@ -26,8 +26,7 @@ import java.util.Map; import java.util.Set; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON { private ObjectMapper mapper; public JSON() { @@ -82,8 +81,7 @@ public static Class getClassForElement(JsonNode node, Class modelClass) { /** * Helper class to register the discriminator mappings. */ - @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") - private static class ClassDiscriminatorMapping { + @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") private static class ClassDiscriminatorMapping { // The model class name. Class modelClass; // The name of the discriminator property. diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 36254417f998..4f8a26234bcb 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -46,8 +46,7 @@ import java.util.concurrent.CompletableFuture; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/DefaultApi.java index eac0bf94a47e..6638f26e345d 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -46,8 +46,7 @@ import java.util.concurrent.CompletableFuture; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeApi.java index 94677eedf991..418b3a4663d0 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeApi.java @@ -63,8 +63,7 @@ import java.util.concurrent.CompletableFuture; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 748d5fee0e48..7c941a795927 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -52,8 +52,7 @@ import java.util.concurrent.CompletableFuture; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/PetApi.java index d1dd47b94db8..ea5856302b7d 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/PetApi.java @@ -54,8 +54,7 @@ import java.util.concurrent.CompletableFuture; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/StoreApi.java index 19d23a60a23e..f4312a853310 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/StoreApi.java @@ -52,8 +52,7 @@ import java.util.concurrent.CompletableFuture; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/UserApi.java index 6fcadc7b1a53..60b6af7976fb 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/api/UserApi.java @@ -53,8 +53,7 @@ import java.util.concurrent.CompletableFuture; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; 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 49dc3c99ef5d..95741ad7b86f 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 @@ -22,8 +22,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -143,5 +142,4 @@ public Boolean isNullable() { } - } 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 ef14997d9d7c..db4b62602edd 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 @@ -158,7 +158,6 @@ public Object getAnytype1() { @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnytype1_JsonNullable() { return anytype1; } @@ -308,7 +307,6 @@ public void setMapWithUndeclaredPropertiesString(Map mapWithUnde 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 f7d96f7f0a6f..a202a04a8046 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 @@ -108,7 +108,6 @@ public void setColor(String color) { 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 ded4b1660d05..9f2effa26529 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 @@ -94,7 +94,6 @@ public void setOrigin(String origin) { 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 d5f6bb44fc4d..8fe44e712c38 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 @@ -94,7 +94,6 @@ public void setMealy(Boolean mealy) { 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 06be317744b8..9fbf84185853 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 @@ -77,7 +77,6 @@ public void setArrayArrayNumber(List> arrayArrayNumber) { 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 a20170b2842e..405b0e24c8ee 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 @@ -77,7 +77,6 @@ public void setArrayNumber(List arrayNumber) { 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 f3dafe5b516f..62fc1a8d30aa 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 @@ -149,7 +149,6 @@ public void setArrayArrayOfModel(List> arrayArrayOfModel) { 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 bee4c8129be6..19f30ff7ab79 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 @@ -67,7 +67,6 @@ public void setLengthCm(BigDecimal lengthCm) { 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 03d01c2e92ed..4307f690a4e1 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 @@ -95,7 +95,6 @@ public void setSweet(Boolean sweet) { 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 cdd910f1ab46..70633dbe1015 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 @@ -66,7 +66,6 @@ public void setClassName(String className) { 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 4f817eb0336c..108ac4f40621 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 @@ -206,7 +206,6 @@ public void setATTNAME(String ATT_NAME) { 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 0e5bff484d0b..66b492931ad8 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 @@ -78,7 +78,6 @@ public void setDeclawed(Boolean declawed) { this.declawed = declawed; } - @Override public Cat className(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 8c73f48e5dd5..7be35fd418f1 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 @@ -94,7 +94,6 @@ public void setName(String name) { 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 f62af72833db..b8850626b0a4 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 @@ -119,7 +119,6 @@ public void setPetType(String petType) { 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 a84e6cf4b40a..aa62a57a320b 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 @@ -66,7 +66,6 @@ public void setPropertyClass(String propertyClass) { 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 6bb01094e535..4b7d02d954ab 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 @@ -66,7 +66,6 @@ public void setClient(String 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 516edb098fbb..c48c43bb8411 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 @@ -94,7 +94,6 @@ public void setQuadrilateralType(String quadrilateralType) { 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 81fc7a380cb4..e87ae110c4d6 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 @@ -66,7 +66,6 @@ public void setClassName(String className) { 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 2eab9e5f88ce..7e9e7225caf9 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 @@ -68,7 +68,6 @@ public void setName(String name) { 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 81e4dde04e43..706ecd925717 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 @@ -77,7 +77,6 @@ public void setBreed(String breed) { this.breed = breed; } - @Override public Dog className(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 fe7de5c28b01..f8bbc834e142 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 @@ -136,7 +136,6 @@ public NullableShape getNullableShape() { @JsonProperty(JSON_PROPERTY_NULLABLE_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableShape_JsonNullable() { return nullableShape; } @@ -225,7 +224,6 @@ public Fruit getAdditionalProperty(String key) { } 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 dab1aca38763..faa27fac2b19 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 @@ -74,7 +74,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -112,7 +111,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); @@ -174,7 +172,6 @@ public void setArrayEnum(List arrayEnum) { 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 f317018d0fd0..469a0785c08d 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 @@ -89,7 +89,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -129,7 +128,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -167,7 +165,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -205,7 +202,6 @@ public static EnumIntegerOnlyEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER_ONLY = "enum_integer_only"; private EnumIntegerOnlyEnum enumIntegerOnly; @@ -243,7 +239,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -399,7 +394,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -485,7 +479,6 @@ public void setOuterEnumIntegerDefaultValue(OuterEnumIntegerDefaultValue outerEn 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 8301bab8e78f..3890d8b5cbd6 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 @@ -94,7 +94,6 @@ public void setTriangleType(String triangleType) { 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 937797e44207..23505f8d82fc 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 @@ -105,7 +105,6 @@ public void setSomeMap(Map someMap) { 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 57705558b815..9e49c0870b36 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 @@ -105,7 +105,6 @@ public void setFiles(List files) { 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 d41f44d9adbc..c823fe70306d 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 @@ -66,7 +66,6 @@ public void setBar(String bar) { 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 aa2420425f5b..005a6ddbb14c 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 @@ -67,7 +67,6 @@ public void setString(Foo string) { 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 9e5485386fbf..dcfdc0b7d2ea 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 @@ -501,7 +501,6 @@ public void setPatternWithDigitsAndDelimiter(String patternWithDigitsAndDelimite 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 43c0f7201834..6282521df14d 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 @@ -166,7 +166,6 @@ public Fruit getNullValue(DeserializationContext ctxt) throws JsonMappingExcepti 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 2a5abe986aa6..92c60c016ed2 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 @@ -166,7 +166,6 @@ public FruitReq getNullValue(DeserializationContext ctxt) throws JsonMappingExce 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 1d731e1c4489..88cddafd3344 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 @@ -126,7 +126,6 @@ public GmFruit getNullValue(DeserializationContext ctxt) throws JsonMappingExcep 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 6ef3c578d6ac..cd3ab674b7d2 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 @@ -80,7 +80,6 @@ public void setPetType(String petType) { 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 c5279e35a56d..a3e3f2002d13 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 @@ -84,7 +84,6 @@ public String getFoo() { - /** * 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 0114c025cf47..08b4b644b0d4 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 @@ -64,7 +64,6 @@ public String getNullableMessage() { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } @@ -78,7 +77,6 @@ public void setNullableMessage(String nullableMessage) { 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 49ff8eaf83ef..4bc3e09172c3 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 @@ -94,7 +94,6 @@ public void setTriangleType(String triangleType) { 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 1be81461efab..779c62813d55 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 @@ -195,7 +195,6 @@ public Mammal getNullValue(DeserializationContext ctxt) throws JsonMappingExcept 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 e21c6c592213..573595b8b808 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 @@ -79,7 +79,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); @@ -219,7 +218,6 @@ public void setIndirectMap(Map indirectMap) { 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 b2104aaf08e6..3e4a09dbb018 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 @@ -135,7 +135,6 @@ public void setMap(Map map) { 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 05c14c40c9ab..e1fa3bcb7d81 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 @@ -94,7 +94,6 @@ public void setPropertyClass(String propertyClass) { 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 51e30a740ba8..c2f4b8db751f 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 @@ -122,7 +122,6 @@ public void setMessage(String message) { 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 bb31986c2325..d383bd06a4e5 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 @@ -66,7 +66,6 @@ public void setSourceURI(String sourceURI) { 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 3d74837c4e41..d62dcb5a05e2 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 @@ -66,7 +66,6 @@ public void set123list(String _123list) { 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 0d9c9b0b08f5..03b6589630d0 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 @@ -66,7 +66,6 @@ public void setReturn(Integer _return) { 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 499a17a33bd5..98cf69ffac47 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 @@ -140,7 +140,6 @@ public Integer get123number() { - /** * 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 3ebd53c4edb5..468783c68fe9 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 @@ -119,7 +119,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -151,7 +150,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -183,7 +181,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -215,7 +212,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -247,7 +243,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -279,7 +274,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -323,7 +317,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -367,7 +360,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -443,7 +435,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -487,7 +478,6 @@ public Map getObjectAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -576,7 +566,6 @@ public Object getAdditionalProperty(String key) { } 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 15ae58668de8..2191451e4bf9 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 @@ -170,7 +170,6 @@ public NullableShape getNullValue(DeserializationContext ctxt) throws JsonMappin 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 ffae40646786..deda3205f283 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 @@ -67,7 +67,6 @@ public void setJustNumber(BigDecimal justNumber) { 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 1f2a5e981d3d..1e89c6c08c5d 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 @@ -168,7 +168,6 @@ public void setBars(List bars) { 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 50d849a4dbe3..b04d9e3dbd06 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 @@ -91,7 +91,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -244,7 +243,6 @@ public void setComplete(Boolean complete) { 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 dcab4a9f8359..9b594d0801c2 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 @@ -123,7 +123,6 @@ public void setMyBoolean(Boolean myBoolean) { 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 e6a7c93274ba..15fc85ad3ad4 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 @@ -52,7 +52,6 @@ public class ParentPet extends GrandparentAnimal { public ParentPet() { } - @Override public ParentPet petType(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 43a3002eb0c1..fbe7ee77cb6a 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 @@ -97,7 +97,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -263,7 +262,6 @@ public void setStatus(StatusEnum status) { 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 8dfa9e998b03..99b89d32c718 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 @@ -168,7 +168,6 @@ public Pig getNullValue(DeserializationContext ctxt) throws JsonMappingException 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 035d1e366454..05e72a31912f 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 @@ -168,7 +168,6 @@ public Quadrilateral getNullValue(DeserializationContext ctxt) throws JsonMappin 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 10d843c7b4a6..eba11bc2fdfd 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 @@ -66,7 +66,6 @@ public void setQuadrilateralType(String quadrilateralType) { 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 b85dfe8ce7ba..ca5507a49b28 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 @@ -92,7 +92,6 @@ public void setBaz(String baz) { 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 f9bebd6c432c..99eefdde1d6f 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 @@ -94,7 +94,6 @@ public void setTriangleType(String triangleType) { 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 995c9e49b2ba..a19326abdbec 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 @@ -168,7 +168,6 @@ public Shape getNullValue(DeserializationContext ctxt) throws JsonMappingExcepti 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 1e489fad854d..07b7a8d9366a 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 @@ -66,7 +66,6 @@ public void setShapeType(String shapeType) { 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 9d442165fde8..45e1073c345c 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 @@ -168,7 +168,6 @@ public ShapeOrNull getNullValue(DeserializationContext ctxt) throws JsonMappingE 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 e758fe4ea5ab..29d2a5377119 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 @@ -94,7 +94,6 @@ public void setQuadrilateralType(String quadrilateralType) { 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 77b67979fbd7..c0a3f9bf5b9b 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 @@ -94,7 +94,6 @@ public void setSpecialModelName(String 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 6352daef0389..f5ee70e1e06a 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 @@ -94,7 +94,6 @@ public void setName(String name) { 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 de3df1710678..ef6f2eb762af 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 @@ -115,7 +115,6 @@ public Object getAdditionalProperty(String key) { } return this.additionalProperties.get(key); } - /** * Return true if this testInlineFreeformAdditionalProperties_request object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Triangle.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Triangle.java index 8f03828049cb..97481cba67a5 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Triangle.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Triangle.java @@ -195,7 +195,6 @@ public Triangle getNullValue(DeserializationContext ctxt) throws JsonMappingExce public Triangle() { super("oneOf", Boolean.FALSE); } - public Triangle(EquilateralTriangle o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TriangleInterface.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TriangleInterface.java index b8f64c5a8092..3d63f4b15c6d 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TriangleInterface.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TriangleInterface.java @@ -66,7 +66,6 @@ public void setTriangleType(String triangleType) { this.triangleType = triangleType; } - /** * Return true if this TriangleInterface object is equal to o. */ diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/User.java index 1babb7a73120..95a006195d86 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/User.java @@ -324,7 +324,6 @@ public Object getObjectWithNoDeclaredPropsNullable() { @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getObjectWithNoDeclaredPropsNullable_JsonNullable() { return objectWithNoDeclaredPropsNullable; } @@ -356,7 +355,6 @@ public Object getAnyTypeProp() { @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypeProp_JsonNullable() { return anyTypeProp; } @@ -388,7 +386,6 @@ public Object getAnyTypePropNullable() { @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypePropNullable_JsonNullable() { return anyTypePropNullable; } @@ -402,7 +399,6 @@ public void setAnyTypePropNullable(Object anyTypePropNullable) { 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 f5d1cbd13e23..4af3697781a9 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 @@ -122,7 +122,6 @@ public void setClassName(String className) { 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 677c4a1461b7..3509c36cf119 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; private TypeEnum type; @@ -180,7 +179,6 @@ public Object getAdditionalProperty(String key) { } 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 a7fc939d252e..e3a4b6bba74d 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 cd7e3c400be6..d9032dc49e96 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 0c33059b8b6a..5f37d98be57b 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 8bb363301232..4319dfdcb79b 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 abfde4afb501..539d9b3e6648 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 426845227bd3..7bbb6217b8f7 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/ApiClient.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiClient.java index 8ae10b837fbb..78ae8a9325d3 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiClient.java @@ -51,8 +51,7 @@ *

The setter methods of this class return the current object to facilitate * a fluent style of configuration.

*/ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient { private HttpClient.Builder builder; private ObjectMapper mapper; diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiException.java index 0600e302156c..f178eae5f4ac 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiException.java @@ -15,8 +15,7 @@ import java.net.http.HttpHeaders; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiResponse.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiResponse.java index 09271c37ebef..585252ba0b94 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiResponse.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ApiResponse.java @@ -21,8 +21,7 @@ * * @param The type of data that is deserialized from response body */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiResponse { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiResponse { final private int statusCode; final private Map> headers; final private T data; diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/Configuration.java index aa1d0c67fc18..6bc74176d669 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/JSON.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/JSON.java index 415fde772209..e860729b3ee9 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/JSON.java @@ -26,8 +26,7 @@ import java.util.Map; import java.util.Set; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON { private ObjectMapper mapper; public JSON() { @@ -82,8 +81,7 @@ public static Class getClassForElement(JsonNode node, Class modelClass) { /** * Helper class to register the discriminator mappings. */ - @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") - private static class ClassDiscriminatorMapping { + @jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") private static class ClassDiscriminatorMapping { // The model class name. Class modelClass; // The name of the discriminator property. diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/Pair.java index 216238cd022e..220a9194e98d 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 051df7768819..3f6861014f17 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java index 5aac014a8b29..f8ffdf20171f 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ServerVariable.java index e8201acfb71c..606ea92c67cf 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/PetApi.java index caa152c29d46..b4cb755c04c5 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/PetApi.java @@ -52,8 +52,7 @@ import java.util.Set; import java.util.function.Consumer; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java index 3013b48115db..bc698e099592 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java @@ -50,8 +50,7 @@ import java.util.Set; import java.util.function.Consumer; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/UserApi.java index d3d0c5b554cc..8fc0a42e484a 100644 --- a/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/native-jakarta/src/main/java/org/openapitools/client/api/UserApi.java @@ -51,8 +51,7 @@ import java.util.Set; import java.util.function.Consumer; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; 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 a0cb07a2e70e..93b31b4c9bf2 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 @@ -22,8 +22,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -143,5 +142,4 @@ public Boolean isNullable() { } - } 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 8697942be2b1..ed94e98fcd7e 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 @@ -94,7 +94,6 @@ public void setName(String name) { 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 49d4d2b416b0..592f36476478 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 @@ -122,7 +122,6 @@ public void setMessage(String message) { 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 5e7e0778960a..dbb38d9b0b79 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 @@ -91,7 +91,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -244,7 +243,6 @@ public void setComplete(Boolean complete) { 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 36b109f2786c..7351148d816a 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 @@ -97,7 +97,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -265,7 +264,6 @@ public void setStatus(StatusEnum status) { 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 b10f5c4a9c5a..dc1f28b3e9ae 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 @@ -94,7 +94,6 @@ public void setName(String name) { 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 b273308d5314..6ee42bf5d6a3 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 @@ -262,7 +262,6 @@ public void setUserStatus(Integer userStatus) { 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 83051d9be44b..3bda53c4d3ce 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 d9b32f14c88a..540bfec69bce 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 0ef7a92c74d6..19a409261d0c 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 989e1cfedd1e..4dae60bf73d3 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 0188db3eb131..237ef6876b5a 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 a5753530aada..48d5474e10ac 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 36077c9df300..1bfb727e450a 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 5356d17ee700..cf0c789b457b 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 22ebe1a7105f..2a45b8a318bf 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 160cb71c321f..ab4d63f698e7 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 82a812711de2..0b2455e5863f 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 390dd519c8ce..04b42c7dc5ba 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 ab6d1ec334dc..f33915619ccb 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 258d87e56998..de4d3300bc95 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 af46dea1f6c8..58f279eeb404 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 ef07b4ab8b9d..414196529f07 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 d0a4b1a0a758..0054df5be9f4 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 0b366d3cf2ff..161f758de85b 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 48de1d624425..bbc0ccf6ed66 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 972c981c0d05..4692cd2b4a53 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 6b815fc4131b..87a8673fd2a4 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 b2222d5beb25..58c010444806 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 b314590a7591..7a4c4ec692cb 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 3e226e18b50b..fca06e778491 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 eade817feb3e..063b113ee700 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 475be1d2d738..35f1cd587cf9 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 85d1a0636694..f5d57cfd409f 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 6b3f0556528a..9c59271b892e 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 ff3d7a3a56c3..fb98b2bd3763 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 01b8c777ae06..4397f81e22d4 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 41b3152250e1..1ca01a3fda08 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 3927b7acded2..649d59b09ff7 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 c9dc50b92cb7..e182eaf5420c 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 9737408f2724..dbc2301c750a 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 29da5205dbba..38dfd19f5a82 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 4885e6f1cada..a2065216d66b 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 0bd5045bc68f..674bb2d975be 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 11bbff5e2ba9..8c881b7f5cb2 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 54380188e1d6..b68397073bfb 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 a5ddf0faa6a9..5d0f2a7b6a42 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 109411580c62..14100fcc25bb 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 e374c2dd2dec..e59fea0970b9 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 adcde984f527..61c9020e62ae 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 f93ab7dde8d4..2e28e551301c 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 0bd356861eb7..d307e6fbd935 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 c901d9435309..002cad3f3320 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 fa98c5c6d984..3f6e8619c87e 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 60c45b268406..ae217f582b2e 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 b8ed1a4cfae1..ca181cdaf816 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 f1cf571f4c09..37a3aad5547b 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 27af32855c5c..21c4c8efc7ba 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 98b56e0763ff..19601002fd28 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 1f9b723eb8e7..97cfc1e9a952 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 cbc7f4ba54d2..16c6da73893a 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 f71dea30ad00..1691ce771b36 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 99e6389f4278..e57bc124e364 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 4992b88a6710..27b37b9d1d26 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 08dfd8623602..d7a1d925604c 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 f0a92bbe61b8..568f7f4d4074 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 83ffea0c742f..724e89359230 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 99451f3bd020..1817e338ff70 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 ad6af7ee155f..138406406d37 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 c578f6cbfaab..fb2f1e798e74 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 9c237eefb048..57895ef4e1ba 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 b4f981e3b566..e1d285bda6e6 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 0bb9b8b9025f..f0b05f9317d2 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 52fb7d1a6a49..c4e88c259564 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 e17d0d797b7f..5336911fcf74 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 5088b2dd1c31..169ff376a5af 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 dc066e6c7dac..31f9e4136789 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 daf9d153ff61..8ca98989d719 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 ef5fc7575f34..c684f27e8582 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 9e97dc35485f..0923cdf0c33f 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 30ce4bb82151..bec0b35bd000 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 f7c4389b6456..3b9786866e50 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/ApiClient.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiClient.java index d2a56ed9ae05..e30cdb20179f 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiClient.java @@ -51,8 +51,7 @@ *

The setter methods of this class return the current object to facilitate * a fluent style of configuration.

*/ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient { private HttpClient.Builder builder; private ObjectMapper mapper; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiException.java index 781b2d2aab17..2fb1d9c242f9 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiException.java @@ -15,8 +15,7 @@ import java.net.http.HttpHeaders; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiResponse.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiResponse.java index f51a2b5ee145..9827a0b1c932 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiResponse.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ApiResponse.java @@ -21,8 +21,7 @@ * * @param The type of data that is deserialized from response body */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiResponse { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiResponse { final private int statusCode; final private Map> headers; final private T data; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/Configuration.java index dfd2913e6fa8..541843a01580 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/JSON.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/JSON.java index cb482d6d3bbe..c9df9ac922ca 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/JSON.java @@ -26,8 +26,7 @@ import java.util.Map; import java.util.Set; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON { private ObjectMapper mapper; public JSON() { @@ -82,8 +81,7 @@ public static Class getClassForElement(JsonNode node, Class modelClass) { /** * Helper class to register the discriminator mappings. */ - @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") - private static class ClassDiscriminatorMapping { + @javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") private static class ClassDiscriminatorMapping { // The model class name. Class modelClass; // The name of the discriminator property. diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 7f1aa2585839..dfe00ee2b833 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -44,8 +44,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/DefaultApi.java index 5e36146b6ed3..806a40a7e89d 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -44,8 +44,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeApi.java index 159a181e3bf7..21eba2581d68 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeApi.java @@ -61,8 +61,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 09046f04aa53..441d9c987d67 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -50,8 +50,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/PetApi.java index 4b235ab13bdd..79785d1c1cb2 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/PetApi.java @@ -52,8 +52,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/StoreApi.java index a3bb6ee9301a..af17f23d60fe 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/StoreApi.java @@ -50,8 +50,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java index e6afc6423813..9e2f71613882 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/api/UserApi.java @@ -51,8 +51,7 @@ import java.util.Set; import java.util.function.Consumer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private final HttpClient memberVarHttpClient; private final ObjectMapper memberVarObjectMapper; private final String memberVarBaseUri; 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 49dc3c99ef5d..95741ad7b86f 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 @@ -22,8 +22,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -143,5 +142,4 @@ public Boolean isNullable() { } - } 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 fa85646a19b4..da1cce7a65c4 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 @@ -158,7 +158,6 @@ public Object getAnytype1() { @JsonProperty(JSON_PROPERTY_ANYTYPE1) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnytype1_JsonNullable() { return anytype1; } @@ -308,7 +307,6 @@ public void setMapWithUndeclaredPropertiesString(Map mapWithUnde this.mapWithUndeclaredPropertiesString = mapWithUndeclaredPropertiesString; } - /** * Return true if this AdditionalPropertiesClass object is equal to o. */ @@ -466,96 +464,95 @@ public String toUrlQueryString(String prefix) { } 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; - } - public AdditionalPropertiesClass.Builder anytype1(Object anytype1) { - this.instance.anytype1 = JsonNullable.of(anytype1); - return this; - } - public AdditionalPropertiesClass.Builder anytype1(JsonNullable anytype1) { - this.instance.anytype1 = anytype1; - return this; - } - public AdditionalPropertiesClass.Builder mapWithUndeclaredPropertiesAnytype1(Object mapWithUndeclaredPropertiesAnytype1) { - this.instance.mapWithUndeclaredPropertiesAnytype1 = mapWithUndeclaredPropertiesAnytype1; - return this; - } - public AdditionalPropertiesClass.Builder mapWithUndeclaredPropertiesAnytype2(Object mapWithUndeclaredPropertiesAnytype2) { - this.instance.mapWithUndeclaredPropertiesAnytype2 = mapWithUndeclaredPropertiesAnytype2; - return this; - } - public AdditionalPropertiesClass.Builder mapWithUndeclaredPropertiesAnytype3(Map mapWithUndeclaredPropertiesAnytype3) { - this.instance.mapWithUndeclaredPropertiesAnytype3 = mapWithUndeclaredPropertiesAnytype3; - return this; - } - public AdditionalPropertiesClass.Builder emptyMap(Object emptyMap) { - this.instance.emptyMap = emptyMap; - return this; - } - public AdditionalPropertiesClass.Builder mapWithUndeclaredPropertiesString(Map mapWithUndeclaredPropertiesString) { - this.instance.mapWithUndeclaredPropertiesString = mapWithUndeclaredPropertiesString; - 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; + } + public AdditionalPropertiesClass.Builder anytype1(Object anytype1) { + this.instance.anytype1 = JsonNullable.of(anytype1); + return this; + } + public AdditionalPropertiesClass.Builder anytype1(JsonNullable anytype1) { + this.instance.anytype1 = anytype1; + return this; + } + public AdditionalPropertiesClass.Builder mapWithUndeclaredPropertiesAnytype1(Object mapWithUndeclaredPropertiesAnytype1) { + this.instance.mapWithUndeclaredPropertiesAnytype1 = mapWithUndeclaredPropertiesAnytype1; + return this; + } + public AdditionalPropertiesClass.Builder mapWithUndeclaredPropertiesAnytype2(Object mapWithUndeclaredPropertiesAnytype2) { + this.instance.mapWithUndeclaredPropertiesAnytype2 = mapWithUndeclaredPropertiesAnytype2; + return this; + } + public AdditionalPropertiesClass.Builder mapWithUndeclaredPropertiesAnytype3(Map mapWithUndeclaredPropertiesAnytype3) { + this.instance.mapWithUndeclaredPropertiesAnytype3 = mapWithUndeclaredPropertiesAnytype3; + return this; + } + public AdditionalPropertiesClass.Builder emptyMap(Object emptyMap) { + this.instance.emptyMap = emptyMap; + return this; + } + public AdditionalPropertiesClass.Builder mapWithUndeclaredPropertiesString(Map mapWithUndeclaredPropertiesString) { + this.instance.mapWithUndeclaredPropertiesString = mapWithUndeclaredPropertiesString; + 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 + ")"; + } + } + + /** + * 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()) + .anytype1(getAnytype1()) + .mapWithUndeclaredPropertiesAnytype1(getMapWithUndeclaredPropertiesAnytype1()) + .mapWithUndeclaredPropertiesAnytype2(getMapWithUndeclaredPropertiesAnytype2()) + .mapWithUndeclaredPropertiesAnytype3(getMapWithUndeclaredPropertiesAnytype3()) + .emptyMap(getEmptyMap()) + .mapWithUndeclaredPropertiesString(getMapWithUndeclaredPropertiesString()); } - } - - @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()) - .anytype1(getAnytype1()) - .mapWithUndeclaredPropertiesAnytype1(getMapWithUndeclaredPropertiesAnytype1()) - .mapWithUndeclaredPropertiesAnytype2(getMapWithUndeclaredPropertiesAnytype2()) - .mapWithUndeclaredPropertiesAnytype3(getMapWithUndeclaredPropertiesAnytype3()) - .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 26e4195d46f1..fb833c17d434 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 @@ -108,7 +108,6 @@ public void setColor(String color) { this.color = color; } - /** * Return true if this Animal object is equal to o. */ @@ -205,62 +204,61 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 7347175ed94e..dd56c8542067 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 @@ -94,7 +94,6 @@ public void setOrigin(String origin) { this.origin = origin; } - /** * Return true if this apple object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private Apple instance; - - public Builder() { - this(new Apple()); - } - - protected Builder(Apple instance) { - this.instance = instance; - } - - public Apple.Builder cultivar(String cultivar) { - this.instance.cultivar = cultivar; - return this; - } - public Apple.Builder origin(String origin) { - this.instance.origin = origin; - return this; - } - - - /** - * returns a built Apple instance. - * - * The builder is not reusable. - */ - public Apple build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Apple instance; + + public Builder() { + this(new Apple()); + } + + protected Builder(Apple instance) { + this.instance = instance; + } + + public Apple.Builder cultivar(String cultivar) { + this.instance.cultivar = cultivar; + return this; + } + public Apple.Builder origin(String origin) { + this.instance.origin = origin; + return this; + } + + + /** + * returns a built Apple instance. + * + * The builder is not reusable. + */ + public Apple build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static Apple.Builder builder() { + return new Apple.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Apple.Builder toBuilder() { + return new Apple.Builder() + .cultivar(getCultivar()) + .origin(getOrigin()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static Apple.Builder builder() { - return new Apple.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Apple.Builder toBuilder() { - return new Apple.Builder() - .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 59dd9cdc3f91..d4d0fa0ec23a 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 @@ -94,7 +94,6 @@ public void setMealy(Boolean mealy) { this.mealy = mealy; } - /** * Return true if this appleReq object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private AppleReq instance; - - public Builder() { - this(new AppleReq()); - } - - protected Builder(AppleReq instance) { - this.instance = instance; - } - - public AppleReq.Builder cultivar(String cultivar) { - this.instance.cultivar = cultivar; - return this; - } - public AppleReq.Builder mealy(Boolean mealy) { - this.instance.mealy = mealy; - return this; - } - - - /** - * returns a built AppleReq instance. - * - * The builder is not reusable. - */ - public AppleReq build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private AppleReq instance; + + public Builder() { + this(new AppleReq()); + } + + protected Builder(AppleReq instance) { + this.instance = instance; + } + + public AppleReq.Builder cultivar(String cultivar) { + this.instance.cultivar = cultivar; + return this; + } + public AppleReq.Builder mealy(Boolean mealy) { + this.instance.mealy = mealy; + return this; + } + + + /** + * returns a built AppleReq instance. + * + * The builder is not reusable. + */ + public AppleReq build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static AppleReq.Builder builder() { + return new AppleReq.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public AppleReq.Builder toBuilder() { + return new AppleReq.Builder() + .cultivar(getCultivar()) + .mealy(getMealy()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static AppleReq.Builder builder() { - return new AppleReq.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public AppleReq.Builder toBuilder() { - return new AppleReq.Builder() - .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 5f0c32792852..923638b6079d 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 @@ -77,7 +77,6 @@ public void setArrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; } - /** * Return true if this ArrayOfArrayOfNumberOnly object is equal to o. */ @@ -165,57 +164,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 784a907aabd6..6e54d0e03735 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 @@ -77,7 +77,6 @@ public void setArrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; } - /** * Return true if this ArrayOfNumberOnly object is equal to o. */ @@ -165,57 +164,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 bb96880411c5..5207a64bf80a 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 @@ -149,7 +149,6 @@ public void setArrayArrayOfModel(List> arrayArrayOfModel) { this.arrayArrayOfModel = arrayArrayOfModel; } - /** * Return true if this ArrayTest object is equal to o. */ @@ -259,67 +258,66 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 dcf1b678feeb..f8dbdcd2a817 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 @@ -67,7 +67,6 @@ public void setLengthCm(BigDecimal lengthCm) { this.lengthCm = lengthCm; } - /** * Return true if this banana object is equal to o. */ @@ -149,57 +148,56 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private Banana instance; - - public Builder() { - this(new Banana()); - } - - protected Builder(Banana instance) { - this.instance = instance; - } - - public Banana.Builder lengthCm(BigDecimal lengthCm) { - this.instance.lengthCm = lengthCm; - return this; - } - - - /** - * returns a built Banana instance. - * - * The builder is not reusable. - */ - public Banana build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Banana instance; + + public Builder() { + this(new Banana()); + } + + protected Builder(Banana instance) { + this.instance = instance; + } + + public Banana.Builder lengthCm(BigDecimal lengthCm) { + this.instance.lengthCm = lengthCm; + return this; + } + + + /** + * returns a built Banana instance. + * + * The builder is not reusable. + */ + public Banana build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static Banana.Builder builder() { + return new Banana.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Banana.Builder toBuilder() { + return new Banana.Builder() + .lengthCm(getLengthCm()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static Banana.Builder builder() { - return new Banana.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Banana.Builder toBuilder() { - 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 eaeb0563c978..8574604bddae 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 @@ -95,7 +95,6 @@ public void setSweet(Boolean sweet) { this.sweet = sweet; } - /** * Return true if this bananaReq object is equal to o. */ @@ -184,62 +183,61 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private BananaReq instance; - - public Builder() { - this(new BananaReq()); - } - - protected Builder(BananaReq instance) { - this.instance = instance; - } - - public BananaReq.Builder lengthCm(BigDecimal lengthCm) { - this.instance.lengthCm = lengthCm; - return this; - } - public BananaReq.Builder sweet(Boolean sweet) { - this.instance.sweet = sweet; - return this; - } - - - /** - * returns a built BananaReq instance. - * - * The builder is not reusable. - */ - public BananaReq build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private BananaReq instance; + + public Builder() { + this(new BananaReq()); + } + + protected Builder(BananaReq instance) { + this.instance = instance; + } + + public BananaReq.Builder lengthCm(BigDecimal lengthCm) { + this.instance.lengthCm = lengthCm; + return this; + } + public BananaReq.Builder sweet(Boolean sweet) { + this.instance.sweet = sweet; + return this; + } + + + /** + * returns a built BananaReq instance. + * + * The builder is not reusable. + */ + public BananaReq build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static BananaReq.Builder builder() { + return new BananaReq.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public BananaReq.Builder toBuilder() { + return new BananaReq.Builder() + .lengthCm(getLengthCm()) + .sweet(getSweet()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static BananaReq.Builder builder() { - return new BananaReq.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public BananaReq.Builder toBuilder() { - return new BananaReq.Builder() - .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 e1f3c1e88447..7c499fe31fb8 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 @@ -66,7 +66,6 @@ public void setClassName(String className) { this.className = className; } - /** * Return true if this BasquePig object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private BasquePig instance; - - public Builder() { - this(new BasquePig()); - } - - protected Builder(BasquePig instance) { - this.instance = instance; - } - - public BasquePig.Builder className(String className) { - this.instance.className = className; - return this; - } - - - /** - * returns a built BasquePig instance. - * - * The builder is not reusable. - */ - public BasquePig build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private BasquePig instance; + + public Builder() { + this(new BasquePig()); + } + + protected Builder(BasquePig instance) { + this.instance = instance; + } + + public BasquePig.Builder className(String className) { + this.instance.className = className; + return this; + } + + + /** + * returns a built BasquePig instance. + * + * The builder is not reusable. + */ + public BasquePig build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static BasquePig.Builder builder() { + return new BasquePig.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public BasquePig.Builder toBuilder() { + return new BasquePig.Builder() + .className(getClassName()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static BasquePig.Builder builder() { - return new BasquePig.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public BasquePig.Builder toBuilder() { - 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 8e1d29f3e561..0cde0e2b30c1 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 @@ -206,7 +206,6 @@ public void setATTNAME(String ATT_NAME) { this.ATT_NAME = ATT_NAME; } - /** * Return true if this Capitalization object is equal to o. */ @@ -323,82 +322,81 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 07616cc338d7..91b645f7a002 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 @@ -78,7 +78,6 @@ public void setDeclawed(Boolean declawed) { this.declawed = declawed; } - @Override public Cat className(String className) { this.setClassName(className); @@ -190,71 +189,70 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 186ba55e4496..976c62d6d3d8 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 @@ -94,7 +94,6 @@ public void setName(String name) { this.name = name; } - /** * Return true if this Category object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 b6e56b230668..30244f2a2810 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 @@ -119,7 +119,6 @@ public void setPetType(String petType) { this.petType = petType; } - /** * Return true if this ChildCat object is equal to o. */ @@ -216,64 +215,63 @@ public String toUrlQueryString(String prefix) { } public static class Builder extends ParentPet.Builder { - - private ChildCat instance; - - public Builder() { - this(new ChildCat()); - } - - protected Builder(ChildCat instance) { - super(instance); - this.instance = instance; - } - - public ChildCat.Builder name(String name) { - this.instance.name = name; - return this; - } - public ChildCat.Builder petType(String petType) { - this.instance.petType = petType; - return this; - } - - - /** - * returns a built ChildCat instance. - * - * The builder is not reusable. - */ - public ChildCat build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - super.build(); - this.instance = null; + + private ChildCat instance; + + public Builder() { + this(new ChildCat()); + } + + protected Builder(ChildCat instance) { + super(instance); + this.instance = instance; + } + + public ChildCat.Builder name(String name) { + this.instance.name = name; + return this; + } + public ChildCat.Builder petType(String petType) { + this.instance.petType = petType; + return this; + } + + + /** + * returns a built ChildCat instance. + * + * The builder is not reusable. + */ + public ChildCat 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 + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static ChildCat.Builder builder() { + return new ChildCat.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ChildCat.Builder toBuilder() { + return new ChildCat.Builder() + .petType(getPetType()) + .name(getName()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static ChildCat.Builder builder() { - return new ChildCat.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ChildCat.Builder toBuilder() { - return new ChildCat.Builder() - .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 3c1d66b8969b..9b862e8ca666 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 @@ -66,7 +66,6 @@ public void setPropertyClass(String propertyClass) { this.propertyClass = propertyClass; } - /** * Return true if this ClassModel object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 292a1e7e9af7..305c52e4c4e6 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 @@ -66,7 +66,6 @@ public void setClient(String client) { this.client = client; } - /** * Return true if this Client object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 f0673fa112ee..935e1111cefa 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 @@ -94,7 +94,6 @@ public void setQuadrilateralType(String quadrilateralType) { this.quadrilateralType = quadrilateralType; } - /** * Return true if this ComplexQuadrilateral object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private ComplexQuadrilateral instance; - - public Builder() { - this(new ComplexQuadrilateral()); - } - - protected Builder(ComplexQuadrilateral instance) { - this.instance = instance; - } - - public ComplexQuadrilateral.Builder shapeType(String shapeType) { - this.instance.shapeType = shapeType; - return this; - } - public ComplexQuadrilateral.Builder quadrilateralType(String quadrilateralType) { - this.instance.quadrilateralType = quadrilateralType; - return this; - } - - - /** - * returns a built ComplexQuadrilateral instance. - * - * The builder is not reusable. - */ - public ComplexQuadrilateral build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ComplexQuadrilateral instance; + + public Builder() { + this(new ComplexQuadrilateral()); + } + + protected Builder(ComplexQuadrilateral instance) { + this.instance = instance; + } + + public ComplexQuadrilateral.Builder shapeType(String shapeType) { + this.instance.shapeType = shapeType; + return this; + } + public ComplexQuadrilateral.Builder quadrilateralType(String quadrilateralType) { + this.instance.quadrilateralType = quadrilateralType; + return this; + } + + + /** + * returns a built ComplexQuadrilateral instance. + * + * The builder is not reusable. + */ + public ComplexQuadrilateral build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static ComplexQuadrilateral.Builder builder() { + return new ComplexQuadrilateral.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ComplexQuadrilateral.Builder toBuilder() { + return new ComplexQuadrilateral.Builder() + .shapeType(getShapeType()) + .quadrilateralType(getQuadrilateralType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static ComplexQuadrilateral.Builder builder() { - return new ComplexQuadrilateral.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ComplexQuadrilateral.Builder toBuilder() { - return new ComplexQuadrilateral.Builder() - .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 62fcabbffc4d..27b54c30050b 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 @@ -66,7 +66,6 @@ public void setClassName(String className) { this.className = className; } - /** * Return true if this DanishPig object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private DanishPig instance; - - public Builder() { - this(new DanishPig()); - } - - protected Builder(DanishPig instance) { - this.instance = instance; - } - - public DanishPig.Builder className(String className) { - this.instance.className = className; - return this; - } - - - /** - * returns a built DanishPig instance. - * - * The builder is not reusable. - */ - public DanishPig build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private DanishPig instance; + + public Builder() { + this(new DanishPig()); + } + + protected Builder(DanishPig instance) { + this.instance = instance; + } + + public DanishPig.Builder className(String className) { + this.instance.className = className; + return this; + } + + + /** + * returns a built DanishPig instance. + * + * The builder is not reusable. + */ + public DanishPig build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static DanishPig.Builder builder() { + return new DanishPig.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public DanishPig.Builder toBuilder() { + return new DanishPig.Builder() + .className(getClassName()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static DanishPig.Builder builder() { - return new DanishPig.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public DanishPig.Builder toBuilder() { - 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 15587dec25b3..6bb88e7ccc98 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 @@ -68,7 +68,6 @@ public void setName(String name) { this.name = name; } - /** * Return true if this DeprecatedObject object is equal to o. */ @@ -150,57 +149,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 4c30c521ec0a..c30626049225 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 @@ -77,7 +77,6 @@ public void setBreed(String breed) { this.breed = breed; } - @Override public Dog className(String className) { this.setClassName(className); @@ -189,71 +188,70 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 38987124189c..55b3589d5881 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 @@ -136,7 +136,6 @@ public NullableShape getNullableShape() { @JsonProperty(JSON_PROPERTY_NULLABLE_SHAPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableShape_JsonNullable() { return nullableShape; } @@ -225,7 +224,6 @@ public Fruit getAdditionalProperty(String key) { } return this.additionalProperties.get(key); } - /** * Return true if this Drawing object is equal to o. */ @@ -348,76 +346,75 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private Drawing instance; - - public Builder() { - this(new Drawing()); - } - - protected Builder(Drawing instance) { - this.instance = instance; - } - - public Drawing.Builder mainShape(Shape mainShape) { - this.instance.mainShape = mainShape; - return this; - } - public Drawing.Builder shapeOrNull(ShapeOrNull shapeOrNull) { - this.instance.shapeOrNull = shapeOrNull; - return this; - } - public Drawing.Builder nullableShape(NullableShape nullableShape) { - this.instance.nullableShape = JsonNullable.of(nullableShape); - return this; - } - public Drawing.Builder nullableShape(JsonNullable nullableShape) { - this.instance.nullableShape = nullableShape; - return this; - } - public Drawing.Builder shapes(List shapes) { - this.instance.shapes = shapes; - return this; - } - - - /** - * returns a built Drawing instance. - * - * The builder is not reusable. - */ - public Drawing build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Drawing instance; + + public Builder() { + this(new Drawing()); + } + + protected Builder(Drawing instance) { + this.instance = instance; + } + + public Drawing.Builder mainShape(Shape mainShape) { + this.instance.mainShape = mainShape; + return this; + } + public Drawing.Builder shapeOrNull(ShapeOrNull shapeOrNull) { + this.instance.shapeOrNull = shapeOrNull; + return this; + } + public Drawing.Builder nullableShape(NullableShape nullableShape) { + this.instance.nullableShape = JsonNullable.of(nullableShape); + return this; + } + public Drawing.Builder nullableShape(JsonNullable nullableShape) { + this.instance.nullableShape = nullableShape; + return this; + } + public Drawing.Builder shapes(List shapes) { + this.instance.shapes = shapes; + return this; + } + + + /** + * returns a built Drawing instance. + * + * The builder is not reusable. + */ + public Drawing build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static Drawing.Builder builder() { + return new Drawing.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Drawing.Builder toBuilder() { + return new Drawing.Builder() + .mainShape(getMainShape()) + .shapeOrNull(getShapeOrNull()) + .nullableShape(getNullableShape()) + .shapes(getShapes()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static Drawing.Builder builder() { - return new Drawing.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Drawing.Builder toBuilder() { - return new Drawing.Builder() - .mainShape(getMainShape()) - .shapeOrNull(getShapeOrNull()) - .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 c713d8ae40de..2b97db214395 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 @@ -74,7 +74,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -112,7 +111,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); @@ -174,7 +172,6 @@ public void setArrayEnum(List arrayEnum) { this.arrayEnum = arrayEnum; } - /** * Return true if this EnumArrays object is equal to o. */ @@ -267,62 +264,61 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 cdb411064b3e..b4067ff3f69d 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 @@ -89,7 +89,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -129,7 +128,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -167,7 +165,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -205,7 +202,6 @@ public static EnumIntegerOnlyEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER_ONLY = "enum_integer_only"; private EnumIntegerOnlyEnum enumIntegerOnly; @@ -243,7 +239,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -399,7 +394,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -485,7 +479,6 @@ public void setOuterEnumIntegerDefaultValue(OuterEnumIntegerDefaultValue outerEn this.outerEnumIntegerDefaultValue = outerEnumIntegerDefaultValue; } - /** * Return true if this Enum_Test object is equal to o. */ @@ -634,101 +627,100 @@ public String toUrlQueryString(String prefix) { } 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 enumIntegerOnly(EnumIntegerOnlyEnum enumIntegerOnly) { - this.instance.enumIntegerOnly = enumIntegerOnly; - 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 enumIntegerOnly(EnumIntegerOnlyEnum enumIntegerOnly) { + this.instance.enumIntegerOnly = enumIntegerOnly; + 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 + ")"; + } + } + + /** + * 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()) + .enumIntegerOnly(getEnumIntegerOnly()) + .enumNumber(getEnumNumber()) + .outerEnum(getOuterEnum()) + .outerEnumInteger(getOuterEnumInteger()) + .outerEnumDefaultValue(getOuterEnumDefaultValue()) + .outerEnumIntegerDefaultValue(getOuterEnumIntegerDefaultValue()); } - } - - @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()) - .enumIntegerOnly(getEnumIntegerOnly()) - .enumNumber(getEnumNumber()) - .outerEnum(getOuterEnum()) - .outerEnumInteger(getOuterEnumInteger()) - .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 f3f815729e55..b6f410a1145a 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 @@ -94,7 +94,6 @@ public void setTriangleType(String triangleType) { this.triangleType = triangleType; } - /** * Return true if this EquilateralTriangle object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private EquilateralTriangle instance; - - public Builder() { - this(new EquilateralTriangle()); - } - - protected Builder(EquilateralTriangle instance) { - this.instance = instance; - } - - public EquilateralTriangle.Builder shapeType(String shapeType) { - this.instance.shapeType = shapeType; - return this; - } - public EquilateralTriangle.Builder triangleType(String triangleType) { - this.instance.triangleType = triangleType; - return this; - } - - - /** - * returns a built EquilateralTriangle instance. - * - * The builder is not reusable. - */ - public EquilateralTriangle build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private EquilateralTriangle instance; + + public Builder() { + this(new EquilateralTriangle()); + } + + protected Builder(EquilateralTriangle instance) { + this.instance = instance; + } + + public EquilateralTriangle.Builder shapeType(String shapeType) { + this.instance.shapeType = shapeType; + return this; + } + public EquilateralTriangle.Builder triangleType(String triangleType) { + this.instance.triangleType = triangleType; + return this; + } + + + /** + * returns a built EquilateralTriangle instance. + * + * The builder is not reusable. + */ + public EquilateralTriangle build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static EquilateralTriangle.Builder builder() { + return new EquilateralTriangle.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public EquilateralTriangle.Builder toBuilder() { + return new EquilateralTriangle.Builder() + .shapeType(getShapeType()) + .triangleType(getTriangleType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static EquilateralTriangle.Builder builder() { - return new EquilateralTriangle.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public EquilateralTriangle.Builder toBuilder() { - return new EquilateralTriangle.Builder() - .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 a2f6e6b03d14..f9357269f8b0 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 @@ -105,7 +105,6 @@ public void setSomeMap(Map someMap) { this.someMap = someMap; } - /** * Return true if this fakeBigDecimalMap_200_response object is equal to o. */ @@ -198,62 +197,61 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 60164e97394f..b47e96363dd0 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 @@ -105,7 +105,6 @@ public void setFiles(List files) { this.files = files; } - /** * Return true if this FileSchemaTestClass object is equal to o. */ @@ -199,62 +198,61 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 f82209e0a33d..29a0e6aff4e2 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 @@ -66,7 +66,6 @@ public void setBar(String bar) { this.bar = bar; } - /** * Return true if this Foo object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 b18350f203b9..6894399e7d1f 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 @@ -67,7 +67,6 @@ public void setString(Foo string) { this.string = string; } - /** * Return true if this _foo_get_default_response object is equal to o. */ @@ -149,57 +148,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 7d141ac262e2..1af26a7a9c5c 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 @@ -501,7 +501,6 @@ public void setPatternWithDigitsAndDelimiter(String patternWithDigitsAndDelimite this.patternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter; } - /** * Return true if this format_test object is equal to o. */ @@ -688,132 +687,131 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 43c0f7201834..6282521df14d 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 @@ -166,7 +166,6 @@ public Fruit getNullValue(DeserializationContext ctxt) throws JsonMappingExcepti 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 2a5abe986aa6..92c60c016ed2 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 @@ -166,7 +166,6 @@ public FruitReq getNullValue(DeserializationContext ctxt) throws JsonMappingExce 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 1d731e1c4489..88cddafd3344 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 @@ -126,7 +126,6 @@ public GmFruit getNullValue(DeserializationContext ctxt) throws JsonMappingExcep 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 e8c06182158d..4e20d1206f6b 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 @@ -80,7 +80,6 @@ public void setPetType(String petType) { this.petType = petType; } - /** * Return true if this GrandparentAnimal object is equal to o. */ @@ -170,57 +169,56 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private GrandparentAnimal instance; - - public Builder() { - this(new GrandparentAnimal()); - } - - protected Builder(GrandparentAnimal instance) { - this.instance = instance; - } - - public GrandparentAnimal.Builder petType(String petType) { - this.instance.petType = petType; - return this; - } - - - /** - * returns a built GrandparentAnimal instance. - * - * The builder is not reusable. - */ - public GrandparentAnimal build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private GrandparentAnimal instance; + + public Builder() { + this(new GrandparentAnimal()); + } + + protected Builder(GrandparentAnimal instance) { + this.instance = instance; + } + + public GrandparentAnimal.Builder petType(String petType) { + this.instance.petType = petType; + return this; + } + + + /** + * returns a built GrandparentAnimal instance. + * + * The builder is not reusable. + */ + public GrandparentAnimal build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static GrandparentAnimal.Builder builder() { + return new GrandparentAnimal.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public GrandparentAnimal.Builder toBuilder() { + return new GrandparentAnimal.Builder() + .petType(getPetType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static GrandparentAnimal.Builder builder() { - return new GrandparentAnimal.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public GrandparentAnimal.Builder toBuilder() { - 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 3eae4880f936..2ebd94d84e2d 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 @@ -84,7 +84,6 @@ public String getFoo() { - /** * Return true if this hasOnlyReadOnly object is equal to o. */ @@ -173,62 +172,61 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 b12e65d2cfa6..27f12ef12bb6 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 @@ -64,7 +64,6 @@ public String getNullableMessage() { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } @@ -78,7 +77,6 @@ public void setNullableMessage(String nullableMessage) { this.nullableMessage = JsonNullable.of(nullableMessage); } - /** * Return true if this HealthCheckResult object is equal to o. */ @@ -171,61 +169,60 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 bd53d18f04cc..0cbce265a0da 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 @@ -94,7 +94,6 @@ public void setTriangleType(String triangleType) { this.triangleType = triangleType; } - /** * Return true if this IsoscelesTriangle object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private IsoscelesTriangle instance; - - public Builder() { - this(new IsoscelesTriangle()); - } - - protected Builder(IsoscelesTriangle instance) { - this.instance = instance; - } - - public IsoscelesTriangle.Builder shapeType(String shapeType) { - this.instance.shapeType = shapeType; - return this; - } - public IsoscelesTriangle.Builder triangleType(String triangleType) { - this.instance.triangleType = triangleType; - return this; - } - - - /** - * returns a built IsoscelesTriangle instance. - * - * The builder is not reusable. - */ - public IsoscelesTriangle build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private IsoscelesTriangle instance; + + public Builder() { + this(new IsoscelesTriangle()); + } + + protected Builder(IsoscelesTriangle instance) { + this.instance = instance; + } + + public IsoscelesTriangle.Builder shapeType(String shapeType) { + this.instance.shapeType = shapeType; + return this; + } + public IsoscelesTriangle.Builder triangleType(String triangleType) { + this.instance.triangleType = triangleType; + return this; + } + + + /** + * returns a built IsoscelesTriangle instance. + * + * The builder is not reusable. + */ + public IsoscelesTriangle build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static IsoscelesTriangle.Builder builder() { + return new IsoscelesTriangle.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public IsoscelesTriangle.Builder toBuilder() { + return new IsoscelesTriangle.Builder() + .shapeType(getShapeType()) + .triangleType(getTriangleType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static IsoscelesTriangle.Builder builder() { - return new IsoscelesTriangle.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public IsoscelesTriangle.Builder toBuilder() { - return new IsoscelesTriangle.Builder() - .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 1be81461efab..779c62813d55 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 @@ -195,7 +195,6 @@ public Mammal getNullValue(DeserializationContext ctxt) throws JsonMappingExcept 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 c4a6b2dcb374..40a3e79b356b 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 @@ -79,7 +79,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); @@ -219,7 +218,6 @@ public void setIndirectMap(Map indirectMap) { this.indirectMap = indirectMap; } - /** * Return true if this MapTest object is equal to o. */ @@ -338,72 +336,71 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 b32214369e02..b98e12910196 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 @@ -135,7 +135,6 @@ public void setMap(Map map) { this.map = map; } - /** * Return true if this MixedPropertiesAndAdditionalPropertiesClass object is equal to o. */ @@ -236,67 +235,66 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 f81e40e3d225..ec4f4948b32a 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 @@ -94,7 +94,6 @@ public void setPropertyClass(String propertyClass) { this.propertyClass = propertyClass; } - /** * Return true if this 200_response object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 ba33ea4dc29d..e9daaca505d1 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 @@ -122,7 +122,6 @@ public void setMessage(String message) { this.message = message; } - /** * Return true if this ApiResponse object is equal to o. */ @@ -218,67 +217,66 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 8833e537f4f8..4530f21f3229 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 @@ -66,7 +66,6 @@ public void setSourceURI(String sourceURI) { this.sourceURI = sourceURI; } - /** * Return true if this File object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 7df775bc6228..c77cb8474f8b 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 @@ -66,7 +66,6 @@ public void set123list(String _123list) { this._123list = _123list; } - /** * Return true if this List object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 d1579418bc82..482d13e4f273 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 @@ -66,7 +66,6 @@ public void setReturn(Integer _return) { this._return = _return; } - /** * Return true if this Return object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 e8a59d798600..d10893028539 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 @@ -140,7 +140,6 @@ public Integer get123number() { - /** * Return true if this Name object is equal to o. */ @@ -243,72 +242,71 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 2686955545e1..fff2781016da 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 @@ -119,7 +119,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -151,7 +150,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -183,7 +181,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -215,7 +212,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -247,7 +243,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -279,7 +274,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -323,7 +317,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -367,7 +360,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -443,7 +435,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -487,7 +478,6 @@ public Map getObjectAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -576,7 +566,6 @@ public Object getAdditionalProperty(String key) { } return this.additionalProperties.get(key); } - /** * Return true if this NullableClass object is equal to o. */ @@ -774,152 +763,151 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 15ae58668de8..2191451e4bf9 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 @@ -170,7 +170,6 @@ public NullableShape getNullValue(DeserializationContext ctxt) throws JsonMappin 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 912cd01e5af6..5482016d0845 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 @@ -67,7 +67,6 @@ public void setJustNumber(BigDecimal justNumber) { this.justNumber = justNumber; } - /** * Return true if this NumberOnly object is equal to o. */ @@ -149,57 +148,56 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 e11a05c2a6df..42ef8281fa3f 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 @@ -168,7 +168,6 @@ public void setBars(List bars) { this.bars = bars; } - /** * Return true if this ObjectWithDeprecatedFields object is equal to o. */ @@ -275,72 +274,71 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 a3ded57ab34d..9b97275eb9c0 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 @@ -91,7 +91,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -244,7 +243,6 @@ public void setComplete(Boolean complete) { this.complete = complete; } - /** * Return true if this Order object is equal to o. */ @@ -361,82 +359,81 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 fb6633a51811..79f1a357a94f 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 @@ -123,7 +123,6 @@ public void setMyBoolean(Boolean myBoolean) { this.myBoolean = myBoolean; } - /** * Return true if this OuterComposite object is equal to o. */ @@ -219,67 +218,66 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 b8a9be8900f0..e65e65f089f1 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 @@ -52,7 +52,6 @@ public class ParentPet extends GrandparentAnimal { public ParentPet() { } - @Override public ParentPet petType(String petType) { this.setPetType(petType); @@ -146,60 +145,59 @@ public String toUrlQueryString(String prefix) { } public static class Builder extends GrandparentAnimal.Builder { - - private ParentPet instance; - - public Builder() { - this(new ParentPet()); - } - - protected Builder(ParentPet instance) { - super(instance); - this.instance = instance; - } - - - public ParentPet.Builder petType(String petType) { // inherited: true - super.petType(petType); - return this; - } - - - /** - * returns a built ParentPet instance. - * - * The builder is not reusable. - */ - public ParentPet build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - super.build(); - this.instance = null; + + private ParentPet instance; + + public Builder() { + this(new ParentPet()); + } + + protected Builder(ParentPet instance) { + super(instance); + this.instance = instance; + } + + + public ParentPet.Builder petType(String petType) { // inherited: true + super.petType(petType); + return this; + } + + + /** + * returns a built ParentPet instance. + * + * The builder is not reusable. + */ + public ParentPet 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 + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static ParentPet.Builder builder() { + return new ParentPet.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ParentPet.Builder toBuilder() { + return new ParentPet.Builder() + .petType(getPetType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static ParentPet.Builder builder() { - return new ParentPet.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ParentPet.Builder toBuilder() { - 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 49c7f7622ef5..f3c7ac73d99c 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 @@ -97,7 +97,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -263,7 +262,6 @@ public void setStatus(StatusEnum status) { this.status = status; } - /** * Return true if this Pet object is equal to o. */ @@ -389,82 +387,81 @@ public String toUrlQueryString(String prefix) { } 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(List 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(List 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 8dfa9e998b03..99b89d32c718 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 @@ -168,7 +168,6 @@ public Pig getNullValue(DeserializationContext ctxt) throws JsonMappingException 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 035d1e366454..05e72a31912f 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 @@ -168,7 +168,6 @@ public Quadrilateral getNullValue(DeserializationContext ctxt) throws JsonMappin 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 73bfb0a6a6a2..1202893dfb1d 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 @@ -66,7 +66,6 @@ public void setQuadrilateralType(String quadrilateralType) { this.quadrilateralType = quadrilateralType; } - /** * Return true if this QuadrilateralInterface object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private QuadrilateralInterface instance; - - public Builder() { - this(new QuadrilateralInterface()); - } - - protected Builder(QuadrilateralInterface instance) { - this.instance = instance; - } - - public QuadrilateralInterface.Builder quadrilateralType(String quadrilateralType) { - this.instance.quadrilateralType = quadrilateralType; - return this; - } - - - /** - * returns a built QuadrilateralInterface instance. - * - * The builder is not reusable. - */ - public QuadrilateralInterface build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private QuadrilateralInterface instance; + + public Builder() { + this(new QuadrilateralInterface()); + } + + protected Builder(QuadrilateralInterface instance) { + this.instance = instance; + } + + public QuadrilateralInterface.Builder quadrilateralType(String quadrilateralType) { + this.instance.quadrilateralType = quadrilateralType; + return this; + } + + + /** + * returns a built QuadrilateralInterface instance. + * + * The builder is not reusable. + */ + public QuadrilateralInterface build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static QuadrilateralInterface.Builder builder() { + return new QuadrilateralInterface.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public QuadrilateralInterface.Builder toBuilder() { + return new QuadrilateralInterface.Builder() + .quadrilateralType(getQuadrilateralType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static QuadrilateralInterface.Builder builder() { - return new QuadrilateralInterface.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public QuadrilateralInterface.Builder toBuilder() { - 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 b429178d7a71..b7ac7b81cc92 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 @@ -92,7 +92,6 @@ public void setBaz(String baz) { this.baz = baz; } - /** * Return true if this ReadOnlyFirst object is equal to o. */ @@ -181,62 +180,61 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 ed2355e026ea..d54889b13d49 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 @@ -94,7 +94,6 @@ public void setTriangleType(String triangleType) { this.triangleType = triangleType; } - /** * Return true if this ScaleneTriangle object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private ScaleneTriangle instance; - - public Builder() { - this(new ScaleneTriangle()); - } - - protected Builder(ScaleneTriangle instance) { - this.instance = instance; - } - - public ScaleneTriangle.Builder shapeType(String shapeType) { - this.instance.shapeType = shapeType; - return this; - } - public ScaleneTriangle.Builder triangleType(String triangleType) { - this.instance.triangleType = triangleType; - return this; - } - - - /** - * returns a built ScaleneTriangle instance. - * - * The builder is not reusable. - */ - public ScaleneTriangle build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ScaleneTriangle instance; + + public Builder() { + this(new ScaleneTriangle()); + } + + protected Builder(ScaleneTriangle instance) { + this.instance = instance; + } + + public ScaleneTriangle.Builder shapeType(String shapeType) { + this.instance.shapeType = shapeType; + return this; + } + public ScaleneTriangle.Builder triangleType(String triangleType) { + this.instance.triangleType = triangleType; + return this; + } + + + /** + * returns a built ScaleneTriangle instance. + * + * The builder is not reusable. + */ + public ScaleneTriangle build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static ScaleneTriangle.Builder builder() { + return new ScaleneTriangle.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ScaleneTriangle.Builder toBuilder() { + return new ScaleneTriangle.Builder() + .shapeType(getShapeType()) + .triangleType(getTriangleType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static ScaleneTriangle.Builder builder() { - return new ScaleneTriangle.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ScaleneTriangle.Builder toBuilder() { - return new ScaleneTriangle.Builder() - .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 995c9e49b2ba..a19326abdbec 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 @@ -168,7 +168,6 @@ public Shape getNullValue(DeserializationContext ctxt) throws JsonMappingExcepti 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 5b339886b01f..d759d34c3333 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 @@ -66,7 +66,6 @@ public void setShapeType(String shapeType) { this.shapeType = shapeType; } - /** * Return true if this ShapeInterface object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private ShapeInterface instance; - - public Builder() { - this(new ShapeInterface()); - } - - protected Builder(ShapeInterface instance) { - this.instance = instance; - } - - public ShapeInterface.Builder shapeType(String shapeType) { - this.instance.shapeType = shapeType; - return this; - } - - - /** - * returns a built ShapeInterface instance. - * - * The builder is not reusable. - */ - public ShapeInterface build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private ShapeInterface instance; + + public Builder() { + this(new ShapeInterface()); + } + + protected Builder(ShapeInterface instance) { + this.instance = instance; + } + + public ShapeInterface.Builder shapeType(String shapeType) { + this.instance.shapeType = shapeType; + return this; + } + + + /** + * returns a built ShapeInterface instance. + * + * The builder is not reusable. + */ + public ShapeInterface build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static ShapeInterface.Builder builder() { + return new ShapeInterface.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public ShapeInterface.Builder toBuilder() { + return new ShapeInterface.Builder() + .shapeType(getShapeType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static ShapeInterface.Builder builder() { - return new ShapeInterface.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public ShapeInterface.Builder toBuilder() { - 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 9d442165fde8..45e1073c345c 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 @@ -168,7 +168,6 @@ public ShapeOrNull getNullValue(DeserializationContext ctxt) throws JsonMappingE 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 3b06051c423e..52702c5387ba 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 @@ -94,7 +94,6 @@ public void setQuadrilateralType(String quadrilateralType) { this.quadrilateralType = quadrilateralType; } - /** * Return true if this SimpleQuadrilateral object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private SimpleQuadrilateral instance; - - public Builder() { - this(new SimpleQuadrilateral()); - } - - protected Builder(SimpleQuadrilateral instance) { - this.instance = instance; - } - - public SimpleQuadrilateral.Builder shapeType(String shapeType) { - this.instance.shapeType = shapeType; - return this; - } - public SimpleQuadrilateral.Builder quadrilateralType(String quadrilateralType) { - this.instance.quadrilateralType = quadrilateralType; - return this; - } - - - /** - * returns a built SimpleQuadrilateral instance. - * - * The builder is not reusable. - */ - public SimpleQuadrilateral build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private SimpleQuadrilateral instance; + + public Builder() { + this(new SimpleQuadrilateral()); + } + + protected Builder(SimpleQuadrilateral instance) { + this.instance = instance; + } + + public SimpleQuadrilateral.Builder shapeType(String shapeType) { + this.instance.shapeType = shapeType; + return this; + } + public SimpleQuadrilateral.Builder quadrilateralType(String quadrilateralType) { + this.instance.quadrilateralType = quadrilateralType; + return this; + } + + + /** + * returns a built SimpleQuadrilateral instance. + * + * The builder is not reusable. + */ + public SimpleQuadrilateral build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static SimpleQuadrilateral.Builder builder() { + return new SimpleQuadrilateral.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public SimpleQuadrilateral.Builder toBuilder() { + return new SimpleQuadrilateral.Builder() + .shapeType(getShapeType()) + .quadrilateralType(getQuadrilateralType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static SimpleQuadrilateral.Builder builder() { - return new SimpleQuadrilateral.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public SimpleQuadrilateral.Builder toBuilder() { - return new SimpleQuadrilateral.Builder() - .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 7497770e34e4..ba2d84ab453a 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 @@ -94,7 +94,6 @@ public void setSpecialModelName(String specialModelName) { this.specialModelName = specialModelName; } - /** * Return true if this _special_model.name_ object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } 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; - } - public SpecialModelName.Builder specialModelName(String specialModelName) { - this.instance.specialModelName = specialModelName; - 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; + } + public SpecialModelName.Builder specialModelName(String specialModelName) { + this.instance.specialModelName = specialModelName; + 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 + ")"; + } + } + + /** + * 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()) + .specialModelName(getSpecialModelName()); } - } - - @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()) - .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 48d578c19bc8..137608d88a30 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 @@ -94,7 +94,6 @@ public void setName(String name) { this.name = name; } - /** * Return true if this Tag object is equal to o. */ @@ -183,62 +182,61 @@ public String toUrlQueryString(String prefix) { } 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 + ")"; + } + } + + /** + * 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()); } - } - - @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()); - } - } 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 f718cd6b1771..2abcb6e05985 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 @@ -115,7 +115,6 @@ public Object getAdditionalProperty(String key) { } return this.additionalProperties.get(key); } - /** * Return true if this testInlineFreeformAdditionalProperties_request object is equal to o. */ @@ -201,57 +200,56 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private TestInlineFreeformAdditionalPropertiesRequest instance; - - public Builder() { - this(new TestInlineFreeformAdditionalPropertiesRequest()); - } - - protected Builder(TestInlineFreeformAdditionalPropertiesRequest instance) { - this.instance = instance; - } - - public TestInlineFreeformAdditionalPropertiesRequest.Builder someProperty(String someProperty) { - this.instance.someProperty = someProperty; - return this; - } - - - /** - * returns a built TestInlineFreeformAdditionalPropertiesRequest instance. - * - * The builder is not reusable. - */ - public TestInlineFreeformAdditionalPropertiesRequest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private TestInlineFreeformAdditionalPropertiesRequest instance; + + public Builder() { + this(new TestInlineFreeformAdditionalPropertiesRequest()); + } + + protected Builder(TestInlineFreeformAdditionalPropertiesRequest instance) { + this.instance = instance; + } + + public TestInlineFreeformAdditionalPropertiesRequest.Builder someProperty(String someProperty) { + this.instance.someProperty = someProperty; + return this; + } + + + /** + * returns a built TestInlineFreeformAdditionalPropertiesRequest instance. + * + * The builder is not reusable. + */ + public TestInlineFreeformAdditionalPropertiesRequest build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static TestInlineFreeformAdditionalPropertiesRequest.Builder builder() { + return new TestInlineFreeformAdditionalPropertiesRequest.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public TestInlineFreeformAdditionalPropertiesRequest.Builder toBuilder() { + return new TestInlineFreeformAdditionalPropertiesRequest.Builder() + .someProperty(getSomeProperty()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static TestInlineFreeformAdditionalPropertiesRequest.Builder builder() { - return new TestInlineFreeformAdditionalPropertiesRequest.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public TestInlineFreeformAdditionalPropertiesRequest.Builder toBuilder() { - return new TestInlineFreeformAdditionalPropertiesRequest.Builder() - .someProperty(getSomeProperty()); - } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Triangle.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Triangle.java index 8f03828049cb..97481cba67a5 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Triangle.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Triangle.java @@ -195,7 +195,6 @@ public Triangle getNullValue(DeserializationContext ctxt) throws JsonMappingExce public Triangle() { super("oneOf", Boolean.FALSE); } - public Triangle(EquilateralTriangle o) { super("oneOf", Boolean.FALSE); setActualInstance(o); diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TriangleInterface.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TriangleInterface.java index a8bbcd59d44f..245e81c98505 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TriangleInterface.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TriangleInterface.java @@ -66,7 +66,6 @@ public void setTriangleType(String triangleType) { this.triangleType = triangleType; } - /** * Return true if this TriangleInterface object is equal to o. */ @@ -148,57 +147,56 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private TriangleInterface instance; - - public Builder() { - this(new TriangleInterface()); - } - - protected Builder(TriangleInterface instance) { - this.instance = instance; - } - - public TriangleInterface.Builder triangleType(String triangleType) { - this.instance.triangleType = triangleType; - return this; - } - - - /** - * returns a built TriangleInterface instance. - * - * The builder is not reusable. - */ - public TriangleInterface build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private TriangleInterface instance; + + public Builder() { + this(new TriangleInterface()); + } + + protected Builder(TriangleInterface instance) { + this.instance = instance; + } + + public TriangleInterface.Builder triangleType(String triangleType) { + this.instance.triangleType = triangleType; + return this; + } + + + /** + * returns a built TriangleInterface instance. + * + * The builder is not reusable. + */ + public TriangleInterface build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static TriangleInterface.Builder builder() { + return new TriangleInterface.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public TriangleInterface.Builder toBuilder() { + return new TriangleInterface.Builder() + .triangleType(getTriangleType()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static TriangleInterface.Builder builder() { - return new TriangleInterface.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public TriangleInterface.Builder toBuilder() { - return new TriangleInterface.Builder() - .triangleType(getTriangleType()); - } - } diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/User.java index b57ac08899a4..756cb26660ad 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/User.java @@ -324,7 +324,6 @@ public Object getObjectWithNoDeclaredPropsNullable() { @JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getObjectWithNoDeclaredPropsNullable_JsonNullable() { return objectWithNoDeclaredPropsNullable; } @@ -356,7 +355,6 @@ public Object getAnyTypeProp() { @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypeProp_JsonNullable() { return anyTypeProp; } @@ -388,7 +386,6 @@ public Object getAnyTypePropNullable() { @JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP_NULLABLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getAnyTypePropNullable_JsonNullable() { return anyTypePropNullable; } @@ -402,7 +399,6 @@ public void setAnyTypePropNullable(Object anyTypePropNullable) { this.anyTypePropNullable = JsonNullable.of(anyTypePropNullable); } - /** * Return true if this User object is equal to o. */ @@ -572,124 +568,123 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private User instance; - - public Builder() { - this(new User()); - } - - protected Builder(User instance) { - this.instance = instance; - } - - public User.Builder id(Long id) { - this.instance.id = id; - return this; - } - public User.Builder username(String username) { - this.instance.username = username; - return this; - } - public User.Builder firstName(String firstName) { - this.instance.firstName = firstName; - return this; - } - public User.Builder lastName(String lastName) { - this.instance.lastName = lastName; - return this; - } - public User.Builder email(String email) { - this.instance.email = email; - return this; - } - public User.Builder password(String password) { - this.instance.password = password; - return this; - } - public User.Builder phone(String phone) { - this.instance.phone = phone; - return this; - } - public User.Builder userStatus(Integer userStatus) { - this.instance.userStatus = userStatus; - return this; - } - public User.Builder objectWithNoDeclaredProps(Object objectWithNoDeclaredProps) { - this.instance.objectWithNoDeclaredProps = objectWithNoDeclaredProps; - return this; - } - public User.Builder objectWithNoDeclaredPropsNullable(Object objectWithNoDeclaredPropsNullable) { - this.instance.objectWithNoDeclaredPropsNullable = JsonNullable.of(objectWithNoDeclaredPropsNullable); - return this; - } - public User.Builder objectWithNoDeclaredPropsNullable(JsonNullable objectWithNoDeclaredPropsNullable) { - this.instance.objectWithNoDeclaredPropsNullable = objectWithNoDeclaredPropsNullable; - return this; - } - public User.Builder anyTypeProp(Object anyTypeProp) { - this.instance.anyTypeProp = JsonNullable.of(anyTypeProp); - return this; - } - public User.Builder anyTypeProp(JsonNullable anyTypeProp) { - this.instance.anyTypeProp = anyTypeProp; - return this; - } - public User.Builder anyTypePropNullable(Object anyTypePropNullable) { - this.instance.anyTypePropNullable = JsonNullable.of(anyTypePropNullable); - return this; - } - public User.Builder anyTypePropNullable(JsonNullable anyTypePropNullable) { - this.instance.anyTypePropNullable = anyTypePropNullable; - return this; - } - - - /** - * returns a built User instance. - * - * The builder is not reusable. - */ - public User build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private User instance; + + public Builder() { + this(new User()); + } + + protected Builder(User instance) { + this.instance = instance; + } + + public User.Builder id(Long id) { + this.instance.id = id; + return this; + } + public User.Builder username(String username) { + this.instance.username = username; + return this; + } + public User.Builder firstName(String firstName) { + this.instance.firstName = firstName; + return this; + } + public User.Builder lastName(String lastName) { + this.instance.lastName = lastName; + return this; + } + public User.Builder email(String email) { + this.instance.email = email; + return this; + } + public User.Builder password(String password) { + this.instance.password = password; + return this; + } + public User.Builder phone(String phone) { + this.instance.phone = phone; + return this; + } + public User.Builder userStatus(Integer userStatus) { + this.instance.userStatus = userStatus; + return this; + } + public User.Builder objectWithNoDeclaredProps(Object objectWithNoDeclaredProps) { + this.instance.objectWithNoDeclaredProps = objectWithNoDeclaredProps; + return this; + } + public User.Builder objectWithNoDeclaredPropsNullable(Object objectWithNoDeclaredPropsNullable) { + this.instance.objectWithNoDeclaredPropsNullable = JsonNullable.of(objectWithNoDeclaredPropsNullable); + return this; + } + public User.Builder objectWithNoDeclaredPropsNullable(JsonNullable objectWithNoDeclaredPropsNullable) { + this.instance.objectWithNoDeclaredPropsNullable = objectWithNoDeclaredPropsNullable; + return this; + } + public User.Builder anyTypeProp(Object anyTypeProp) { + this.instance.anyTypeProp = JsonNullable.of(anyTypeProp); + return this; + } + public User.Builder anyTypeProp(JsonNullable anyTypeProp) { + this.instance.anyTypeProp = anyTypeProp; + return this; + } + public User.Builder anyTypePropNullable(Object anyTypePropNullable) { + this.instance.anyTypePropNullable = JsonNullable.of(anyTypePropNullable); + return this; + } + public User.Builder anyTypePropNullable(JsonNullable anyTypePropNullable) { + this.instance.anyTypePropNullable = anyTypePropNullable; + return this; + } + + + /** + * returns a built User instance. + * + * The builder is not reusable. + */ + public User build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static User.Builder builder() { + return new User.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public User.Builder toBuilder() { + return new User.Builder() + .id(getId()) + .username(getUsername()) + .firstName(getFirstName()) + .lastName(getLastName()) + .email(getEmail()) + .password(getPassword()) + .phone(getPhone()) + .userStatus(getUserStatus()) + .objectWithNoDeclaredProps(getObjectWithNoDeclaredProps()) + .objectWithNoDeclaredPropsNullable(getObjectWithNoDeclaredPropsNullable()) + .anyTypeProp(getAnyTypeProp()) + .anyTypePropNullable(getAnyTypePropNullable()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static User.Builder builder() { - return new User.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public User.Builder toBuilder() { - return new User.Builder() - .id(getId()) - .username(getUsername()) - .firstName(getFirstName()) - .lastName(getLastName()) - .email(getEmail()) - .password(getPassword()) - .phone(getPhone()) - .userStatus(getUserStatus()) - .objectWithNoDeclaredProps(getObjectWithNoDeclaredProps()) - .objectWithNoDeclaredPropsNullable(getObjectWithNoDeclaredPropsNullable()) - .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 9bfb79950d50..b32599cc0046 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 @@ -122,7 +122,6 @@ public void setClassName(String className) { this.className = className; } - /** * Return true if this whale object is equal to o. */ @@ -218,67 +217,66 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private Whale instance; - - public Builder() { - this(new Whale()); - } - - protected Builder(Whale instance) { - this.instance = instance; - } - - public Whale.Builder hasBaleen(Boolean hasBaleen) { - this.instance.hasBaleen = hasBaleen; - return this; - } - public Whale.Builder hasTeeth(Boolean hasTeeth) { - this.instance.hasTeeth = hasTeeth; - return this; - } - public Whale.Builder className(String className) { - this.instance.className = className; - return this; - } - - - /** - * returns a built Whale instance. - * - * The builder is not reusable. - */ - public Whale build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Whale instance; + + public Builder() { + this(new Whale()); + } + + protected Builder(Whale instance) { + this.instance = instance; + } + + public Whale.Builder hasBaleen(Boolean hasBaleen) { + this.instance.hasBaleen = hasBaleen; + return this; + } + public Whale.Builder hasTeeth(Boolean hasTeeth) { + this.instance.hasTeeth = hasTeeth; + return this; + } + public Whale.Builder className(String className) { + this.instance.className = className; + return this; + } + + + /** + * returns a built Whale instance. + * + * The builder is not reusable. + */ + public Whale build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static Whale.Builder builder() { + return new Whale.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Whale.Builder toBuilder() { + return new Whale.Builder() + .hasBaleen(getHasBaleen()) + .hasTeeth(getHasTeeth()) + .className(getClassName()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static Whale.Builder builder() { - return new Whale.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Whale.Builder toBuilder() { - return new Whale.Builder() - .hasBaleen(getHasBaleen()) - .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 ce4a58c4682f..b1f281993eb7 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; private TypeEnum type; @@ -180,7 +179,6 @@ public Object getAdditionalProperty(String key) { } return this.additionalProperties.get(key); } - /** * Return true if this zebra object is equal to o. */ @@ -273,62 +271,61 @@ public String toUrlQueryString(String prefix) { } public static class Builder { - - private Zebra instance; - - public Builder() { - this(new Zebra()); - } - - protected Builder(Zebra instance) { - this.instance = instance; - } - - public Zebra.Builder type(TypeEnum type) { - this.instance.type = type; - return this; - } - public Zebra.Builder className(String className) { - this.instance.className = className; - return this; - } - - - /** - * returns a built Zebra instance. - * - * The builder is not reusable. - */ - public Zebra build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; + + private Zebra instance; + + public Builder() { + this(new Zebra()); + } + + protected Builder(Zebra instance) { + this.instance = instance; + } + + public Zebra.Builder type(TypeEnum type) { + this.instance.type = type; + return this; + } + public Zebra.Builder className(String className) { + this.instance.className = className; + return this; + } + + + /** + * returns a built Zebra instance. + * + * The builder is not reusable. + */ + public Zebra build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } + } + + /** + * Create a builder with no initialized field. + */ + public static Zebra.Builder builder() { + return new Zebra.Builder(); + } + + /** + * Create a builder with a shallow copy of this instance. + */ + public Zebra.Builder toBuilder() { + return new Zebra.Builder() + .type(getType()) + .className(getClassName()); } - } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; - } - } - - /** - * Create a builder with no initialized field. - */ - public static Zebra.Builder builder() { - return new Zebra.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public Zebra.Builder toBuilder() { - return new Zebra.Builder() - .type(getType()) - .className(getClassName()); - } - } diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ApiException.java index 9a967056acb8..b3d1242217ff 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/Configuration.java index 8df83f558702..8c98d8a647b7 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/Pair.java index e1361d5819f8..da22eec357ef 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ServerConfiguration.java index 4d2a538a2047..12d7bd4173ec 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ServerVariable.java index 67e115bcfb82..b5ba3149296c 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/StringUtil.java index 369a58d04e1b..edc6bb4caacf 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 757f7fdf8c3a..fefab3466283 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index c4958bd7e3ef..091f48e79455 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/OAuth.java index f247770a0dd7..9f39c370ecc3 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 5d37dbd849b0..f067024fe973 100644 --- a/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 64fa8a0ef971..94a51ad73674 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 9dc4cc49e844..37e6782e32b7 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 @@ -130,7 +130,6 @@ public Object getAdditionalProperty(String key) { 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 301f2ae55818..ee06553010f9 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 @@ -144,7 +144,6 @@ public Object getAdditionalProperty(String key) { 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 5c5bfd2d8003..7b7fd3c23cde 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 @@ -185,7 +185,6 @@ public Object getAdditionalProperty(String key) { 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 3de3c5745021..ed6c2bc71a85 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 @@ -193,7 +193,6 @@ public Object getAdditionalProperty(String key) { 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 04b3bd403235..bb904c98ce4a 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 @@ -122,7 +122,6 @@ public Object getAdditionalProperty(String key) { 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 86a8a954b77d..a0891793ea4a 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 ef93573113a6..337ec6ed1e32 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 c85f14f335aa..7f70599cb182 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 343d9580c1b8..99e299ff86e1 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 3f4d28ed40e8..2cf41bbf87d9 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 @@ -122,7 +122,6 @@ public Object getAdditionalProperty(String key) { 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 11a4141a974e..7eb9f395610a 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 @@ -166,7 +166,6 @@ public Object getAdditionalProperty(String key) { 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/Order.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Order.java index 3fcd7b3d46c2..513157a1448c 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 @@ -120,7 +120,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -290,7 +289,6 @@ public Object getAdditionalProperty(String key) { 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 257977207f2c..5c6be1ccc7f5 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) @@ -314,7 +313,6 @@ public Object getAdditionalProperty(String key) { 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/SimpleModelWithArrayProperty.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/SimpleModelWithArrayProperty.java index ed23e15635a2..6dfefa0c11e6 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 @@ -130,7 +130,6 @@ public Object getAdditionalProperty(String key) { 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/Tag.java b/samples/client/petstore/java/okhttp-gson-3.1/src/main/java/org/openapitools/client/model/Tag.java index c3c7cb4c7f6d..70546f74f12b 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 bf055dc30d78..e6d551713629 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 @@ -281,7 +281,6 @@ public Object getAdditionalProperty(String key) { 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/ApiException.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ApiException.java index 9a967056acb8..b3d1242217ff 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/Configuration.java index 8df83f558702..8c98d8a647b7 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/Pair.java index e1361d5819f8..da22eec357ef 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ServerConfiguration.java index 4d2a538a2047..12d7bd4173ec 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ServerVariable.java index 67e115bcfb82..b5ba3149296c 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/StringUtil.java index 369a58d04e1b..edc6bb4caacf 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/AWS4Auth.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/AWS4Auth.java index 4f51d81b448c..4bd800e5e5fb 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/AWS4Auth.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/AWS4Auth.java @@ -38,8 +38,7 @@ import okio.Buffer; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AWS4Auth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AWS4Auth implements Authentication { private AwsCredentials credentials; private String region; diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 757f7fdf8c3a..fefab3466283 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index c4958bd7e3ef..091f48e79455 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/OAuth.java index f247770a0dd7..9f39c370ecc3 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 5d37dbd849b0..f067024fe973 100644 --- a/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/okhttp-gson-awsv4signature/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 64fa8a0ef971..94a51ad73674 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 86a8a954b77d..a0891793ea4a 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 11a4141a974e..7eb9f395610a 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 @@ -166,7 +166,6 @@ public Object getAdditionalProperty(String key) { 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 3fcd7b3d46c2..513157a1448c 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 @@ -120,7 +120,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -290,7 +289,6 @@ public Object getAdditionalProperty(String key) { 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 257977207f2c..5c6be1ccc7f5 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) @@ -314,7 +313,6 @@ public Object getAdditionalProperty(String key) { 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 c3c7cb4c7f6d..70546f74f12b 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 bf055dc30d78..e6d551713629 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 @@ -281,7 +281,6 @@ public Object getAdditionalProperty(String key) { 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/ApiException.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ApiException.java index da4c320431e2..464f6cdd0a64 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/Configuration.java index dfd2913e6fa8..541843a01580 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 985a406ae4df..9318a6346d08 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index d50021e518f3..626396f5f085 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/OAuth.java index 7c61fb16ddfa..72f838d3d6d7 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 82e8b3055224..2d808e89bec1 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 9ad82e0aff10..392720f79b99 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 bcd2555c8e7d..d4a533caddb0 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 9ee3ad40d789..b78dbdd2d1dd 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 ccb1aebb5903..e50fab835214 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 @@ -374,7 +374,6 @@ public void setAnytype3(Object anytype3) { } - @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 5f5b15863358..5c0f2890129b 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 a628f51b1c14..886353b43a45 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 fd5d58cd7959..86466c91437d 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 e1954e1d18af..e8d161421b7b 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 dbc1a0d4a658..66808e980622 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 @@ -100,7 +100,6 @@ public void setColor(String color) { } - @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 3acaeba7cb57..317c437345af 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 @@ -87,7 +87,6 @@ public void setArrayArrayNumber(List> arrayArrayNumber) { } - @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 dd8b793f2669..d6de62daf081 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 @@ -87,7 +87,6 @@ public void setArrayNumber(List arrayNumber) { } - @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 e1b0e22a140f..1db955ceae8c 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 @@ -149,7 +149,6 @@ public void setArrayArrayOfModel(List> arrayArrayOfModel) { } - @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 0d1cbbc0fa3e..cdec865b2f2b 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 @@ -106,7 +106,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti KindEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) private KindEnum kind; @@ -134,7 +133,6 @@ public void setKind(KindEnum kind) { } - @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 05e669e0ee33..8065077e118a 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 @@ -191,7 +191,6 @@ public void setATTNAME(String ATT_NAME) { } - @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 de9625c004cb..add970e95381 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 @@ -78,7 +78,6 @@ public void setDeclawed(Boolean declawed) { } - @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 c16ac5124f1e..ba7a2d0576cc 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 @@ -99,7 +99,6 @@ public void setName(String name) { } - @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 5d6753894fc1..ed17d46c4c08 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 @@ -76,7 +76,6 @@ public void setPropertyClass(String propertyClass) { } - @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 771ad09d1f0e..7c47c6132fa1 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 @@ -76,7 +76,6 @@ public void setClient(String 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 833fd608e79d..d35ef0d2bfee 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 @@ -78,7 +78,6 @@ public void setBreed(String breed) { } - @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 02ac66a26a5b..0ce7a0d99023 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 @@ -103,7 +103,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JustSymbolEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) private JustSymbolEnum justSymbol; @@ -159,7 +158,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti ArrayEnumEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) private List arrayEnum = new ArrayList<>(); @@ -213,7 +211,6 @@ public void setArrayEnum(List arrayEnum) { } - @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 a5792b1582b0..bf9b14506bf0 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 @@ -104,7 +104,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumStringEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) private EnumStringEnum enumString; @@ -162,7 +161,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumStringRequiredEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) private EnumStringRequiredEnum enumStringRequired; @@ -218,7 +216,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumIntegerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) private EnumIntegerEnum enumInteger; @@ -274,7 +271,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumNumberEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) private EnumNumberEnum enumNumber; @@ -381,7 +377,6 @@ public void setOuterEnum(OuterEnum outerEnum) { } - @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 269c7cea1218..0fff6ae70b8c 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 @@ -110,7 +110,6 @@ public void setFiles(List files) { } - @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 312e2f6d6306..c40fab6a8d7d 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 @@ -390,7 +390,6 @@ public void setBigDecimal(BigDecimal bigDecimal) { } - @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 ab4695400ea3..9c9ec9d07a43 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 @@ -92,7 +92,6 @@ public String getFoo() { - @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 b8d9cdfbe8dd..79f968bd33d9 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 @@ -107,7 +107,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti InnerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) private Map mapOfEnumString = new HashMap<>(); @@ -231,7 +230,6 @@ public void setIndirectMap(Map indirectMap) { } - @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 7337705e1fed..02b4cab88fc3 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 @@ -135,7 +135,6 @@ public void setMap(Map map) { } - @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 0478351f2bfa..5067a2b90c14 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 @@ -99,7 +99,6 @@ public void setPropertyClass(String propertyClass) { } - @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 be1f50aa67c8..15ae23a58df3 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 @@ -122,7 +122,6 @@ public void setMessage(String message) { } - @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 1f6540dc7332..8d34af16197a 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 @@ -76,7 +76,6 @@ public void setSourceURI(String sourceURI) { } - @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 7c5ea7397c26..a53b6fec6ae8 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 @@ -76,7 +76,6 @@ public void set123list(String _123list) { } - @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 4b0815567467..37f1b8df0f4a 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 @@ -76,7 +76,6 @@ public void setReturn(Integer _return) { } - @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 020a164e54b9..b7bb2daf2ea3 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 @@ -138,7 +138,6 @@ public Integer get123number() { - @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 25a54766b724..d0345e9c6aa1 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 @@ -77,7 +77,6 @@ public void setJustNumber(BigDecimal justNumber) { } - @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 d02576c296c5..4215ae0a132f 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 @@ -120,7 +120,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -246,7 +245,6 @@ public void setComplete(Boolean complete) { } - @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 e9a2f4e09c2f..678dd40c2bf2 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 @@ -123,7 +123,6 @@ public void setMyBoolean(Boolean myBoolean) { } - @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 8a1d56dd7ce3..679d71ed503d 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 @@ -129,7 +129,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -267,7 +266,6 @@ public void setStatus(StatusEnum status) { } - @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 15199bdce700..4ea91f8aa155 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 @@ -98,7 +98,6 @@ public void setBaz(String baz) { } - @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 008c028987a0..41637af0d7da 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 @@ -76,7 +76,6 @@ public 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 2d6000db9955..e59f62a38b9d 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 @@ -99,7 +99,6 @@ public void setName(String name) { } - @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 af7e91f1a0f6..8047b093651e 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 @@ -179,7 +179,6 @@ public void setArrayItem(List arrayItem) { } - @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 603715e150a5..aac7e8194e9a 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 @@ -202,7 +202,6 @@ public void setArrayItem(List arrayItem) { } - @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 391643f95f27..4870ab48a8e1 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 @@ -237,7 +237,6 @@ public void setUserStatus(Integer userStatus) { } - @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 89117fe70f99..6a16f914b30e 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 @@ -795,7 +795,6 @@ public void setPrefixNsWrappedArray(List prefixNsWrappedArray) { } - @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/ApiException.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ApiException.java index 9a967056acb8..b3d1242217ff 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/Configuration.java index 8df83f558702..8c98d8a647b7 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/Pair.java index e1361d5819f8..da22eec357ef 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ServerConfiguration.java index 4d2a538a2047..12d7bd4173ec 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ServerVariable.java index 67e115bcfb82..b5ba3149296c 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/StringUtil.java index 369a58d04e1b..edc6bb4caacf 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 757f7fdf8c3a..fefab3466283 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index c4958bd7e3ef..091f48e79455 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/OAuth.java index f247770a0dd7..9f39c370ecc3 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 5d37dbd849b0..f067024fe973 100644 --- a/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/okhttp-gson-group-parameter/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 64fa8a0ef971..94a51ad73674 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 86a8a954b77d..a0891793ea4a 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 11a4141a974e..7eb9f395610a 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 @@ -166,7 +166,6 @@ public Object getAdditionalProperty(String key) { 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 3fcd7b3d46c2..513157a1448c 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 @@ -120,7 +120,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -290,7 +289,6 @@ public Object getAdditionalProperty(String key) { 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 257977207f2c..5c6be1ccc7f5 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) @@ -314,7 +313,6 @@ public Object getAdditionalProperty(String key) { 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 c3c7cb4c7f6d..70546f74f12b 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 bf055dc30d78..e6d551713629 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 @@ -281,7 +281,6 @@ public Object getAdditionalProperty(String key) { 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/ApiException.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ApiException.java index 9a967056acb8..b3d1242217ff 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/Configuration.java index 8df83f558702..8c98d8a647b7 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/Pair.java index e1361d5819f8..da22eec357ef 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ServerConfiguration.java index 4d2a538a2047..12d7bd4173ec 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ServerVariable.java index 67e115bcfb82..b5ba3149296c 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/StringUtil.java index 369a58d04e1b..edc6bb4caacf 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 757f7fdf8c3a..fefab3466283 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index c4958bd7e3ef..091f48e79455 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/OAuth.java index f247770a0dd7..9f39c370ecc3 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 5d37dbd849b0..f067024fe973 100644 --- a/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/okhttp-gson-nullable-required/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 64fa8a0ef971..94a51ad73674 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 86a8a954b77d..a0891793ea4a 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 11a4141a974e..7eb9f395610a 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 @@ -166,7 +166,6 @@ public Object getAdditionalProperty(String key) { 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 3fcd7b3d46c2..513157a1448c 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 @@ -120,7 +120,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -290,7 +289,6 @@ public Object getAdditionalProperty(String key) { 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 257977207f2c..5c6be1ccc7f5 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) @@ -314,7 +313,6 @@ public Object getAdditionalProperty(String key) { 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 bfd4e30850a0..28900ca40a7e 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 @@ -128,7 +128,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) @@ -315,7 +314,6 @@ public Object getAdditionalProperty(String key) { 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 9ab4724a4d0d..8dcd4a29455b 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) @@ -314,7 +313,6 @@ public Object getAdditionalProperty(String key) { 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 c3c7cb4c7f6d..70546f74f12b 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 bf055dc30d78..e6d551713629 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 @@ -281,7 +281,6 @@ public Object getAdditionalProperty(String key) { 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/ApiException.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ApiException.java index da4c320431e2..464f6cdd0a64 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/Configuration.java index dfd2913e6fa8..541843a01580 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 985a406ae4df..9318a6346d08 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index d50021e518f3..626396f5f085 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/OAuth.java index 7c61fb16ddfa..72f838d3d6d7 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 82e8b3055224..2d808e89bec1 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 9830e2085e2f..3151066bcf9b 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 @@ -122,7 +122,6 @@ public Object getAdditionalProperty(String key) { 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 09575f6a6b67..e0e042b9ccf5 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 @@ -123,7 +123,6 @@ public Object getAdditionalProperty(String key) { 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 510b5e01143a..4b2918599ee7 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 @@ -122,7 +122,6 @@ public Object getAdditionalProperty(String key) { 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 ff7bb0b0cb32..152c03a4ab60 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 @@ -376,7 +376,6 @@ public void setAnytype3(Object anytype3) { } - @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 c20a8c98ca46..8a45d2b8e65b 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 @@ -122,7 +122,6 @@ public Object getAdditionalProperty(String key) { 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 0b75117db314..7a1b101b4772 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 @@ -123,7 +123,6 @@ public Object getAdditionalProperty(String key) { 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 e22e1b7581a0..acbf1234ebfc 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 @@ -123,7 +123,6 @@ public Object getAdditionalProperty(String key) { 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 69b0b6bb471f..dbfa4989a3a4 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 @@ -122,7 +122,6 @@ public Object getAdditionalProperty(String key) { 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 4a60749591a0..fcca585732cf 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 @@ -102,7 +102,6 @@ public void setColor(String color) { } - @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 3920ec6c54c2..f565282ca453 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 @@ -89,7 +89,6 @@ public void setArrayArrayNumber(List> arrayArrayNumber) { } - @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 fb8df282e248..f4f1f6947972 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 @@ -89,7 +89,6 @@ public void setArrayNumber(List arrayNumber) { } - @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 07ed56962c2f..e6c467d1eb7b 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 @@ -151,7 +151,6 @@ public void setArrayArrayOfModel(List> arrayArrayOfModel) { } - @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 c50948c3c715..6566a05e1f1c 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 @@ -108,7 +108,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti KindEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) private KindEnum kind; @@ -137,7 +136,6 @@ public void setKind(KindEnum kind) { } - @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 d1cff9f5e0cf..6460709555ac 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 @@ -193,7 +193,6 @@ public void setATTNAME(String ATT_NAME) { } - @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 4c8a66888ad1..239e6bd4de90 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 @@ -81,7 +81,6 @@ public void setDeclawed(Boolean declawed) { } - @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 b327cf7f3f48..e98767a7e46e 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 @@ -101,7 +101,6 @@ public void setName(String name) { } - @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 decdc5d39146..57706503f262 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 @@ -78,7 +78,6 @@ public void setPropertyClass(String propertyClass) { } - @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 d56152496fea..b057fa6cb7b7 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 @@ -78,7 +78,6 @@ public void setClient(String client) { } - @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 4f0504ef7eb7..32da8db22187 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 @@ -81,7 +81,6 @@ public void setBreed(String breed) { } - @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 5ea3c720c449..7ecc39e2b058 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 @@ -105,7 +105,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JustSymbolEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) private JustSymbolEnum justSymbol; @@ -161,7 +160,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti ArrayEnumEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) private List arrayEnum = new ArrayList<>(); @@ -215,7 +213,6 @@ public void setArrayEnum(List arrayEnum) { } - @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 a8c563502d06..5da4f5f283c7 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 @@ -106,7 +106,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumStringEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) private EnumStringEnum enumString; @@ -164,7 +163,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumStringRequiredEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) private EnumStringRequiredEnum enumStringRequired; @@ -220,7 +218,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumIntegerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) private EnumIntegerEnum enumInteger; @@ -276,7 +273,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumNumberEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) private EnumNumberEnum enumNumber; @@ -383,7 +379,6 @@ public void setOuterEnum(OuterEnum outerEnum) { } - @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 16672695f104..6b10ce125ed2 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 @@ -112,7 +112,6 @@ public void setFiles(List files) { } - @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 06228d1447ff..3fcfad2e2a6e 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 @@ -392,7 +392,6 @@ public void setBigDecimal(BigDecimal bigDecimal) { } - @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 e3b968f26270..a0c78d91cf0f 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 @@ -94,7 +94,6 @@ public String getFoo() { - @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 a6e641bccc4b..327cab2f6d24 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 @@ -109,7 +109,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti InnerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) private Map mapOfEnumString = new HashMap<>(); @@ -233,7 +232,6 @@ public void setIndirectMap(Map indirectMap) { } - @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 0a704de1193f..383b42a06032 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 @@ -137,7 +137,6 @@ public void setMap(Map map) { } - @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 7cdebd3a8465..ddc284c2b588 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 @@ -101,7 +101,6 @@ public void setPropertyClass(String propertyClass) { } - @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 7bbbe95748c8..ca6ac528c67e 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 @@ -124,7 +124,6 @@ public void setMessage(String message) { } - @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 961ac5c885bc..19a383aef4e1 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 @@ -78,7 +78,6 @@ public void setSourceURI(String sourceURI) { } - @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 e8894ef58006..0d5426c68748 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 @@ -78,7 +78,6 @@ public void set123list(String _123list) { } - @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 0cb9c3e57f66..dbcf504ffad7 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 @@ -78,7 +78,6 @@ public void setReturn(Integer _return) { } - @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 30925c431ab2..f819e16993f1 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 @@ -140,7 +140,6 @@ public Integer get123number() { - @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 cd3f0afc2e32..3f1f0ebc647e 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 @@ -79,7 +79,6 @@ public void setJustNumber(BigDecimal justNumber) { } - @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 e4e6aa5d2ef1..ea54d01b36bd 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 @@ -122,7 +122,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -248,7 +247,6 @@ public void setComplete(Boolean complete) { } - @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 1516d8a0b567..232418776fed 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 @@ -125,7 +125,6 @@ public void setMyBoolean(Boolean myBoolean) { } - @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 25b6b9e03166..b094d5c9de8c 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 @@ -131,7 +131,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -269,7 +268,6 @@ public void setStatus(StatusEnum status) { } - @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 cb17575b4202..c98f25ebd3dc 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 @@ -100,7 +100,6 @@ public void setBaz(String baz) { } - @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 008548abd8ff..236be768990b 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 @@ -78,7 +78,6 @@ public SpecialModelName() { } - @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 8d0a9e141d5d..16acba04df33 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 @@ -101,7 +101,6 @@ public void setName(String name) { } - @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 f2c25034d695..924cce5d4a69 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 @@ -181,7 +181,6 @@ public void setArrayItem(List arrayItem) { } - @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 8832e02a6905..04b57a079685 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 @@ -204,7 +204,6 @@ public void setArrayItem(List arrayItem) { } - @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 4f4f1f22c5ad..0b26ac1ab494 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 @@ -239,7 +239,6 @@ public void setUserStatus(Integer userStatus) { } - @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 b6223a01b8c0..9b6c2a00957a 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 @@ -797,7 +797,6 @@ public void setPrefixNsWrappedArray(List prefixNsWrappedArray) { } - @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/ApiException.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ApiException.java index 9a967056acb8..b3d1242217ff 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/Configuration.java index 8df83f558702..8c98d8a647b7 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/Pair.java index e1361d5819f8..da22eec357ef 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ServerConfiguration.java index 4d2a538a2047..12d7bd4173ec 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ServerVariable.java index 67e115bcfb82..b5ba3149296c 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/StringUtil.java index 369a58d04e1b..edc6bb4caacf 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 757f7fdf8c3a..fefab3466283 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index c4958bd7e3ef..091f48e79455 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java index f247770a0dd7..9f39c370ecc3 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 5d37dbd849b0..f067024fe973 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/okhttp-gson-swagger1/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 64fa8a0ef971..94a51ad73674 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 b891360de715..203fb2b47820 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 @@ -148,7 +148,6 @@ public Object getAdditionalProperty(String key) { 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 1f6c07ddce51..23317c800cb3 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 @@ -172,7 +172,6 @@ public Object getAdditionalProperty(String key) { 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 6be916e7566d..ae11aa198d2b 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 @@ -123,7 +123,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -299,7 +298,6 @@ public Object getAdditionalProperty(String key) { 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 95b9d32fb7da..acb272e02ee8 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 @@ -130,7 +130,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) @@ -323,7 +322,6 @@ public Object getAdditionalProperty(String key) { 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 0e71cd1302d0..a4c138a22da4 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 @@ -148,7 +148,6 @@ public Object getAdditionalProperty(String key) { 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 6747eaf681a3..e1f77b77fafd 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 @@ -292,7 +292,6 @@ public Object getAdditionalProperty(String key) { 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/ApiException.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ApiException.java index 9a967056acb8..b3d1242217ff 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/Configuration.java index 8df83f558702..8c98d8a647b7 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/Pair.java index e1361d5819f8..da22eec357ef 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java index 4d2a538a2047..12d7bd4173ec 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ServerVariable.java index 67e115bcfb82..b5ba3149296c 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/StringUtil.java index 369a58d04e1b..edc6bb4caacf 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 757f7fdf8c3a..fefab3466283 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index c4958bd7e3ef..091f48e79455 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java index f247770a0dd7..9f39c370ecc3 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 5d37dbd849b0..f067024fe973 100644 --- a/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/okhttp-gson-swagger2/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 64fa8a0ef971..94a51ad73674 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 6af57f9b05ca..d23d8093f746 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 @@ -147,7 +147,6 @@ public Object getAdditionalProperty(String key) { 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 348721c81ee9..1dfa1e863875 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 @@ -171,7 +171,6 @@ public Object getAdditionalProperty(String key) { 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 9b4dd7b7f810..27d9daf4a7e2 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 @@ -122,7 +122,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -298,7 +297,6 @@ public Object getAdditionalProperty(String key) { 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 4f8b20706c0e..a8b4307b2cf0 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 @@ -129,7 +129,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @Deprecated @SerializedName(SERIALIZED_NAME_STATUS) @@ -322,7 +321,6 @@ public Object getAdditionalProperty(String key) { 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 05ffe5fca450..397c13373978 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 @@ -147,7 +147,6 @@ public Object getAdditionalProperty(String key) { 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 a41bd2690aa4..0c57776b6707 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 @@ -291,7 +291,6 @@ public Object getAdditionalProperty(String key) { 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/ApiException.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ApiException.java index da4c320431e2..464f6cdd0a64 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ApiException.java @@ -21,8 +21,7 @@ *

ApiException class.

*/ @SuppressWarnings("serial") -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/Configuration.java index dfd2913e6fa8..541843a01580 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 985a406ae4df..9318a6346d08 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index d50021e518f3..626396f5f085 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -22,8 +22,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/OAuth.java index 7c61fb16ddfa..72f838d3d6d7 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/OAuth.java @@ -20,8 +20,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 82e8b3055224..2d808e89bec1 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 @@ -21,8 +21,7 @@ /** * Abstract class for oneOf,anyOf schemas defined in OpenAPI spec */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class AbstractOpenApiSchema { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class AbstractOpenApiSchema { // store the actual instance of the schema/object private Object instance; @@ -142,5 +141,4 @@ public Boolean isNullable() { } - } 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 e0d6d1138e98..4b45613dd126 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 @@ -316,7 +316,6 @@ public Object getAdditionalProperty(String key) { 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 6f239a565271..0c36d6d4f708 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 @@ -191,7 +191,6 @@ public Object getAdditionalProperty(String key) { 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 4b9c20ad30cd..45e1aeea1d52 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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/AllOfModelArrayAnyOfAllOfLinkListColumn1.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/AllOfModelArrayAnyOfAllOfLinkListColumn1.java index f5470e695db2..5e06c34ec768 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 @@ -131,7 +131,6 @@ public Object getAdditionalProperty(String key) { 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/Animal.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Animal.java index e2c7b18da46f..30849e3ff59a 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 @@ -144,7 +144,6 @@ public Object getAdditionalProperty(String key) { 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 c24de2770410..d94ec0d4862a 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 49d80b343602..dbd372e01021 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 @@ -99,7 +99,6 @@ public void setMealy(Boolean mealy) { } - @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/ArrayDefault.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayDefault.java index e935fbb47f03..c024115fc35a 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 @@ -161,7 +161,6 @@ public Object getAdditionalProperty(String key) { 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 e4f27ee49b0e..7ff952dae49f 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 @@ -131,7 +131,6 @@ public Object getAdditionalProperty(String key) { 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 803833634452..a9a98dc3c413 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 @@ -177,7 +177,6 @@ public Object getAdditionalProperty(String key) { 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 b1f036288edb..809a97bb9c9c 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 72ec29158d71..5d9370777a45 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 @@ -131,7 +131,6 @@ public Object getAdditionalProperty(String key) { 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/ArrayTest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ArrayTest.java index b4fbbc4873a0..30c7cbf99c03 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 @@ -193,7 +193,6 @@ public Object getAdditionalProperty(String key) { 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 d4f67a5a9fa2..a94d3eaa6d71 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 41881a592bab..67919bab4896 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 @@ -100,7 +100,6 @@ public void setSweet(Boolean sweet) { } - @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 13db5fd44afe..c3a993880e24 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 ffff6125d762..90c02af2f356 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 @@ -235,7 +235,6 @@ public Object getAdditionalProperty(String key) { 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 1f61ce5234d3..22293ec1fa0b 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 @@ -123,7 +123,6 @@ public Object getAdditionalProperty(String key) { 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 55e6d862dd5b..b758b321981a 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 3b713e9ce878..0ad4cf9d7bdf 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 d8112fcf75c4..e7737399c213 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 e6970c78a408..7e3e96fb66f8 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 70cfd7b28806..9fe118f08fdd 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 6bace2ee628f..bbbfcd50aac8 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 @@ -122,7 +122,6 @@ public Object getAdditionalProperty(String key) { 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 ab1fd9152a14..aec6771f908f 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 @@ -122,7 +122,6 @@ public Object getAdditionalProperty(String key) { 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 12dcbe8d4b16..bfbde3fc59a0 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 @@ -204,7 +204,6 @@ public Object getAdditionalProperty(String key) { 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 0a7b10ec8107..00b5522c58b2 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 @@ -103,7 +103,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti JustSymbolEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) private JustSymbolEnum justSymbol; @@ -159,7 +158,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti ArrayEnumEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) private List arrayEnum = new ArrayList<>(); @@ -257,7 +255,6 @@ public Object getAdditionalProperty(String key) { 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 c2a94ec0d1de..34a39b3fd0f6 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 @@ -101,7 +101,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumStrTypeEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STR_TYPE = "enum_str_type"; @SerializedName(SERIALIZED_NAME_ENUM_STR_TYPE) protected EnumStrTypeEnum enumStrType; @@ -172,7 +171,6 @@ public Object getAdditionalProperty(String key) { 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 7261135596af..83b47d00aa23 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 @@ -108,7 +108,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumStringEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) private EnumStringEnum enumString; @@ -166,7 +165,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumStringRequiredEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) private EnumStringRequiredEnum enumStringRequired; @@ -222,7 +220,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumIntegerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) private EnumIntegerEnum enumInteger; @@ -278,7 +275,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumIntegerOnlyEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_INTEGER_ONLY = "enum_integer_only"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER_ONLY) private EnumIntegerOnlyEnum enumIntegerOnly; @@ -334,7 +330,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti EnumNumberEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) private EnumNumberEnum enumNumber; @@ -573,7 +568,6 @@ public Object getAdditionalProperty(String key) { 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 2df9e84feab0..235095bfb878 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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/FileSchemaTestClass.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java index d9222da7515f..4633a78f1474 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 @@ -154,7 +154,6 @@ public Object getAdditionalProperty(String key) { 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 a21d9eb842cb..bb36f6982323 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 2bc741f01d35..684d63040866 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 acf94153eb93..6f8247e495e8 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 @@ -503,7 +503,6 @@ public Object getAdditionalProperty(String key) { 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 4ed0fef9aa59..9460b936de71 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 @@ -144,7 +144,6 @@ public Object getAdditionalProperty(String key) { 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/GrandparentAnimal.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/GrandparentAnimal.java index 81df9175a80b..25e55943c44f 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 ea4f3ddfe373..2ae9b57453b3 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 @@ -136,7 +136,6 @@ public Object getAdditionalProperty(String key) { 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 3f3387b4edc1..4f242de6ff40 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 388cdbdb45b0..8ec7ed58db01 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 @@ -99,7 +99,6 @@ public void setTriangleType(String triangleType) { } - @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/MapTest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/MapTest.java index 041c2c9b58f5..c947a840be2e 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 @@ -107,7 +107,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti InnerEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) private Map mapOfEnumString = new HashMap<>(); @@ -275,7 +274,6 @@ public Object getAdditionalProperty(String key) { 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 70d258670e8b..713bcb905546 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 @@ -179,7 +179,6 @@ public Object getAdditionalProperty(String key) { 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 e1689b9b8ba5..4421cfb055d1 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 562a3dd1bb86..eeb50a75aa48 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 @@ -166,7 +166,6 @@ public Object getAdditionalProperty(String key) { 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 ef418a315b22..c4732ce36f86 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 b5f8dca2b34e..6067875cb888 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 0bdb2bfe3de2..98a80db4644b 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 87c9b6059932..2c5b3d32732a 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 @@ -145,7 +145,6 @@ public Object getAdditionalProperty(String key) { 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 42f73644a75f..e9d6a867d1c5 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 @@ -182,7 +182,6 @@ public Object getAdditionalProperty(String key) { 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 e986b4fcc683..6f3d5f1174db 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 @@ -140,7 +140,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -378,7 +377,6 @@ public Object getAdditionalProperty(String key) { 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 ab6406f39864..b231279d724c 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 @@ -167,7 +167,6 @@ public Object getAdditionalProperty(String key) { 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 6c5457a76108..6e4b2c69de29 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 59d6b60dab31..ed252e8b4253 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 @@ -429,7 +429,6 @@ public Object getAdditionalProperty(String key) { 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/NumberOnly.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/NumberOnly.java index 2505ba165b42..cbf121be2c78 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 @@ -121,7 +121,6 @@ public Object getAdditionalProperty(String key) { 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 a9d63131b49d..8ff81671255f 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 @@ -216,7 +216,6 @@ public Object getAdditionalProperty(String key) { 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 85a88cf0898d..520b54689346 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 @@ -120,7 +120,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -290,7 +289,6 @@ public Object getAdditionalProperty(String key) { 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 d0da92d50447..38c07a5a5d42 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 @@ -167,7 +167,6 @@ public Object getAdditionalProperty(String key) { 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 4136c3dd73c1..c2431dd1b5e3 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 @@ -99,7 +99,6 @@ public Object getAdditionalProperty(String key) { 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 1a8c5a688d07..8c1631ce20bb 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -309,7 +308,6 @@ public Object getAdditionalProperty(String key) { 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 e0acfaadb0ca..f454443e3da2 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -309,7 +308,6 @@ public Object getAdditionalProperty(String key) { 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 f359addd7691..498aafc8dbf1 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -309,7 +308,6 @@ public Object getAdditionalProperty(String key) { 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 9c2032e696bd..cbf2d82af7af 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -309,7 +308,6 @@ public Object getAdditionalProperty(String key) { 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 12cb84e2bbc1..8c4150223022 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 @@ -127,7 +127,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti StatusEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -309,7 +308,6 @@ public Object getAdditionalProperty(String key) { 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/PropertyNameCollision.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/PropertyNameCollision.java index 019952e8b4fc..1712d77247bc 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 @@ -166,7 +166,6 @@ public Object getAdditionalProperty(String key) { 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/QuadrilateralInterface.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java index 0f8c73467d9a..df8cf784ef1b 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 957b6f957a69..cd585ec13748 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 @@ -142,7 +142,6 @@ public Object getAdditionalProperty(String key) { 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/ScaleneTriangle.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ScaleneTriangle.java index 7b0d88750834..b05b04cf60ae 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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/ShapeInterface.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/ShapeInterface.java index fa542b645e01..fc7ab6aeeb71 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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/SimpleQuadrilateral.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java index eb4f7b004ead..f4153b8a946a 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 a07a7504efc4..89ad829e8db2 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 e88d6c396ed2..730e3ec748a6 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 @@ -143,7 +143,6 @@ public Object getAdditionalProperty(String key) { 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 6c4c24e3e9e5..504e06f6b4a1 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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/TriangleInterface.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TriangleInterface.java index 749723bb11dd..c008f4c089ab 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 @@ -120,7 +120,6 @@ public Object getAdditionalProperty(String key) { 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 7c1aace4b485..117c53a63c7c 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 @@ -374,7 +374,6 @@ public Object getAdditionalProperty(String key) { 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/Variable.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Variable.java index e19ffa112945..2fc7efd9e112 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 @@ -144,7 +144,6 @@ public Object getAdditionalProperty(String key) { 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 e4bf9655aabb..f4bca19124f3 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 @@ -166,7 +166,6 @@ public Object getAdditionalProperty(String key) { 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 88ef5193c01e..333e15152df7 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 @@ -103,7 +103,6 @@ public static void validateJsonElement(JsonElement jsonElement) throws IOExcepti TypeEnum.fromValue(value); } } - public static final String SERIALIZED_NAME_TYPE = "type"; @SerializedName(SERIALIZED_NAME_TYPE) private TypeEnum type; @@ -197,7 +196,6 @@ public Object getAdditionalProperty(String key) { 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/RFC3339DateFormat.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; 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 91502a36eb2d..33801b052dc4 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 @@ -54,7 +54,6 @@ public AdditionalPropertiesAnyType name(String name) { * @return name */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 6ccf57de3c3e..3474404d9215 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 @@ -55,7 +55,6 @@ public AdditionalPropertiesArray name(String name) { * @return name */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 78b1c5c189cb..3f07081d0aba 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 @@ -54,7 +54,6 @@ public AdditionalPropertiesBoolean name(String name) { * @return name */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 1eb72c246336..f7cb3a3a231e 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 @@ -103,7 +103,6 @@ public AdditionalPropertiesClass putMapStringItem(String key, String mapStringIt * @return mapString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -138,7 +137,6 @@ public AdditionalPropertiesClass putMapNumberItem(String key, BigDecimal mapNumb */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MAP_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -172,7 +170,6 @@ public AdditionalPropertiesClass putMapIntegerItem(String key, Integer mapIntege * @return mapInteger */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -206,7 +203,6 @@ public AdditionalPropertiesClass putMapBooleanItem(String key, Boolean mapBoolea * @return mapBoolean */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -241,7 +237,6 @@ public AdditionalPropertiesClass putMapArrayIntegerItem(String key, List */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -311,7 +305,6 @@ public AdditionalPropertiesClass putMapMapStringItem(String key, Map arrayAr */ @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 5a93c24909aa..4c736fa5bfd6 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 @@ -64,7 +64,6 @@ public ArrayOfNumberOnly addArrayNumberItem(BigDecimal arrayNumberItem) { */ @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 dfae0c843575..410e310828aa 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 @@ -71,7 +71,6 @@ public ArrayTest addArrayOfStringItem(String arrayOfStringItem) { * @return arrayOfString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -106,7 +105,6 @@ public ArrayTest addArrayArrayOfIntegerItem(List arrayArrayOfIntegerItem) */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -141,7 +139,6 @@ public ArrayTest addArrayArrayOfModelItem(List<@Valid ReadOnlyFirst> arrayArrayO */ @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 8d1b6e7f3863..4282e1108242 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 @@ -82,7 +82,6 @@ public static KindEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; private KindEnum kind; @@ -101,7 +100,6 @@ public BigCat kind(KindEnum kind) { * @return kind */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_KIND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 28c847fa9b5f..c6728f618e70 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 @@ -71,7 +71,6 @@ public Capitalization smallCamel(String smallCamel) { * @return smallCamel */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -97,7 +96,6 @@ public Capitalization capitalCamel(String capitalCamel) { * @return capitalCamel */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -123,7 +121,6 @@ public Capitalization smallSnake(String smallSnake) { * @return smallSnake */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -149,7 +146,6 @@ public Capitalization capitalSnake(String capitalSnake) { * @return capitalSnake */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -175,7 +171,6 @@ public Capitalization scAETHFlowPoints(String scAETHFlowPoints) { * @return scAETHFlowPoints */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -201,7 +196,6 @@ public Capitalization ATT_NAME(String ATT_NAME) { * @return ATT_NAME */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 2c923fcd6775..769c01644615 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 @@ -65,7 +65,6 @@ public Cat declawed(Boolean declawed) { * @return declawed */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 9383b3a6b753..7895119605ce 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 @@ -55,7 +55,6 @@ public Category id(Long id) { * @return id */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -82,7 +81,6 @@ public Category name(String name) { */ @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 f4f23a15486d..8037b2c81494 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 @@ -51,7 +51,6 @@ public ClassModel propertyClass(String propertyClass) { * @return propertyClass */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 83fb08d4614e..084ed4414107 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 @@ -51,7 +51,6 @@ public Client client(String client) { * @return client */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 1542b10b3f1d..9bbe0d164a80 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 @@ -62,7 +62,6 @@ public Dog breed(String breed) { * @return breed */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 331482175a29..d1d010458159 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 @@ -72,7 +72,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -110,7 +109,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); @@ -128,7 +126,6 @@ public EnumArrays justSymbol(JustSymbolEnum justSymbol) { * @return justSymbol */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -162,7 +159,6 @@ public EnumArrays addArrayEnumItem(ArrayEnumEnum arrayEnumItem) { * @return arrayEnum */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 8f076161581f..8d790885a22b 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 @@ -76,7 +76,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -116,7 +115,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -154,7 +152,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -192,7 +189,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -213,7 +209,6 @@ public EnumTest enumString(EnumStringEnum enumString) { * @return enumString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -240,7 +235,6 @@ public EnumTest enumStringRequired(EnumStringRequiredEnum enumStringRequired) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -266,7 +260,6 @@ public EnumTest enumInteger(EnumIntegerEnum enumInteger) { * @return enumInteger */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -292,7 +285,6 @@ public EnumTest enumNumber(EnumNumberEnum enumNumber) { * @return enumNumber */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -319,7 +311,6 @@ public EnumTest outerEnum(OuterEnum outerEnum) { */ @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 0b5446ccb7b3..133c33376406 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 @@ -60,7 +60,6 @@ public FileSchemaTestClass _file(ModelFile _file) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -95,7 +94,6 @@ public FileSchemaTestClass addFilesItem(ModelFile filesItem) { */ @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 151abf8cd60f..5a59ac60319d 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 @@ -111,8 +111,7 @@ public FormatTest integer(Integer integer) { * @return integer */ @javax.annotation.Nullable - @Min(10) @Max(100) - @JsonProperty(JSON_PROPERTY_INTEGER) + @Min(10) @Max(100) @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -139,8 +138,7 @@ public FormatTest int32(Integer int32) { * @return int32 */ @javax.annotation.Nullable - @Min(20) @Max(200) - @JsonProperty(JSON_PROPERTY_INT32) + @Min(20) @Max(200) @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -165,7 +163,6 @@ public FormatTest int64(Long int64) { * @return int64 */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -195,8 +192,7 @@ public FormatTest number(BigDecimal number) { @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() { @@ -223,8 +219,7 @@ public FormatTest _float(Float _float) { * @return _float */ @javax.annotation.Nullable - @DecimalMin("54.3") @DecimalMax("987.6") - @JsonProperty(JSON_PROPERTY_FLOAT) + @DecimalMin("54.3") @DecimalMax("987.6") @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -251,8 +246,7 @@ public FormatTest _double(Double _double) { * @return _double */ @javax.annotation.Nullable - @DecimalMin("67.8") @DecimalMax("123.4") - @JsonProperty(JSON_PROPERTY_DOUBLE) + @DecimalMin("67.8") @DecimalMax("123.4") @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -277,8 +271,7 @@ public FormatTest string(String string) { * @return string */ @javax.annotation.Nullable - @Pattern(regexp="/[a-z]/i") - @JsonProperty(JSON_PROPERTY_STRING) + @Pattern(regexp="/[a-z]/i") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -304,7 +297,6 @@ public FormatTest _byte(byte[] _byte) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -331,7 +323,6 @@ public FormatTest binary(File binary) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -359,7 +350,6 @@ public FormatTest date(LocalDate date) { @javax.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -386,7 +376,6 @@ public FormatTest dateTime(OffsetDateTime dateTime) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -413,7 +402,6 @@ public FormatTest uuid(UUID uuid) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -440,8 +428,7 @@ public FormatTest password(String password) { */ @javax.annotation.Nonnull @NotNull - @Size(min=10,max=64) - @JsonProperty(JSON_PROPERTY_PASSWORD) + @Size(min=10,max=64) @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -467,7 +454,6 @@ public FormatTest bigDecimal(BigDecimal bigDecimal) { */ @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 0bfee3a4c290..bcecfd02efca 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 @@ -62,7 +62,6 @@ public HasOnlyReadOnly( * @return bar */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -77,7 +76,6 @@ public String getBar() { * @return foo */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 b66ea41f50f1..66fa98a4d144 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 @@ -76,7 +76,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); @@ -109,7 +108,6 @@ public MapTest putMapMapOfStringItem(String key, Map mapMapOfStr */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -143,7 +141,6 @@ public MapTest putMapOfEnumStringItem(String key, InnerEnum mapOfEnumStringItem) * @return mapOfEnumString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -177,7 +174,6 @@ public MapTest putDirectMapItem(String key, Boolean directMapItem) { * @return directMap */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -211,7 +207,6 @@ public MapTest putIndirectMapItem(String key, Boolean indirectMapItem) { * @return indirectMap */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 ed0dd1d9fc11..74b30ed6f33e 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 @@ -65,7 +65,6 @@ public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -92,7 +91,6 @@ public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateT */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -127,7 +125,6 @@ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal */ @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 b3d27c5b4e7d..6f14328eb8d9 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 @@ -56,7 +56,6 @@ public Model200Response name(Integer name) { * @return name */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -82,7 +81,6 @@ public Model200Response propertyClass(String propertyClass) { * @return propertyClass */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 3002301e8d8a..4deddf3d88eb 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 @@ -60,7 +60,6 @@ public ModelApiResponse code(Integer code) { * @return code */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -86,7 +85,6 @@ public ModelApiResponse type(String type) { * @return type */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -112,7 +110,6 @@ public ModelApiResponse message(String message) { * @return message */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 34648070ca7d..4f3e527cc8eb 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 @@ -52,7 +52,6 @@ public ModelFile sourceURI(String sourceURI) { * @return sourceURI */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 08c566893b3f..23b9a47fd283 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 @@ -52,7 +52,6 @@ public ModelList _123list(String _123list) { * @return _123list */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 515a226c5067..4a42ff630c13 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 @@ -52,7 +52,6 @@ public ModelReturn _return(Integer _return) { * @return _return */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 b03d5b83fbe2..7f823a5e2a9d 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 @@ -76,7 +76,6 @@ public Name name(Integer name) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,7 +95,6 @@ public void setName(Integer name) { * @return snakeCase */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -117,7 +115,6 @@ public Name property(String property) { * @return property */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -137,7 +134,6 @@ public void setProperty(String property) { * @return _123number */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 fcc627ee37ec..f5cf88eda8e5 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 @@ -53,7 +53,6 @@ public NumberOnly justNumber(BigDecimal justNumber) { */ @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 1ddaad6851b5..20388ba72365 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 @@ -88,7 +88,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -109,7 +108,6 @@ public Order id(Long id) { * @return id */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -135,7 +133,6 @@ public Order petId(Long petId) { * @return petId */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -161,7 +158,6 @@ public Order quantity(Integer quantity) { * @return quantity */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -188,7 +184,6 @@ public Order shipDate(OffsetDateTime shipDate) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -214,7 +209,6 @@ public Order status(StatusEnum status) { * @return status */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -240,7 +234,6 @@ public Order complete(Boolean complete) { * @return complete */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 d05359b9a657..7bc5163096d9 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 @@ -61,7 +61,6 @@ public OuterComposite myNumber(BigDecimal myNumber) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -87,7 +86,6 @@ public OuterComposite myString(String myString) { * @return myString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -113,7 +111,6 @@ public OuterComposite myBoolean(Boolean myBoolean) { * @return myBoolean */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 2edc2d4c6eb2..788635c13cc9 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 @@ -98,7 +98,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -116,7 +115,6 @@ public Pet id(Long id) { * @return id */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -143,7 +141,6 @@ public Pet category(Category category) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -170,7 +167,6 @@ public Pet name(String name) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,7 +201,6 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -241,7 +236,6 @@ public Pet addTagsItem(Tag tagsItem) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -267,7 +261,6 @@ public Pet status(StatusEnum status) { * @return status */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 6554a493d1b0..e7b7176b0c84 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 @@ -59,7 +59,6 @@ public ReadOnlyFirst( * @return bar */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -80,7 +79,6 @@ public ReadOnlyFirst baz(String baz) { * @return baz */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 14b51886e0f6..a60736f869cb 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 @@ -52,7 +52,6 @@ public SpecialModelName() { * @return $specialPropertyName */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 6ff5b5bd86bd..c29836af6238 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 @@ -55,7 +55,6 @@ public Tag id(Long id) { * @return id */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -81,7 +80,6 @@ public Tag name(String name) { * @return name */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 ee0aa7ac4fa7..5d411d22d30b 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 @@ -72,7 +72,6 @@ public TypeHolderDefault stringItem(String stringItem) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -100,7 +99,6 @@ public TypeHolderDefault numberItem(BigDecimal numberItem) { @javax.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -127,7 +125,6 @@ public TypeHolderDefault integerItem(Integer integerItem) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -154,7 +151,6 @@ public TypeHolderDefault boolItem(Boolean boolItem) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -189,7 +185,6 @@ public TypeHolderDefault addArrayItemItem(Integer arrayItemItem) { */ @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 5bfef9b224f3..7ae31571bd63 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 @@ -76,7 +76,6 @@ public TypeHolderExample stringItem(String stringItem) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -104,7 +103,6 @@ public TypeHolderExample numberItem(BigDecimal numberItem) { @javax.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -131,7 +129,6 @@ public TypeHolderExample floatItem(Float floatItem) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -158,7 +155,6 @@ public TypeHolderExample integerItem(Integer integerItem) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -185,7 +181,6 @@ public TypeHolderExample boolItem(Boolean boolItem) { */ @javax.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -220,7 +215,6 @@ public TypeHolderExample addArrayItemItem(Integer arrayItemItem) { */ @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 bb3885c008ef..f615f8dcf816 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 @@ -79,7 +79,6 @@ public User id(Long id) { * @return id */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -105,7 +104,6 @@ public User username(String username) { * @return username */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -131,7 +129,6 @@ public User firstName(String firstName) { * @return firstName */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -157,7 +154,6 @@ public User lastName(String lastName) { * @return lastName */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -183,7 +179,6 @@ public User email(String email) { * @return email */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -209,7 +204,6 @@ public User password(String password) { * @return password */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -235,7 +229,6 @@ public User phone(String phone) { * @return phone */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -261,7 +254,6 @@ public User userStatus(Integer userStatus) { * @return userStatus */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 5d1eb9f96273..a97bf934f4d7 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 @@ -167,7 +167,6 @@ public XmlItem attributeString(String attributeString) { * @return attributeString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -194,7 +193,6 @@ public XmlItem attributeNumber(BigDecimal attributeNumber) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -220,7 +218,6 @@ public XmlItem attributeInteger(Integer attributeInteger) { * @return attributeInteger */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -246,7 +243,6 @@ public XmlItem attributeBoolean(Boolean attributeBoolean) { * @return attributeBoolean */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -280,7 +276,6 @@ public XmlItem addWrappedArrayItem(Integer wrappedArrayItem) { * @return wrappedArray */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -306,7 +301,6 @@ public XmlItem nameString(String nameString) { * @return nameString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -333,7 +327,6 @@ public XmlItem nameNumber(BigDecimal nameNumber) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_NAME_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -359,7 +352,6 @@ public XmlItem nameInteger(Integer nameInteger) { * @return nameInteger */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -385,7 +377,6 @@ public XmlItem nameBoolean(Boolean nameBoolean) { * @return nameBoolean */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -419,7 +410,6 @@ public XmlItem addNameArrayItem(Integer nameArrayItem) { * @return nameArray */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -453,7 +443,6 @@ public XmlItem addNameWrappedArrayItem(Integer nameWrappedArrayItem) { * @return nameWrappedArray */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -479,7 +468,6 @@ public XmlItem prefixString(String prefixString) { * @return prefixString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -506,7 +494,6 @@ public XmlItem prefixNumber(BigDecimal prefixNumber) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -532,7 +519,6 @@ public XmlItem prefixInteger(Integer prefixInteger) { * @return prefixInteger */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -558,7 +544,6 @@ public XmlItem prefixBoolean(Boolean prefixBoolean) { * @return prefixBoolean */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -592,7 +577,6 @@ public XmlItem addPrefixArrayItem(Integer prefixArrayItem) { * @return prefixArray */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -626,7 +610,6 @@ public XmlItem addPrefixWrappedArrayItem(Integer prefixWrappedArrayItem) { * @return prefixWrappedArray */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -652,7 +635,6 @@ public XmlItem namespaceString(String namespaceString) { * @return namespaceString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -679,7 +661,6 @@ public XmlItem namespaceNumber(BigDecimal namespaceNumber) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -705,7 +686,6 @@ public XmlItem namespaceInteger(Integer namespaceInteger) { * @return namespaceInteger */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -731,7 +711,6 @@ public XmlItem namespaceBoolean(Boolean namespaceBoolean) { * @return namespaceBoolean */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -765,7 +744,6 @@ public XmlItem addNamespaceArrayItem(Integer namespaceArrayItem) { * @return namespaceArray */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -799,7 +777,6 @@ public XmlItem addNamespaceWrappedArrayItem(Integer namespaceWrappedArrayItem) { * @return namespaceWrappedArray */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -825,7 +802,6 @@ public XmlItem prefixNsString(String prefixNsString) { * @return prefixNsString */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -852,7 +828,6 @@ public XmlItem prefixNsNumber(BigDecimal prefixNsNumber) { */ @javax.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -878,7 +853,6 @@ public XmlItem prefixNsInteger(Integer prefixNsInteger) { * @return prefixNsInteger */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -904,7 +878,6 @@ public XmlItem prefixNsBoolean(Boolean prefixNsBoolean) { * @return prefixNsBoolean */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -938,7 +911,6 @@ public XmlItem addPrefixNsArrayItem(Integer prefixNsArrayItem) { * @return prefixNsArray */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -972,7 +944,6 @@ public XmlItem addPrefixNsWrappedArrayItem(Integer prefixNsWrappedArrayItem) { * @return prefixNsWrappedArray */ @javax.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; 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 f5519ee23fae..11e761fab5d6 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 @@ -52,7 +52,6 @@ public AdditionalPropertiesAnyType name(String 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 9e1e38c9b524..5fe558703c5e 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 @@ -53,7 +53,6 @@ public AdditionalPropertiesArray name(String 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 2b12eed789a7..07e9128e12c6 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 @@ -52,7 +52,6 @@ public AdditionalPropertiesBoolean name(String 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 a5310b04d779..56080c072594 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 @@ -101,7 +101,6 @@ public AdditionalPropertiesClass putMapStringItem(String key, String mapStringIt */ @javax.annotation.Nullable - public Map getMapString() { return mapString; } @@ -132,7 +131,6 @@ public AdditionalPropertiesClass putMapNumberItem(String key, BigDecimal mapNumb @javax.annotation.Nullable @Valid - public Map getMapNumber() { return mapNumber; } @@ -162,7 +160,6 @@ public AdditionalPropertiesClass putMapIntegerItem(String key, Integer mapIntege */ @javax.annotation.Nullable - public Map getMapInteger() { return mapInteger; } @@ -192,7 +189,6 @@ public AdditionalPropertiesClass putMapBooleanItem(String key, Boolean mapBoolea */ @javax.annotation.Nullable - public Map getMapBoolean() { return mapBoolean; } @@ -223,7 +219,6 @@ public AdditionalPropertiesClass putMapArrayIntegerItem(String key, List> getMapArrayInteger() { return mapArrayInteger; } @@ -254,7 +249,6 @@ public AdditionalPropertiesClass putMapArrayAnytypeItem(String key, List @javax.annotation.Nullable @Valid - public Map> getMapArrayAnytype() { return mapArrayAnytype; } @@ -285,7 +279,6 @@ public AdditionalPropertiesClass putMapMapStringItem(String key, Map> getMapMapString() { return mapMapString; } @@ -316,7 +309,6 @@ public AdditionalPropertiesClass putMapMapAnytypeItem(String key, Map> getMapMapAnytype() { return mapMapAnytype; } @@ -338,7 +330,6 @@ public AdditionalPropertiesClass anytype1(Object anytype1) { */ @javax.annotation.Nullable - public Object getAnytype1() { return anytype1; } @@ -360,7 +351,6 @@ public AdditionalPropertiesClass anytype2(Object anytype2) { */ @javax.annotation.Nullable - public Object getAnytype2() { return anytype2; } @@ -382,7 +372,6 @@ public AdditionalPropertiesClass anytype3(Object 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 40083bcc14d0..e98ae31b50f7 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 @@ -52,7 +52,6 @@ public AdditionalPropertiesInteger name(String 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 b92cacf58801..83a0b4f964e4 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 @@ -53,7 +53,6 @@ public AdditionalPropertiesNumber name(String 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 b78b0149aa50..d9b67a3e11f8 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 @@ -52,7 +52,6 @@ public AdditionalPropertiesObject name(String 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 b16998299c04..9f7a5f38cf24 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 @@ -52,7 +52,6 @@ public AdditionalPropertiesString name(String 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 4d7e6a664fcf..ccd60dd118c9 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 @@ -54,7 +54,6 @@ public Animal className(String className) { @javax.annotation.Nonnull @NotNull - public String getClassName() { return className; } @@ -76,7 +75,6 @@ public Animal color(String 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 7610d5c233fb..97937f19988c 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 @@ -62,7 +62,6 @@ public ArrayOfArrayOfNumberOnly addArrayArrayNumberItem(List arrayAr @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 35824ae4e093..893a40dec790 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 @@ -62,7 +62,6 @@ public ArrayOfNumberOnly addArrayNumberItem(BigDecimal arrayNumberItem) { @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 7cd43d63a1ed..278545b8fb93 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 @@ -69,7 +69,6 @@ public ArrayTest addArrayOfStringItem(String arrayOfStringItem) { */ @javax.annotation.Nullable - public List getArrayOfString() { return arrayOfString; } @@ -100,7 +99,6 @@ public ArrayTest addArrayArrayOfIntegerItem(List arrayArrayOfIntegerItem) @javax.annotation.Nullable @Valid - public List> getArrayArrayOfInteger() { return arrayArrayOfInteger; } @@ -131,7 +129,6 @@ public ArrayTest addArrayArrayOfModelItem(List<@Valid ReadOnlyFirst> arrayArrayO @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 219ff4705ce4..764f947c054c 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 @@ -81,7 +81,6 @@ public KindEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) private KindEnum kind; @@ -102,7 +101,6 @@ public BigCat kind(KindEnum 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 9159e304d639..0a9112267f3b 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 @@ -69,7 +69,6 @@ public Capitalization smallCamel(String smallCamel) { */ @javax.annotation.Nullable - public String getSmallCamel() { return smallCamel; } @@ -91,7 +90,6 @@ public Capitalization capitalCamel(String capitalCamel) { */ @javax.annotation.Nullable - public String getCapitalCamel() { return capitalCamel; } @@ -113,7 +111,6 @@ public Capitalization smallSnake(String smallSnake) { */ @javax.annotation.Nullable - public String getSmallSnake() { return smallSnake; } @@ -135,7 +132,6 @@ public Capitalization capitalSnake(String capitalSnake) { */ @javax.annotation.Nullable - public String getCapitalSnake() { return capitalSnake; } @@ -157,7 +153,6 @@ public Capitalization scAETHFlowPoints(String scAETHFlowPoints) { */ @javax.annotation.Nullable - public String getScAETHFlowPoints() { return scAETHFlowPoints; } @@ -179,7 +174,6 @@ public Capitalization ATT_NAME(String 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 2d440337f35b..e92d74afb47d 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 @@ -51,7 +51,6 @@ public Cat declawed(Boolean 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 ea601155325d..e7230956f565 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 @@ -53,7 +53,6 @@ public Category id(Long id) { */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -76,7 +75,6 @@ public Category name(String name) { @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 7d27c2430ccd..d5d738d0f9a1 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 @@ -49,7 +49,6 @@ public ClassModel propertyClass(String 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 2545b8030492..cb58b5aa76ae 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 @@ -49,7 +49,6 @@ public Client client(String 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 b9e493f25866..7f81db15da64 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 @@ -51,7 +51,6 @@ public Dog breed(String 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 c914ff478c0b..d25276c18f62 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 @@ -79,7 +79,6 @@ public JustSymbolEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) private JustSymbolEnum justSymbol; @@ -130,7 +129,6 @@ public ArrayEnumEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) private List arrayEnum = new ArrayList<>(); @@ -150,7 +148,6 @@ public EnumArrays justSymbol(JustSymbolEnum justSymbol) { */ @javax.annotation.Nullable - public JustSymbolEnum getJustSymbol() { return justSymbol; } @@ -180,7 +177,6 @@ public EnumArrays addArrayEnumItem(ArrayEnumEnum arrayEnumItem) { */ @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 1a526187b592..ce116b385441 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 @@ -79,7 +79,6 @@ public EnumStringEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) private EnumStringEnum enumString; @@ -132,7 +131,6 @@ public EnumStringRequiredEnum read(final JsonReader jsonReader) throws IOExcepti } } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) private EnumStringRequiredEnum enumStringRequired; @@ -183,7 +181,6 @@ public EnumIntegerEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) private EnumIntegerEnum enumInteger; @@ -234,7 +231,6 @@ public EnumNumberEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) private EnumNumberEnum enumNumber; @@ -258,7 +254,6 @@ public EnumTest enumString(EnumStringEnum enumString) { */ @javax.annotation.Nullable - public EnumStringEnum getEnumString() { return enumString; } @@ -281,7 +276,6 @@ public EnumTest enumStringRequired(EnumStringRequiredEnum enumStringRequired) { @javax.annotation.Nonnull @NotNull - public EnumStringRequiredEnum getEnumStringRequired() { return enumStringRequired; } @@ -303,7 +297,6 @@ public EnumTest enumInteger(EnumIntegerEnum enumInteger) { */ @javax.annotation.Nullable - public EnumIntegerEnum getEnumInteger() { return enumInteger; } @@ -325,7 +318,6 @@ public EnumTest enumNumber(EnumNumberEnum enumNumber) { */ @javax.annotation.Nullable - public EnumNumberEnum getEnumNumber() { return enumNumber; } @@ -348,7 +340,6 @@ public EnumTest outerEnum(OuterEnum outerEnum) { @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 f6cb58f4f350..ddd4ec18c141 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 @@ -58,7 +58,6 @@ public FileSchemaTestClass _file(ModelFile _file) { @javax.annotation.Nullable @Valid - public ModelFile getFile() { return _file; } @@ -89,7 +88,6 @@ public FileSchemaTestClass addFilesItem(ModelFile filesItem) { @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 092e792b59b5..5816dd08f763 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 @@ -108,7 +108,6 @@ public FormatTest integer(Integer integer) { */ @javax.annotation.Nullable @Min(10) @Max(100) - public Integer getInteger() { return integer; } @@ -132,7 +131,6 @@ public FormatTest int32(Integer int32) { */ @javax.annotation.Nullable @Min(20) @Max(200) - public Integer getInt32() { return int32; } @@ -154,7 +152,6 @@ public FormatTest int64(Long int64) { */ @javax.annotation.Nullable - public Long getInt64() { return int64; } @@ -180,7 +177,6 @@ public FormatTest number(BigDecimal number) { @NotNull @Valid @DecimalMin("32.1") @DecimalMax("543.2") - public BigDecimal getNumber() { return number; } @@ -204,7 +200,6 @@ public FormatTest _float(Float _float) { */ @javax.annotation.Nullable @DecimalMin("54.3") @DecimalMax("987.6") - public Float getFloat() { return _float; } @@ -228,7 +223,6 @@ public FormatTest _double(Double _double) { */ @javax.annotation.Nullable @DecimalMin("67.8") @DecimalMax("123.4") - public Double getDouble() { return _double; } @@ -250,7 +244,6 @@ public FormatTest string(String string) { */ @javax.annotation.Nullable @Pattern(regexp="/[a-z]/i") - public String getString() { return string; } @@ -273,7 +266,6 @@ public FormatTest _byte(byte[] _byte) { @javax.annotation.Nonnull @NotNull - public byte[] getByte() { return _byte; } @@ -296,7 +288,6 @@ public FormatTest binary(File binary) { @javax.annotation.Nullable @Valid - public File getBinary() { return binary; } @@ -320,7 +311,6 @@ public FormatTest date(LocalDate date) { @NotNull @Valid - public LocalDate getDate() { return date; } @@ -343,7 +333,6 @@ public FormatTest dateTime(OffsetDateTime dateTime) { @javax.annotation.Nullable @Valid - public OffsetDateTime getDateTime() { return dateTime; } @@ -366,7 +355,6 @@ public FormatTest uuid(UUID uuid) { @javax.annotation.Nullable @Valid - public UUID getUuid() { return uuid; } @@ -389,7 +377,6 @@ public FormatTest password(String password) { @javax.annotation.Nonnull @NotNull @Size(min=10,max=64) - public String getPassword() { return password; } @@ -412,7 +399,6 @@ public FormatTest bigDecimal(BigDecimal bigDecimal) { @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 9359b3d6b3a1..9c813053b299 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 @@ -59,7 +59,6 @@ public HasOnlyReadOnly( */ @javax.annotation.Nullable - public String getBar() { return bar; } @@ -72,7 +71,6 @@ public String getBar() { */ @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 07e23a4fadbd..e70ec9bb1ec0 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 @@ -82,7 +82,6 @@ public InnerEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) private Map mapOfEnumString = new HashMap<>(); @@ -119,7 +118,6 @@ public MapTest putMapMapOfStringItem(String key, Map mapMapOfStr @javax.annotation.Nullable @Valid - public Map> getMapMapOfString() { return mapMapOfString; } @@ -149,7 +147,6 @@ public MapTest putMapOfEnumStringItem(String key, InnerEnum mapOfEnumStringItem) */ @javax.annotation.Nullable - public Map getMapOfEnumString() { return mapOfEnumString; } @@ -179,7 +176,6 @@ public MapTest putDirectMapItem(String key, Boolean directMapItem) { */ @javax.annotation.Nullable - public Map getDirectMap() { return directMap; } @@ -209,7 +205,6 @@ public MapTest putIndirectMapItem(String key, Boolean indirectMapItem) { */ @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 6aa85b73aa44..0504d42098a2 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 @@ -63,7 +63,6 @@ public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { @javax.annotation.Nullable @Valid - public UUID getUuid() { return uuid; } @@ -86,7 +85,6 @@ public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateT @javax.annotation.Nullable @Valid - public OffsetDateTime getDateTime() { return dateTime; } @@ -117,7 +115,6 @@ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal @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 4305b022b01d..f209d371bf7d 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 @@ -53,7 +53,6 @@ public Model200Response name(Integer name) { */ @javax.annotation.Nullable - public Integer getName() { return name; } @@ -75,7 +74,6 @@ public Model200Response propertyClass(String 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 fe4642cb8bd4..4e9769718434 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 @@ -57,7 +57,6 @@ public ModelApiResponse code(Integer code) { */ @javax.annotation.Nullable - public Integer getCode() { return code; } @@ -79,7 +78,6 @@ public ModelApiResponse type(String type) { */ @javax.annotation.Nullable - public String getType() { return type; } @@ -101,7 +99,6 @@ public ModelApiResponse message(String 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 8960387f3a24..16ac578c9d5b 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 @@ -49,7 +49,6 @@ public ModelFile sourceURI(String 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 fe3429c6b766..61b21f47be5c 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 @@ -49,7 +49,6 @@ public ModelList _123list(String _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 692bcc734ef5..c31ed5fe7183 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 @@ -49,7 +49,6 @@ public ModelReturn _return(Integer _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 be4b4e2fa0fa..0366b89113a2 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 @@ -74,7 +74,6 @@ public Name name(Integer name) { @javax.annotation.Nonnull @NotNull - public Integer getName() { return name; } @@ -90,7 +89,6 @@ public void setName(Integer name) { */ @javax.annotation.Nullable - public Integer getSnakeCase() { return snakeCase; } @@ -109,7 +107,6 @@ public Name property(String property) { */ @javax.annotation.Nullable - public String getProperty() { return property; } @@ -125,7 +122,6 @@ public void setProperty(String property) { */ @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 6f51fd10ff03..574eb0fb9ddc 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 @@ -51,7 +51,6 @@ public NumberOnly justNumber(BigDecimal justNumber) { @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 9ab705ddab24..d51ab61c4b6b 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 @@ -95,7 +95,6 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -119,7 +118,6 @@ public Order id(Long id) { */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -141,7 +139,6 @@ public Order petId(Long petId) { */ @javax.annotation.Nullable - public Long getPetId() { return petId; } @@ -163,7 +160,6 @@ public Order quantity(Integer quantity) { */ @javax.annotation.Nullable - public Integer getQuantity() { return quantity; } @@ -186,7 +182,6 @@ public Order shipDate(OffsetDateTime shipDate) { @javax.annotation.Nullable @Valid - public OffsetDateTime getShipDate() { return shipDate; } @@ -208,7 +203,6 @@ public Order status(StatusEnum status) { */ @javax.annotation.Nullable - public StatusEnum getStatus() { return status; } @@ -230,7 +224,6 @@ public Order complete(Boolean 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 3373fa0fe86b..12af52da5a45 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 @@ -59,7 +59,6 @@ public OuterComposite myNumber(BigDecimal myNumber) { @javax.annotation.Nullable @Valid - public BigDecimal getMyNumber() { return myNumber; } @@ -81,7 +80,6 @@ public OuterComposite myString(String myString) { */ @javax.annotation.Nullable - public String getMyString() { return myString; } @@ -103,7 +101,6 @@ public OuterComposite myBoolean(Boolean 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 8943a77dfa8f..cbdf10404c69 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 @@ -105,7 +105,6 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; @@ -125,7 +124,6 @@ public Pet id(Long id) { */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -148,7 +146,6 @@ public Pet category(Category category) { @javax.annotation.Nullable @Valid - public Category getCategory() { return category; } @@ -171,7 +168,6 @@ public Pet name(String name) { @javax.annotation.Nonnull @NotNull - public String getName() { return name; } @@ -202,7 +198,6 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) { @javax.annotation.Nonnull @NotNull - public Set getPhotoUrls() { return photoUrls; } @@ -233,7 +228,6 @@ public Pet addTagsItem(Tag tagsItem) { @javax.annotation.Nullable @Valid - public List<@Valid Tag> getTags() { return tags; } @@ -255,7 +249,6 @@ public Pet status(StatusEnum 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 70bbf4e74c23..699c9b4ceff6 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 @@ -57,7 +57,6 @@ public ReadOnlyFirst( */ @javax.annotation.Nullable - public String getBar() { return bar; } @@ -76,7 +75,6 @@ public ReadOnlyFirst baz(String 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 dfcd575eda28..bb7c2357c185 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 @@ -49,7 +49,6 @@ public SpecialModelName() { */ @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 8d9d5cc3e3ba..6f3251f33fa3 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 @@ -53,7 +53,6 @@ public Tag id(Long id) { */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -75,7 +74,6 @@ public Tag name(String 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 c9fba576feac..38dee1e4b01c 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 @@ -70,7 +70,6 @@ public TypeHolderDefault stringItem(String stringItem) { @javax.annotation.Nonnull @NotNull - public String getStringItem() { return stringItem; } @@ -94,7 +93,6 @@ public TypeHolderDefault numberItem(BigDecimal numberItem) { @NotNull @Valid - public BigDecimal getNumberItem() { return numberItem; } @@ -117,7 +115,6 @@ public TypeHolderDefault integerItem(Integer integerItem) { @javax.annotation.Nonnull @NotNull - public Integer getIntegerItem() { return integerItem; } @@ -140,7 +137,6 @@ public TypeHolderDefault boolItem(Boolean boolItem) { @javax.annotation.Nonnull @NotNull - public Boolean isBoolItem() { return boolItem; } @@ -171,7 +167,6 @@ public TypeHolderDefault addArrayItemItem(Integer arrayItemItem) { @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 19d48c9a5afe..6e3a054717d0 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 @@ -74,7 +74,6 @@ public TypeHolderExample stringItem(String stringItem) { @javax.annotation.Nonnull @NotNull - public String getStringItem() { return stringItem; } @@ -98,7 +97,6 @@ public TypeHolderExample numberItem(BigDecimal numberItem) { @NotNull @Valid - public BigDecimal getNumberItem() { return numberItem; } @@ -121,7 +119,6 @@ public TypeHolderExample floatItem(Float floatItem) { @javax.annotation.Nonnull @NotNull - public Float getFloatItem() { return floatItem; } @@ -144,7 +141,6 @@ public TypeHolderExample integerItem(Integer integerItem) { @javax.annotation.Nonnull @NotNull - public Integer getIntegerItem() { return integerItem; } @@ -167,7 +163,6 @@ public TypeHolderExample boolItem(Boolean boolItem) { @javax.annotation.Nonnull @NotNull - public Boolean isBoolItem() { return boolItem; } @@ -198,7 +193,6 @@ public TypeHolderExample addArrayItemItem(Integer arrayItemItem) { @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 5d454455a0fc..7ca5cdb5d3d5 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 @@ -77,7 +77,6 @@ public User id(Long id) { */ @javax.annotation.Nullable - public Long getId() { return id; } @@ -99,7 +98,6 @@ public User username(String username) { */ @javax.annotation.Nullable - public String getUsername() { return username; } @@ -121,7 +119,6 @@ public User firstName(String firstName) { */ @javax.annotation.Nullable - public String getFirstName() { return firstName; } @@ -143,7 +140,6 @@ public User lastName(String lastName) { */ @javax.annotation.Nullable - public String getLastName() { return lastName; } @@ -165,7 +161,6 @@ public User email(String email) { */ @javax.annotation.Nullable - public String getEmail() { return email; } @@ -187,7 +182,6 @@ public User password(String password) { */ @javax.annotation.Nullable - public String getPassword() { return password; } @@ -209,7 +203,6 @@ public User phone(String phone) { */ @javax.annotation.Nullable - public String getPhone() { return phone; } @@ -231,7 +224,6 @@ public User userStatus(Integer 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 40d0e558dac2..7b5383a9935b 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 @@ -165,7 +165,6 @@ public XmlItem attributeString(String attributeString) { */ @javax.annotation.Nullable - public String getAttributeString() { return attributeString; } @@ -188,7 +187,6 @@ public XmlItem attributeNumber(BigDecimal attributeNumber) { @javax.annotation.Nullable @Valid - public BigDecimal getAttributeNumber() { return attributeNumber; } @@ -210,7 +208,6 @@ public XmlItem attributeInteger(Integer attributeInteger) { */ @javax.annotation.Nullable - public Integer getAttributeInteger() { return attributeInteger; } @@ -232,7 +229,6 @@ public XmlItem attributeBoolean(Boolean attributeBoolean) { */ @javax.annotation.Nullable - public Boolean isAttributeBoolean() { return attributeBoolean; } @@ -262,7 +258,6 @@ public XmlItem addWrappedArrayItem(Integer wrappedArrayItem) { */ @javax.annotation.Nullable - public List getWrappedArray() { return wrappedArray; } @@ -284,7 +279,6 @@ public XmlItem nameString(String nameString) { */ @javax.annotation.Nullable - public String getNameString() { return nameString; } @@ -307,7 +301,6 @@ public XmlItem nameNumber(BigDecimal nameNumber) { @javax.annotation.Nullable @Valid - public BigDecimal getNameNumber() { return nameNumber; } @@ -329,7 +322,6 @@ public XmlItem nameInteger(Integer nameInteger) { */ @javax.annotation.Nullable - public Integer getNameInteger() { return nameInteger; } @@ -351,7 +343,6 @@ public XmlItem nameBoolean(Boolean nameBoolean) { */ @javax.annotation.Nullable - public Boolean isNameBoolean() { return nameBoolean; } @@ -381,7 +372,6 @@ public XmlItem addNameArrayItem(Integer nameArrayItem) { */ @javax.annotation.Nullable - public List getNameArray() { return nameArray; } @@ -411,7 +401,6 @@ public XmlItem addNameWrappedArrayItem(Integer nameWrappedArrayItem) { */ @javax.annotation.Nullable - public List getNameWrappedArray() { return nameWrappedArray; } @@ -433,7 +422,6 @@ public XmlItem prefixString(String prefixString) { */ @javax.annotation.Nullable - public String getPrefixString() { return prefixString; } @@ -456,7 +444,6 @@ public XmlItem prefixNumber(BigDecimal prefixNumber) { @javax.annotation.Nullable @Valid - public BigDecimal getPrefixNumber() { return prefixNumber; } @@ -478,7 +465,6 @@ public XmlItem prefixInteger(Integer prefixInteger) { */ @javax.annotation.Nullable - public Integer getPrefixInteger() { return prefixInteger; } @@ -500,7 +486,6 @@ public XmlItem prefixBoolean(Boolean prefixBoolean) { */ @javax.annotation.Nullable - public Boolean isPrefixBoolean() { return prefixBoolean; } @@ -530,7 +515,6 @@ public XmlItem addPrefixArrayItem(Integer prefixArrayItem) { */ @javax.annotation.Nullable - public List getPrefixArray() { return prefixArray; } @@ -560,7 +544,6 @@ public XmlItem addPrefixWrappedArrayItem(Integer prefixWrappedArrayItem) { */ @javax.annotation.Nullable - public List getPrefixWrappedArray() { return prefixWrappedArray; } @@ -582,7 +565,6 @@ public XmlItem namespaceString(String namespaceString) { */ @javax.annotation.Nullable - public String getNamespaceString() { return namespaceString; } @@ -605,7 +587,6 @@ public XmlItem namespaceNumber(BigDecimal namespaceNumber) { @javax.annotation.Nullable @Valid - public BigDecimal getNamespaceNumber() { return namespaceNumber; } @@ -627,7 +608,6 @@ public XmlItem namespaceInteger(Integer namespaceInteger) { */ @javax.annotation.Nullable - public Integer getNamespaceInteger() { return namespaceInteger; } @@ -649,7 +629,6 @@ public XmlItem namespaceBoolean(Boolean namespaceBoolean) { */ @javax.annotation.Nullable - public Boolean isNamespaceBoolean() { return namespaceBoolean; } @@ -679,7 +658,6 @@ public XmlItem addNamespaceArrayItem(Integer namespaceArrayItem) { */ @javax.annotation.Nullable - public List getNamespaceArray() { return namespaceArray; } @@ -709,7 +687,6 @@ public XmlItem addNamespaceWrappedArrayItem(Integer namespaceWrappedArrayItem) { */ @javax.annotation.Nullable - public List getNamespaceWrappedArray() { return namespaceWrappedArray; } @@ -731,7 +708,6 @@ public XmlItem prefixNsString(String prefixNsString) { */ @javax.annotation.Nullable - public String getPrefixNsString() { return prefixNsString; } @@ -754,7 +730,6 @@ public XmlItem prefixNsNumber(BigDecimal prefixNsNumber) { @javax.annotation.Nullable @Valid - public BigDecimal getPrefixNsNumber() { return prefixNsNumber; } @@ -776,7 +751,6 @@ public XmlItem prefixNsInteger(Integer prefixNsInteger) { */ @javax.annotation.Nullable - public Integer getPrefixNsInteger() { return prefixNsInteger; } @@ -798,7 +772,6 @@ public XmlItem prefixNsBoolean(Boolean prefixNsBoolean) { */ @javax.annotation.Nullable - public Boolean isPrefixNsBoolean() { return prefixNsBoolean; } @@ -828,7 +801,6 @@ public XmlItem addPrefixNsArrayItem(Integer prefixNsArrayItem) { */ @javax.annotation.Nullable - public List getPrefixNsArray() { return prefixNsArray; } @@ -858,7 +830,6 @@ public XmlItem addPrefixNsWrappedArrayItem(Integer prefixNsWrappedArrayItem) { */ @javax.annotation.Nullable - public List getPrefixNsWrappedArray() { return prefixNsWrappedArray; } diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ApiClient.java index c42a51c9a78e..1d195c9f6851 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ApiClient.java @@ -56,8 +56,7 @@ import org.openapitools.client.auth.HttpBearerAuth; import org.openapitools.client.auth.ApiKeyAuth; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/JavaTimeFormatter.java index e5b21dd52456..8f6f7b462f5a 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 0981b7a62a4d..1b542bdf2afd 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ServerConfiguration.java index 07be20564250..d46a59555f52 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ServerVariable.java index 2ee5e2c71e3f..d6ea6e093699 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/StringUtil.java index dce0e4465b7b..52676a772202 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/api/DefaultApi.java index 46921091b1cf..4c8a45e69360 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index eff729aa71f7..0ecd4a06debc 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 144277124df8..4d4559852306 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 7d70bc46289b..e7879a614668 100644 --- a/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/restclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; 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 c888da6ba1e5..4e0b565607a3 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 @@ -77,7 +77,6 @@ public byte[] getNullableArray() { @JsonProperty(JSON_PROPERTY_NULLABLE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableArray_JsonNullable() { return nullableArray; } @@ -135,7 +134,6 @@ public String getNullableString() { @JsonProperty(JSON_PROPERTY_NULLABLE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableString_JsonNullable() { return nullableString; } diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ApiClient.java index 51ae07b26f24..75cf72cea068 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ApiClient.java @@ -57,8 +57,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 0c98c6b1dff4..ad4b5f431524 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 3a8babcc0261..5ba7e3cc2d47 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java index fe8a79c4cbdc..66c3f6441327 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ServerVariable.java index 672fb1cbca85..c6d3bb9db186 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/StringUtil.java index 567864bdc9f4..4778907b3dca 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index fca2cb908a30..526470e2c825 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/DefaultApi.java index 00bef0713d48..d3bba29258fb 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/FakeApi.java index a8d07ecc341d..036cee60cdfb 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/FakeApi.java @@ -37,8 +37,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 547805367577..d98fad32dab7 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/PetApi.java index e1934f775f9c..eea9e350f739 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/PetApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java index a36998195c1f..43852305efd3 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/UserApi.java index 31f8998f8118..411bde1e2830 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/api/UserApi.java @@ -24,8 +24,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 6d79312a18ad..3806a9ad516c 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index bc3079864fba..9fc4f750cb2c 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 1a31be1a26dc..ca80b06f6fb1 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java index 75a9cad8eb66..1019901833b8 100644 --- a/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/restclient-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { 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 27fe1094b318..08a78030ca8b 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 @@ -70,7 +70,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -108,7 +107,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum; 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 bbbeefaba142..df629c1ee331 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 @@ -84,7 +84,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -124,7 +123,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -162,7 +160,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -200,7 +197,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -343,7 +339,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } 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 c7f319d3e6ba..1de90511110c 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 @@ -63,7 +63,6 @@ public String getNullableMessage() { @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 a0ffe52c634a..c5c541d73e39 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 @@ -74,7 +74,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString; 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 5c1b49b25f45..e93af6633aca 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 @@ -115,7 +115,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -149,7 +148,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -183,7 +181,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -217,7 +214,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -251,7 +247,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -285,7 +280,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -331,7 +325,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -377,7 +370,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -457,7 +449,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -503,7 +494,6 @@ public Map getObjectAndItemsNullableProp() { @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/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 4dcda7a6edc1..4dee13884dbc 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 @@ -86,7 +86,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 5a51466a755c..5a32454bd46b 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 @@ -81,7 +81,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -137,7 +136,6 @@ public String getNullableProperty() { @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 4ac18a8d00fe..99c9e49e7d9e 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 @@ -96,7 +96,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ApiClient.java index 51ae07b26f24..75cf72cea068 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ApiClient.java @@ -57,8 +57,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 0c98c6b1dff4..ad4b5f431524 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 3a8babcc0261..5ba7e3cc2d47 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ServerConfiguration.java index fe8a79c4cbdc..66c3f6441327 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ServerVariable.java index 672fb1cbca85..c6d3bb9db186 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/StringUtil.java index 567864bdc9f4..4778907b3dca 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index c332d631813a..b19e8b97f0f2 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/DefaultApi.java index 00bef0713d48..d3bba29258fb 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java index a87a6c649da0..4dda7dc909f2 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java @@ -37,8 +37,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 5c20e94d24bd..f5fa67e4256f 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java index 557550794e24..de56dfc5833d 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/StoreApi.java index 17d1f11d1380..119a72751e39 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/StoreApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java index 72b9b165583c..fd02f02a0c27 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java @@ -24,8 +24,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 6d79312a18ad..3806a9ad516c 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index bc3079864fba..9fc4f750cb2c 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 1a31be1a26dc..ca80b06f6fb1 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/OAuth.java index 75a9cad8eb66..1019901833b8 100644 --- a/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/restclient-useSingleRequestParameter/src/main/java/org/openapitools/client/auth/OAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { 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 94c188945a97..c96aa8fa11b0 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); 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 42f9f8e206a7..07794633eb68 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 @@ -83,7 +83,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -123,7 +122,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -161,7 +159,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -199,7 +196,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -337,7 +333,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } 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 32a4fb8fd2cc..aa7da2a9e905 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 @@ -60,7 +60,6 @@ public String getNullableMessage() { @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 c709be9aa0c9..bc4a57e8c519 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); 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 57b27b00bec0..5ffb134c993b 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 @@ -113,7 +113,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -146,7 +145,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -179,7 +177,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -212,7 +209,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -245,7 +241,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -278,7 +273,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -323,7 +317,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -368,7 +361,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -446,7 +438,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -491,7 +482,6 @@ public Map getObjectAndItemsNullableProp() { @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/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 413c1643238f..18b07d21cacf 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 15c420ba0e16..944283f34183 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -134,7 +133,6 @@ public String getNullableProperty() { @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 c45ddadd4ab3..87dd8712f1b4 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ApiClient.java index 51ae07b26f24..75cf72cea068 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ApiClient.java @@ -57,8 +57,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 0c98c6b1dff4..ad4b5f431524 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 3a8babcc0261..5ba7e3cc2d47 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ServerConfiguration.java index fe8a79c4cbdc..66c3f6441327 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ServerVariable.java index 672fb1cbca85..c6d3bb9db186 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/StringUtil.java index 567864bdc9f4..4778907b3dca 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index fca2cb908a30..526470e2c825 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/DefaultApi.java index 00bef0713d48..d3bba29258fb 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/FakeApi.java index a8d07ecc341d..036cee60cdfb 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/FakeApi.java @@ -37,8 +37,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 547805367577..d98fad32dab7 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/PetApi.java index e1934f775f9c..eea9e350f739 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/PetApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/StoreApi.java index a36998195c1f..43852305efd3 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/StoreApi.java @@ -23,8 +23,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/UserApi.java index 31f8998f8118..411bde1e2830 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/api/UserApi.java @@ -24,8 +24,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 6d79312a18ad..3806a9ad516c 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index bc3079864fba..9fc4f750cb2c 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 1a31be1a26dc..ca80b06f6fb1 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/OAuth.java index 75a9cad8eb66..1019901833b8 100644 --- a/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/restclient/src/main/java/org/openapitools/client/auth/OAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { 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 cc8047fa41ac..9cfa97e7d59f 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum; 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 42f9f8e206a7..07794633eb68 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 @@ -83,7 +83,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -123,7 +122,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -161,7 +159,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -199,7 +196,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -337,7 +333,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } 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 32a4fb8fd2cc..aa7da2a9e905 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 @@ -60,7 +60,6 @@ public String getNullableMessage() { @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 cab7d80c6b3d..a40bd060d163 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString; 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 6fdd48c98b56..24e480469e60 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 @@ -113,7 +113,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -146,7 +145,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -179,7 +177,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -212,7 +209,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -245,7 +241,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -278,7 +273,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -323,7 +317,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -368,7 +361,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -446,7 +438,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -491,7 +482,6 @@ public Map getObjectAndItemsNullableProp() { @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/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 413c1643238f..18b07d21cacf 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 15c420ba0e16..944283f34183 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -134,7 +133,6 @@ public String getNullableProperty() { @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 7c0cb532da78..dcaf531ae0d4 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ApiClient.java index 73b6fe9f5a07..778e2242ed5c 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ApiClient.java @@ -61,8 +61,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private Map defaultHeaderMap = new HashMap(); private Map defaultCookieMap = new HashMap(); private String basePath = "http://petstore.swagger.io:80/v2"; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ApiException.java index 271f0d5bf75b..596fa4713ac3 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ApiException.java @@ -16,8 +16,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/Configuration.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/Configuration.java index dfd2913e6fa8..541843a01580 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/Configuration.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/Configuration.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Configuration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Configuration { public static final String VERSION = "1.0.0"; private static ApiClient defaultApiClient = new ApiClient(); diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/JSON.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/JSON.java index 47ee63f9c46e..db48bf26df1e 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/JSON.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/JSON.java @@ -22,8 +22,7 @@ import javax.ws.rs.ext.ContextResolver; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JSON implements ContextResolver { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JSON implements ContextResolver { private ObjectMapper mapper; public JSON() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 6a9e6b21c283..d683ea5a4969 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -14,8 +14,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/DefaultApi.java index f77fa109ddf3..0d8eeb3f808f 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -14,8 +14,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/FakeApi.java index 5cdd42926093..4496d6e3c410 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/FakeApi.java @@ -28,8 +28,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index a96cacfeb70b..d8ba3301288f 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -14,8 +14,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/PetApi.java index e295608301a5..885784f14e73 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/PetApi.java @@ -17,8 +17,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/StoreApi.java index 829952e9dce3..d0356d14381f 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/StoreApi.java @@ -14,8 +14,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/UserApi.java index cbb60bc42f92..e4fbe20273fe 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/api/UserApi.java @@ -15,8 +15,7 @@ import java.util.List; import java.util.Map; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 8242b9ae8ae5..4ea3a3be92a1 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -18,8 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index caa5e13e3e43..050c2ebbd638 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -21,8 +21,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index e357dcdbd189..4eecbdeafb8a 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -20,8 +20,7 @@ import java.util.Optional; import java.util.function.Supplier; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/OAuth.java index c58b8f3ee1e8..2a60820d7782 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/OAuth.java @@ -18,8 +18,7 @@ import java.util.Map; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 ed3d3768e625..ab4e5036c3ae 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); 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 c84f2fa3fc8d..1c1fd470c4ce 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 @@ -83,7 +83,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -123,7 +122,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -161,7 +159,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -199,7 +196,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -337,7 +333,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } 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 5e4657caa32e..5d4a3d50316b 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 @@ -60,7 +60,6 @@ public String getNullableMessage() { @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 1ae40680e29e..4ce940e0c4d8 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); 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 0bdc106cd684..031389b27049 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 @@ -113,7 +113,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -146,7 +145,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -179,7 +177,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -212,7 +209,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -245,7 +241,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -278,7 +273,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -323,7 +317,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -368,7 +361,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -446,7 +438,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -491,7 +482,6 @@ public Map getObjectAndItemsNullableProp() { @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/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 31a2cd4aada5..41c06d8047ae 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 6bf509ced477..33d5ad827631 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -134,7 +133,6 @@ public String getNullableProperty() { @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 70732aa1ce55..bdb1e5e5ef65 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ApiClient.java index 0dfecbadf9fa..cc94e2115dba 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ApiClient.java @@ -73,8 +73,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/BaseApi.java index 3833fe286e5b..2f8fa5dc1aae 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/BaseApi.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 8ff650794412..3f3f594ec20e 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 051df7768819..3f6861014f17 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java index 5aac014a8b29..f8ffdf20171f 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ServerVariable.java index e8201acfb71c..606ea92c67cf 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/PetApi.java index 46c1c859409b..63722211121a 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/PetApi.java @@ -28,8 +28,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi extends BaseApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi extends BaseApi { public PetApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java index b125eeb7c6cf..f7c1e2c6bb40 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi extends BaseApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi extends BaseApi { public StoreApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/UserApi.java index a62a0f2483ae..4afc2d635dbb 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/api/UserApi.java @@ -27,8 +27,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi extends BaseApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi extends BaseApi { public UserApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 94e59d19f8a2..0b9b1a61e36f 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 6ce0db03574b..29c86d2805aa 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 72a5e3204d92..a0cd9d860c77 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java index 78138d650e98..1f4bd56c9d53 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java @@ -21,8 +21,7 @@ /** * Provides support for RFC 6750 - Bearer Token usage for OAUTH 2.0 Authorization. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private Supplier tokenSupplier; /** diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Order.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Order.java index 7f30b5a338c8..0f1f82ce9400 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Order.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Order.java @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Pet.java index d0ffd0c62f7c..0b6a6f107626 100644 --- a/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/resttemplate-jakarta/src/main/java/org/openapitools/client/model/Pet.java @@ -92,7 +92,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ApiClient.java index b73ec3793447..30e2f2b5d166 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ApiClient.java @@ -73,8 +73,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/BaseApi.java index 7d3cbfaf4452..e848c9156ebf 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/BaseApi.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 9d4ed181e7b1..8499211e5f60 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/RFC3339DateFormat.java index bef08ecf2373..37dd08bba4ab 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ServerConfiguration.java index 4d2a538a2047..12d7bd4173ec 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ServerVariable.java index 67e115bcfb82..b5ba3149296c 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/PetApi.java index 6d9282c70efa..49caa97d7bf6 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/PetApi.java @@ -28,8 +28,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi extends BaseApi { public PetApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/StoreApi.java index a90b3e953260..0007cde4d4d1 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/StoreApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi extends BaseApi { public StoreApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/UserApi.java index 0296d2964ecb..cdf9e2a2e338 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/api/UserApi.java @@ -27,8 +27,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi extends BaseApi { public UserApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index d0b164371326..ec67fc58920e 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 3b3453b83468..db9f8de21668 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 808704f17dbb..ac27548d9b79 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java index 5f839749ae11..9aa7c566aaf0 100644 --- a/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger1/src/main/java/org/openapitools/client/auth/OAuth.java @@ -21,8 +21,7 @@ /** * Provides support for RFC 6750 - Bearer Token usage for OAUTH 2.0 Authorization. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private Supplier tokenSupplier; /** 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 2e4fc3409956..e71dbd8fa6b6 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 @@ -88,7 +88,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 6e58e1dbf2f9..7eb3bbd69842 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ApiClient.java index b73ec3793447..30e2f2b5d166 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ApiClient.java @@ -73,8 +73,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/BaseApi.java index 7d3cbfaf4452..e848c9156ebf 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/BaseApi.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 9d4ed181e7b1..8499211e5f60 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java index bef08ecf2373..37dd08bba4ab 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java index 4d2a538a2047..12d7bd4173ec 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ServerVariable.java index 67e115bcfb82..b5ba3149296c 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/PetApi.java index 6d9282c70efa..49caa97d7bf6 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/PetApi.java @@ -28,8 +28,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi extends BaseApi { public PetApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java index a90b3e953260..0007cde4d4d1 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi extends BaseApi { public StoreApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/UserApi.java index 0296d2964ecb..cdf9e2a2e338 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/api/UserApi.java @@ -27,8 +27,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi extends BaseApi { public UserApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index d0b164371326..ec67fc58920e 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 3b3453b83468..db9f8de21668 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 808704f17dbb..ac27548d9b79 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java index 5f839749ae11..9aa7c566aaf0 100644 --- a/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java @@ -21,8 +21,7 @@ /** * Provides support for RFC 6750 - Bearer Token usage for OAUTH 2.0 Authorization. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private Supplier tokenSupplier; /** 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 a5b1998d21b0..3626250ea5c2 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 @@ -87,7 +87,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 8bae552528c8..57594d28fb94 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 @@ -94,7 +94,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ApiClient.java index f85f1e7f1160..4292181031db 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ApiClient.java @@ -80,8 +80,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/BaseApi.java index da9e5313f46c..a26786f1a329 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/BaseApi.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index f9571770499f..23bac8bd8ffb 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi extends BaseApi { public AnotherFakeApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/DefaultApi.java index 6799774e797e..07eacc525647 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi extends BaseApi { public DefaultApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/FakeApi.java index 3c76a6331b0e..1f55572d243c 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/FakeApi.java @@ -40,8 +40,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi extends BaseApi { public FakeApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 2cf813bdeaeb..5851b7580e46 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api extends BaseApi { public FakeClassnameTags123Api() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/PetApi.java index ace92c781e28..24ec00f15624 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/PetApi.java @@ -29,8 +29,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi extends BaseApi { public PetApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/StoreApi.java index 4adc21ac8f69..313a72b640f1 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/StoreApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi extends BaseApi { public StoreApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/UserApi.java index bf32acf7a907..a2e807b0a7ef 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/api/UserApi.java @@ -27,8 +27,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi extends BaseApi { public UserApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 668658808f68..1d2423c7fbdd 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index e599aa83fa70..b6d8abd70ff0 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 32e9da09a067..52955e3aa2cb 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/OAuth.java index 1063f6b1376d..bb146ff4c325 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/auth/OAuth.java @@ -21,8 +21,7 @@ /** * Provides support for RFC 6750 - Bearer Token usage for OAUTH 2.0 Authorization. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private Supplier tokenSupplier; /** 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 95a0a1e4e39c..66e9431c3318 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 @@ -80,7 +80,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; @XmlElement(name = "just_symbol") private JustSymbolEnum justSymbol; @@ -123,7 +122,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; @XmlElement(name = "array_enum") private List arrayEnum = new ArrayList<>(); 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 92d2f1eee1f3..8c0af33bcf15 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 @@ -95,7 +95,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; @XmlElement(name = "enum_string") private EnumStringEnum enumString; @@ -141,7 +140,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; @XmlElement(name = "enum_string_required") private EnumStringRequiredEnum enumStringRequired; @@ -184,7 +182,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; @XmlElement(name = "enum_integer") private EnumIntegerEnum enumInteger; @@ -227,7 +224,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; @XmlElement(name = "enum_number") private EnumNumberEnum enumNumber; @@ -379,7 +375,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "outerEnum") - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } 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 2c42af4ba80d..0d6aa3ae5796 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 @@ -69,7 +69,6 @@ public String getNullableMessage() { @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 ad8aaa9a108f..c5ef49af607f 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 @@ -85,7 +85,6 @@ public static InnerEnum fromValue(String value) { 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") private Map mapOfEnumString = new HashMap<>(); 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 e541b4ceed7d..b5fbb3afba26 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 @@ -134,7 +134,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "integer_prop") - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -168,7 +167,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "number_prop") - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -202,7 +200,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "boolean_prop") - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -236,7 +233,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "string_prop") - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -270,7 +266,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "date_prop") - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -304,7 +299,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "datetime_prop") - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -351,7 +345,6 @@ public List getArrayNullableProp() { @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "array_nullable_prop") @JacksonXmlElementWrapper(useWrapping = false) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -398,7 +391,6 @@ public List getArrayAndItemsNullableProp() { @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "array_and_items_nullable_prop") @JacksonXmlElementWrapper(useWrapping = false) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -482,7 +474,6 @@ public Map getObjectNullableProp() { @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @JacksonXmlProperty(localName = "object_nullable_prop") @JacksonXmlElementWrapper(useWrapping = false) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -529,7 +520,6 @@ public Map getObjectAndItemsNullableProp() { @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; } 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 21168ec94d1f..78addb50bb18 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 @@ -102,7 +102,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; @XmlElement(name = "status") private StatusEnum status; 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 7d7fa9971ffe..500f5e433240 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 @@ -90,7 +90,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; @XmlElement(name = "type") protected TypeEnum type; @@ -149,7 +148,6 @@ public String getNullableProperty() { @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 de96c1578516..81c82273aa51 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 @@ -114,7 +114,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; @XmlElement(name = "status") private StatusEnum status; diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ApiClient.java index 61ec2bc9ed45..1f25d79ee4a1 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ApiClient.java @@ -75,8 +75,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/BaseApi.java index da9e5313f46c..a26786f1a329 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/BaseApi.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/BaseApi.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpMethod; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public abstract class BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public abstract class BaseApi { protected ApiClient apiClient; diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index f9571770499f..23bac8bd8ffb 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi extends BaseApi { public AnotherFakeApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/DefaultApi.java index 6799774e797e..07eacc525647 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi extends BaseApi { public DefaultApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/FakeApi.java index 3c76a6331b0e..1f55572d243c 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/FakeApi.java @@ -40,8 +40,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi extends BaseApi { public FakeApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 2cf813bdeaeb..5851b7580e46 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api extends BaseApi { public FakeClassnameTags123Api() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/PetApi.java index ace92c781e28..24ec00f15624 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/PetApi.java @@ -29,8 +29,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi extends BaseApi { public PetApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/StoreApi.java index 4adc21ac8f69..313a72b640f1 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/StoreApi.java @@ -26,8 +26,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi extends BaseApi { public StoreApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/UserApi.java index bf32acf7a907..a2e807b0a7ef 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/api/UserApi.java @@ -27,8 +27,7 @@ import org.springframework.http.MediaType; import org.springframework.http.ResponseEntity; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi extends BaseApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi extends BaseApi { public UserApi() { super(new ApiClient()); diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 668658808f68..1d2423c7fbdd 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index e599aa83fa70..b6d8abd70ff0 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 32e9da09a067..52955e3aa2cb 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -18,8 +18,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private Supplier tokenSupplier; diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/OAuth.java index 1063f6b1376d..bb146ff4c325 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/auth/OAuth.java @@ -21,8 +21,7 @@ /** * Provides support for RFC 6750 - Bearer Token usage for OAUTH 2.0 Authorization. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private Supplier tokenSupplier; /** diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java index f3a4388c6a8b..bea0727bae27 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java @@ -157,63 +157,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built AdditionalPropertiesClass instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public AdditionalPropertiesClass build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static AdditionalPropertiesClass.Builder builder() { + return new AdditionalPropertiesClass.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 23a704abc27f..a0697641faa4 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 @@ -140,63 +140,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built AllOfWithSingleRef instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public AllOfWithSingleRef build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static AllOfWithSingleRef.Builder builder() { + return new AllOfWithSingleRef.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 e030783bd8d7..f69b74cccf1e 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 @@ -152,63 +152,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Animal instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Animal build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Animal.Builder builder() { + return new Animal.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 f52e4ca8a90c..22994b6779ca 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 @@ -119,58 +119,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ArrayOfArrayOfNumberOnly instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ArrayOfArrayOfNumberOnly build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ArrayOfArrayOfNumberOnly.Builder builder() { + return new ArrayOfArrayOfNumberOnly.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 5ec0dd726867..b90faf5b49a8 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 @@ -119,58 +119,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ArrayOfNumberOnly instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ArrayOfNumberOnly build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ArrayOfNumberOnly.Builder builder() { + return new ArrayOfNumberOnly.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 789ec1dcf1a1..a4915ea53493 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 @@ -199,68 +199,67 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ArrayTest instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ArrayTest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ArrayTest.Builder builder() { + return new ArrayTest.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 55300c3c0497..2261a78a3a9c 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 @@ -267,83 +267,82 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Capitalization instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Capitalization build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Capitalization.Builder builder() { + return new Capitalization.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 4412e6434200..11c1a8700001 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 @@ -133,72 +133,71 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - 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. + * Create a builder with no initialized field. */ - public Cat build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - super.build(); - this.instance = null; - } + public static Cat.Builder builder() { + return new Cat.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 67bc4519b5d9..8cbd7f93cef5 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 @@ -139,63 +139,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Category instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Category build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Category.Builder builder() { + return new Category.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 30a5fa82b310..f043cf60ce31 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 @@ -145,76 +145,75 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ChildWithNullable instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ChildWithNullable build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - super.build(); - this.instance = null; - } + public static ChildWithNullable.Builder builder() { + return new ChildWithNullable.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 852b3bec213d..662f5a4d4da6 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 @@ -107,58 +107,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ClassModel instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ClassModel build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ClassModel.Builder builder() { + return new ClassModel.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 31bb29947325..d1dc921d4569 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 @@ -107,58 +107,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Client instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Client build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Client.Builder builder() { + return new Client.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 048143c4e39a..dbad04330e0e 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 @@ -109,58 +109,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built DeprecatedObject instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public DeprecatedObject build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static DeprecatedObject.Builder builder() { + return new DeprecatedObject.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 7e4cb7a57167..c932ed4ce115 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 @@ -133,72 +133,71 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - 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. + * Create a builder with no initialized field. */ - public Dog build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - super.build(); - this.instance = null; - } + public static Dog.Builder builder() { + return new Dog.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 a7de4d14f760..8c9a208c9cee 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum; @@ -220,63 +218,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built EnumArrays instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public EnumArrays build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static EnumArrays.Builder builder() { + return new EnumArrays.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 836b9fc93fbb..e802c90a1d2a 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 @@ -83,7 +83,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -123,7 +122,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -161,7 +159,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -199,7 +196,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -351,7 +347,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } @@ -503,97 +498,96 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built EnumTest instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public EnumTest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static EnumTest.Builder builder() { + return new EnumTest.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 274f80cec557..270778764ddf 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 @@ -151,63 +151,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built FakeBigDecimalMap200Response instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public FakeBigDecimalMap200Response build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static FakeBigDecimalMap200Response.Builder builder() { + return new FakeBigDecimalMap200Response.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 be1a5b21a258..154464a6fd0f 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 @@ -151,63 +151,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built FileSchemaTestClass instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public FileSchemaTestClass build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static FileSchemaTestClass.Builder builder() { + return new FileSchemaTestClass.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 3db56b8118ba..156d44213e07 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 @@ -107,58 +107,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Foo instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Foo build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Foo.Builder builder() { + return new Foo.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 96fabe1e7326..6bc1423dcaa1 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 @@ -109,58 +109,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built FooGetDefaultResponse instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public FooGetDefaultResponse build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static FooGetDefaultResponse.Builder builder() { + return new FooGetDefaultResponse.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 ac3525596cef..4cb88c28c5fb 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 @@ -603,133 +603,132 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built FormatTest instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public FormatTest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static FormatTest.Builder builder() { + return new FormatTest.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 1ed4aa16f409..d5786c5406c8 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 @@ -122,63 +122,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built HasOnlyReadOnly instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public HasOnlyReadOnly build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static HasOnlyReadOnly.Builder builder() { + return new HasOnlyReadOnly.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 b867142bdb01..123041f37341 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 @@ -67,7 +67,6 @@ public String getNullableMessage() { @JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableMessage_JsonNullable() { return nullableMessage; } @@ -130,62 +129,61 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built HealthCheckResult instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public HealthCheckResult build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static HealthCheckResult.Builder builder() { + return new HealthCheckResult.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 5e47cf69f7fb..7e10f0359975 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString; @@ -272,73 +271,72 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built MapTest instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public MapTest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static MapTest.Builder builder() { + return new MapTest.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 a0e567150837..ed04149a3002 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 @@ -184,68 +184,67 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built MixedPropertiesAndAdditionalPropertiesClass instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public MixedPropertiesAndAdditionalPropertiesClass build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static MixedPropertiesAndAdditionalPropertiesClass.Builder builder() { + return new MixedPropertiesAndAdditionalPropertiesClass.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 36ecf05f2258..739ca086f31d 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 @@ -140,63 +140,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Model200Response instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Model200Response build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Model200Response.Builder builder() { + return new Model200Response.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 3544720b02c8..abe273259d82 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 @@ -172,68 +172,67 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ModelApiResponse instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ModelApiResponse build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ModelApiResponse.Builder builder() { + return new ModelApiResponse.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 4071b1c7c1c5..87d17a1bec0c 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 @@ -108,58 +108,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ModelFile instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ModelFile build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ModelFile.Builder builder() { + return new ModelFile.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 cca68831913b..e8fa8cbbda7d 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 @@ -108,58 +108,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ModelList instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ModelList build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ModelList.Builder builder() { + return new ModelList.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 65a080bb4efa..416024f2a6a6 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 @@ -108,58 +108,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ModelReturn instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ModelReturn build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ModelReturn.Builder builder() { + return new ModelReturn.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 09a69b043ffd..a9e2945ed805 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 @@ -193,73 +193,72 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Name instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Name build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Name.Builder builder() { + return new Name.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 199f81bf0722..2d09074b8089 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 @@ -132,7 +132,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -165,7 +164,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -198,7 +196,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -231,7 +228,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -264,7 +260,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -297,7 +292,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -342,7 +336,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -387,7 +380,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -465,7 +457,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -510,7 +501,6 @@ public Map getObjectAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP) @JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectAndItemsNullableProp_JsonNullable() { return objectAndItemsNullableProp; } @@ -630,153 +620,152 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built NullableClass instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public NullableClass build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static NullableClass.Builder builder() { + return new NullableClass.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 c3cb81063fcc..eb9b3fd2eddb 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 @@ -108,58 +108,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built NumberOnly instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public NumberOnly build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static NumberOnly.Builder builder() { + return new NumberOnly.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 6b6413bdb7eb..3a468c3496da 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 @@ -222,73 +222,72 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ObjectWithDeprecatedFields instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ObjectWithDeprecatedFields build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ObjectWithDeprecatedFields.Builder builder() { + return new ObjectWithDeprecatedFields.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 e6f4cc9017ca..2a9e997b5c3d 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -305,83 +304,82 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Order instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Order build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Order.Builder builder() { + return new Order.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 33bbbc1288d4..1ecd6a3d879b 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 @@ -172,68 +172,67 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built OuterComposite instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public OuterComposite build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static OuterComposite.Builder builder() { + return new OuterComposite.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 ab1362f31e98..29c35e330e8e 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 @@ -108,58 +108,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built OuterObjectWithEnumProperty instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public OuterObjectWithEnumProperty build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static OuterObjectWithEnumProperty.Builder builder() { + return new OuterObjectWithEnumProperty.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 deb1c378819f..6e9336652453 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -142,7 +141,6 @@ public String getNullableProperty() { @JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableProperty_JsonNullable() { return nullableProperty; } @@ -207,67 +205,66 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ParentWithNullable instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ParentWithNullable build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ParentWithNullable.Builder builder() { + return new ParentWithNullable.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 a136dae000fc..6b8918825ec0 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -329,83 +328,82 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Pet instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Pet build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Pet.Builder builder() { + return new Pet.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 b8d5b12b8156..d2864480bc7f 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 @@ -138,63 +138,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built ReadOnlyFirst instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public ReadOnlyFirst build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static ReadOnlyFirst.Builder builder() { + return new ReadOnlyFirst.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 ba9e4803ad1f..0a576205066e 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 @@ -108,58 +108,57 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built SpecialModelName instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public SpecialModelName build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static SpecialModelName.Builder builder() { + return new SpecialModelName.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 c145badeda8d..7361984f23bd 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 @@ -139,63 +139,62 @@ private String toIndentedString(Object o) { } 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; + + 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 + ")"; + } } - - + /** - * returns a built Tag instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public Tag build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static Tag.Builder builder() { + return new Tag.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * 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 cc9517876dd8..35ef79dd3661 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 @@ -114,58 +114,57 @@ private String toIndentedString(Object o) { } public static class Builder { - - private TestInlineFreeformAdditionalPropertiesRequest instance; - - public Builder() { - this(new TestInlineFreeformAdditionalPropertiesRequest()); - } - - protected Builder(TestInlineFreeformAdditionalPropertiesRequest instance) { - this.instance = instance; - } - - public TestInlineFreeformAdditionalPropertiesRequest.Builder someProperty(String someProperty) { - this.instance.someProperty = someProperty; - return this; + + private TestInlineFreeformAdditionalPropertiesRequest instance; + + public Builder() { + this(new TestInlineFreeformAdditionalPropertiesRequest()); + } + + protected Builder(TestInlineFreeformAdditionalPropertiesRequest instance) { + this.instance = instance; + } + + public TestInlineFreeformAdditionalPropertiesRequest.Builder someProperty(String someProperty) { + this.instance.someProperty = someProperty; + return this; + } + + + /** + * returns a built TestInlineFreeformAdditionalPropertiesRequest instance. + * + * The builder is not reusable. + */ + public TestInlineFreeformAdditionalPropertiesRequest build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } } - - + /** - * returns a built TestInlineFreeformAdditionalPropertiesRequest instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public TestInlineFreeformAdditionalPropertiesRequest build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static TestInlineFreeformAdditionalPropertiesRequest.Builder builder() { + return new TestInlineFreeformAdditionalPropertiesRequest.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with a shallow copy of this instance. + */ + public TestInlineFreeformAdditionalPropertiesRequest.Builder toBuilder() { + return new TestInlineFreeformAdditionalPropertiesRequest.Builder() + .someProperty(getSomeProperty()); } - } - - /** - * Create a builder with no initialized field. - */ - public static TestInlineFreeformAdditionalPropertiesRequest.Builder builder() { - return new TestInlineFreeformAdditionalPropertiesRequest.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public TestInlineFreeformAdditionalPropertiesRequest.Builder toBuilder() { - return new TestInlineFreeformAdditionalPropertiesRequest.Builder() - .someProperty(getSomeProperty()); - } - } diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/User.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/User.java index 79fa96a4b92e..a33187be3d77 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/User.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/User.java @@ -331,93 +331,92 @@ private String toIndentedString(Object o) { } public static class Builder { - - private User instance; - - public Builder() { - this(new User()); - } - - protected Builder(User instance) { - this.instance = instance; - } - - public User.Builder id(Long id) { - this.instance.id = id; - return this; - } - public User.Builder username(String username) { - this.instance.username = username; - return this; - } - public User.Builder firstName(String firstName) { - this.instance.firstName = firstName; - return this; - } - public User.Builder lastName(String lastName) { - this.instance.lastName = lastName; - return this; - } - public User.Builder email(String email) { - this.instance.email = email; - return this; - } - public User.Builder password(String password) { - this.instance.password = password; - return this; - } - public User.Builder phone(String phone) { - this.instance.phone = phone; - return this; - } - public User.Builder userStatus(Integer userStatus) { - this.instance.userStatus = userStatus; - return this; + + private User instance; + + public Builder() { + this(new User()); + } + + protected Builder(User instance) { + this.instance = instance; + } + + public User.Builder id(Long id) { + this.instance.id = id; + return this; + } + public User.Builder username(String username) { + this.instance.username = username; + return this; + } + public User.Builder firstName(String firstName) { + this.instance.firstName = firstName; + return this; + } + public User.Builder lastName(String lastName) { + this.instance.lastName = lastName; + return this; + } + public User.Builder email(String email) { + this.instance.email = email; + return this; + } + public User.Builder password(String password) { + this.instance.password = password; + return this; + } + public User.Builder phone(String phone) { + this.instance.phone = phone; + return this; + } + public User.Builder userStatus(Integer userStatus) { + this.instance.userStatus = userStatus; + return this; + } + + + /** + * returns a built User instance. + * + * The builder is not reusable. + */ + public User build() { + try { + return this.instance; + } finally { + // ensure that this.instance is not reused + this.instance = null; + } + } + + @Override + public String toString() { + return getClass() + "=(" + instance + ")"; + } } - - + /** - * returns a built User instance. - * - * The builder is not reusable. + * Create a builder with no initialized field. */ - public User build() { - try { - return this.instance; - } finally { - // ensure that this.instance is not reused - this.instance = null; - } + public static User.Builder builder() { + return new User.Builder(); } - - @Override - public String toString() { - return getClass() + "=(" + instance + ")"; + + /** + * Create a builder with a shallow copy of this instance. + */ + public User.Builder toBuilder() { + return new User.Builder() + .id(getId()) + .username(getUsername()) + .firstName(getFirstName()) + .lastName(getLastName()) + .email(getEmail()) + .password(getPassword()) + .phone(getPhone()) + .userStatus(getUserStatus()); } - } - - /** - * Create a builder with no initialized field. - */ - public static User.Builder builder() { - return new User.Builder(); - } - - /** - * Create a builder with a shallow copy of this instance. - */ - public User.Builder toBuilder() { - return new User.Builder() - .id(getId()) - .username(getUsername()) - .firstName(getFirstName()) - .lastName(getLastName()) - .email(getEmail()) - .password(getPassword()) - .phone(getPhone()) - .userStatus(getUserStatus()); - } - } diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/Pair.java index cdc179cde933..9068761bdb24 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 3a8babcc0261..5ba7e3cc2d47 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/ServerConfiguration.java index fe8a79c4cbdc..66c3f6441327 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/ServerVariable.java index 672fb1cbca85..c6d3bb9db186 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/StringUtil.java index 567864bdc9f4..4778907b3dca 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index be3c4fd0dbc5..d957b8fc331d 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -21,8 +21,7 @@ /** * Holds ApiKey auth info */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java index f767ff7d46fb..2b61bbae74ea 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/AdditionalPropertiesAnyType.java @@ -53,7 +53,6 @@ public AdditionalPropertiesAnyType name(String name) { * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 0d56e1e67587..891a24c42992 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 @@ -54,7 +54,6 @@ public AdditionalPropertiesArray name(String name) { * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 0a693976c79c..39b0f1bc12ce 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 @@ -53,7 +53,6 @@ public AdditionalPropertiesBoolean name(String name) { * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 6c751fe15df4..f0f51b7b2cc9 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 @@ -102,7 +102,6 @@ public AdditionalPropertiesClass putMapStringItem(String key, String mapStringIt * @return mapString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -137,7 +136,6 @@ public AdditionalPropertiesClass putMapNumberItem(String key, BigDecimal mapNumb */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MAP_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -171,7 +169,6 @@ public AdditionalPropertiesClass putMapIntegerItem(String key, Integer mapIntege * @return mapInteger */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -205,7 +202,6 @@ public AdditionalPropertiesClass putMapBooleanItem(String key, Boolean mapBoolea * @return mapBoolean */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -240,7 +236,6 @@ public AdditionalPropertiesClass putMapArrayIntegerItem(String key, List */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -310,7 +304,6 @@ public AdditionalPropertiesClass putMapMapStringItem(String key, Map arrayAr */ @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 c2b67f2d0413..197a7d5d9f17 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 @@ -63,7 +63,6 @@ public ArrayOfNumberOnly addArrayNumberItem(BigDecimal arrayNumberItem) { */ @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 e67a6f9ff071..059a0d2fa842 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 @@ -70,7 +70,6 @@ public ArrayTest addArrayOfStringItem(String arrayOfStringItem) { * @return arrayOfString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -105,7 +104,6 @@ public ArrayTest addArrayArrayOfIntegerItem(List arrayArrayOfIntegerItem) */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -140,7 +138,6 @@ public ArrayTest addArrayArrayOfModelItem(List<@Valid ReadOnlyFirst> arrayArrayO */ @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 00cece6c6da9..d7a08da25644 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 @@ -81,7 +81,6 @@ public static KindEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; private KindEnum kind; @@ -100,7 +99,6 @@ public BigCat kind(KindEnum kind) { * @return kind */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_KIND) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 8dadef8dc187..b4536a6c6317 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 @@ -70,7 +70,6 @@ public Capitalization smallCamel(String smallCamel) { * @return smallCamel */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -96,7 +95,6 @@ public Capitalization capitalCamel(String capitalCamel) { * @return capitalCamel */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -122,7 +120,6 @@ public Capitalization smallSnake(String smallSnake) { * @return smallSnake */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SMALL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -148,7 +145,6 @@ public Capitalization capitalSnake(String capitalSnake) { * @return capitalSnake */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -174,7 +170,6 @@ public Capitalization scAETHFlowPoints(String scAETHFlowPoints) { * @return scAETHFlowPoints */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -200,7 +195,6 @@ public Capitalization ATT_NAME(String ATT_NAME) { * @return ATT_NAME */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 41f743f4d760..4f2852798e47 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 @@ -64,7 +64,6 @@ public Cat declawed(Boolean declawed) { * @return declawed */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DECLAWED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 6a03a39e0eac..59eb65d1f07f 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 @@ -54,7 +54,6 @@ public Category id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -81,7 +80,6 @@ public Category name(String name) { */ @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 e66c554538d0..ef4ca8bc656f 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 @@ -50,7 +50,6 @@ public ClassModel propertyClass(String propertyClass) { * @return propertyClass */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 8567656dc3d2..3c90d608df80 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 @@ -50,7 +50,6 @@ public Client client(String client) { * @return client */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CLIENT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 cf9c4ecce016..ab7698a936cd 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 @@ -61,7 +61,6 @@ public Dog breed(String breed) { * @return breed */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BREED) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 cf019befcfa8..d97f392d6370 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 @@ -71,7 +71,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -109,7 +108,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); @@ -127,7 +125,6 @@ public EnumArrays justSymbol(JustSymbolEnum justSymbol) { * @return justSymbol */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_JUST_SYMBOL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -161,7 +158,6 @@ public EnumArrays addArrayEnumItem(ArrayEnumEnum arrayEnumItem) { * @return arrayEnum */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ARRAY_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 268c45b7a657..0bf9e2c49b8d 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 @@ -75,7 +75,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -115,7 +114,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -153,7 +151,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -191,7 +188,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -212,7 +208,6 @@ public EnumTest enumString(EnumStringEnum enumString) { * @return enumString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -239,7 +234,6 @@ public EnumTest enumStringRequired(EnumStringRequiredEnum enumStringRequired) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -265,7 +259,6 @@ public EnumTest enumInteger(EnumIntegerEnum enumInteger) { * @return enumInteger */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -291,7 +284,6 @@ public EnumTest enumNumber(EnumNumberEnum enumNumber) { * @return enumNumber */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ENUM_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -318,7 +310,6 @@ public EnumTest outerEnum(OuterEnum outerEnum) { */ @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 3f999af04ad2..93986994bc9f 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 @@ -59,7 +59,6 @@ public FileSchemaTestClass _file(ModelFile _file) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_FILE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -94,7 +93,6 @@ public FileSchemaTestClass addFilesItem(ModelFile filesItem) { */ @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 5b3f99202343..04ebf7591394 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 @@ -110,8 +110,7 @@ public FormatTest integer(Integer integer) { * @return integer */ @jakarta.annotation.Nullable - @Min(10) @Max(100) - @JsonProperty(JSON_PROPERTY_INTEGER) + @Min(10) @Max(100) @JsonProperty(JSON_PROPERTY_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInteger() { @@ -138,8 +137,7 @@ public FormatTest int32(Integer int32) { * @return int32 */ @jakarta.annotation.Nullable - @Min(20) @Max(200) - @JsonProperty(JSON_PROPERTY_INT32) + @Min(20) @Max(200) @JsonProperty(JSON_PROPERTY_INT32) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Integer getInt32() { @@ -164,7 +162,6 @@ public FormatTest int64(Long int64) { * @return int64 */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INT64) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -194,8 +191,7 @@ public FormatTest number(BigDecimal number) { @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() { @@ -222,8 +218,7 @@ public FormatTest _float(Float _float) { * @return _float */ @jakarta.annotation.Nullable - @DecimalMin("54.3") @DecimalMax("987.6") - @JsonProperty(JSON_PROPERTY_FLOAT) + @DecimalMin("54.3") @DecimalMax("987.6") @JsonProperty(JSON_PROPERTY_FLOAT) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Float getFloat() { @@ -250,8 +245,7 @@ public FormatTest _double(Double _double) { * @return _double */ @jakarta.annotation.Nullable - @DecimalMin("67.8") @DecimalMax("123.4") - @JsonProperty(JSON_PROPERTY_DOUBLE) + @DecimalMin("67.8") @DecimalMax("123.4") @JsonProperty(JSON_PROPERTY_DOUBLE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public Double getDouble() { @@ -276,8 +270,7 @@ public FormatTest string(String string) { * @return string */ @jakarta.annotation.Nullable - @Pattern(regexp="/[a-z]/i") - @JsonProperty(JSON_PROPERTY_STRING) + @Pattern(regexp="/[a-z]/i") @JsonProperty(JSON_PROPERTY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) public String getString() { @@ -303,7 +296,6 @@ public FormatTest _byte(byte[] _byte) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -330,7 +322,6 @@ public FormatTest binary(File binary) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_BINARY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -358,7 +349,6 @@ public FormatTest date(LocalDate date) { @jakarta.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -385,7 +375,6 @@ public FormatTest dateTime(OffsetDateTime dateTime) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -412,7 +401,6 @@ public FormatTest uuid(UUID uuid) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -439,8 +427,7 @@ public FormatTest password(String password) { */ @jakarta.annotation.Nonnull @NotNull - @Size(min=10,max=64) - @JsonProperty(JSON_PROPERTY_PASSWORD) + @Size(min=10,max=64) @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) public String getPassword() { @@ -466,7 +453,6 @@ public FormatTest bigDecimal(BigDecimal bigDecimal) { */ @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 7f47ae3e7609..08c0a3ee35fa 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 @@ -61,7 +61,6 @@ public HasOnlyReadOnly( * @return bar */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -76,7 +75,6 @@ public String getBar() { * @return foo */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FOO) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 8bb9dacc9d12..8cce38c63b98 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 @@ -75,7 +75,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); @@ -108,7 +107,6 @@ public MapTest putMapMapOfStringItem(String key, Map mapMapOfStr */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -142,7 +140,6 @@ public MapTest putMapOfEnumStringItem(String key, InnerEnum mapOfEnumStringItem) * @return mapOfEnumString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -176,7 +173,6 @@ public MapTest putDirectMapItem(String key, Boolean directMapItem) { * @return directMap */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_DIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -210,7 +206,6 @@ public MapTest putIndirectMapItem(String key, Boolean indirectMapItem) { * @return indirectMap */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_INDIRECT_MAP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 74faa5259e9a..a962da6e700d 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 @@ -64,7 +64,6 @@ public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_UUID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -91,7 +90,6 @@ public MixedPropertiesAndAdditionalPropertiesClass dateTime(OffsetDateTime dateT */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_DATE_TIME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -126,7 +124,6 @@ public MixedPropertiesAndAdditionalPropertiesClass putMapItem(String key, Animal */ @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 822467936185..8e63073a383b 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 @@ -55,7 +55,6 @@ public Model200Response name(Integer name) { * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -81,7 +80,6 @@ public Model200Response propertyClass(String propertyClass) { * @return propertyClass */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY_CLASS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 ad86f8135f1e..0f4b16e2746a 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 @@ -59,7 +59,6 @@ public ModelApiResponse code(Integer code) { * @return code */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_CODE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -85,7 +84,6 @@ public ModelApiResponse type(String type) { * @return type */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_TYPE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -111,7 +109,6 @@ public ModelApiResponse message(String message) { * @return message */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MESSAGE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 0ba84a251b7c..d81218e4e156 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 @@ -51,7 +51,6 @@ public ModelFile sourceURI(String sourceURI) { * @return sourceURI */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SOURCE_U_R_I) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 d708de9c550b..d592bec91d17 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 @@ -51,7 +51,6 @@ public ModelList _123list(String _123list) { * @return _123list */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123LIST) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 517c6a85fe4e..58b6a45066da 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 @@ -51,7 +51,6 @@ public ModelReturn _return(Integer _return) { * @return _return */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_RETURN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 6bd48db3600f..3b4abce64561 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 @@ -75,7 +75,6 @@ public Name name(Integer name) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -95,7 +94,6 @@ public void setName(Integer name) { * @return snakeCase */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_SNAKE_CASE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -116,7 +114,6 @@ public Name property(String property) { * @return property */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PROPERTY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -136,7 +133,6 @@ public void setProperty(String property) { * @return _123number */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_123NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 77850475cf07..0394ac7d5931 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 @@ -52,7 +52,6 @@ public NumberOnly justNumber(BigDecimal justNumber) { */ @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 1e69466a1e3b..b68673dca9fa 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 @@ -87,7 +87,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -108,7 +107,6 @@ public Order id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -134,7 +132,6 @@ public Order petId(Long petId) { * @return petId */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PET_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -160,7 +157,6 @@ public Order quantity(Integer quantity) { * @return quantity */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_QUANTITY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -187,7 +183,6 @@ public Order shipDate(OffsetDateTime shipDate) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_SHIP_DATE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -213,7 +208,6 @@ public Order status(StatusEnum status) { * @return status */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -239,7 +233,6 @@ public Order complete(Boolean complete) { * @return complete */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_COMPLETE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 33f1a77c2e65..50093de97cec 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 @@ -60,7 +60,6 @@ public OuterComposite myNumber(BigDecimal myNumber) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_MY_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -86,7 +85,6 @@ public OuterComposite myString(String myString) { * @return myString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -112,7 +110,6 @@ public OuterComposite myBoolean(Boolean myBoolean) { * @return myBoolean */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_MY_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 cc075ad35ab5..fa85a14cf8c6 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 @@ -97,7 +97,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; @@ -115,7 +114,6 @@ public Pet id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -142,7 +140,6 @@ public Pet category(Category category) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_CATEGORY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -169,7 +166,6 @@ public Pet name(String name) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -204,7 +200,6 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -240,7 +235,6 @@ public Pet addTagsItem(Tag tagsItem) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_TAGS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -266,7 +260,6 @@ public Pet status(StatusEnum status) { * @return status */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 79aeea6b517b..ff717ca58f92 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 @@ -58,7 +58,6 @@ public ReadOnlyFirst( * @return bar */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAR) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -79,7 +78,6 @@ public ReadOnlyFirst baz(String baz) { * @return baz */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_BAZ) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 f09d2f541287..7464390ed140 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 @@ -51,7 +51,6 @@ public SpecialModelName() { * @return $specialPropertyName */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 3ac779c6b30c..2592cba8028e 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 @@ -54,7 +54,6 @@ public Tag id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -80,7 +79,6 @@ public Tag name(String name) { * @return name */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 4d667cda5821..33bc3bbd71e1 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 @@ -71,7 +71,6 @@ public TypeHolderDefault stringItem(String stringItem) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -99,7 +98,6 @@ public TypeHolderDefault numberItem(BigDecimal numberItem) { @jakarta.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -126,7 +124,6 @@ public TypeHolderDefault integerItem(Integer integerItem) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -153,7 +150,6 @@ public TypeHolderDefault boolItem(Boolean boolItem) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -188,7 +184,6 @@ public TypeHolderDefault addArrayItemItem(Integer arrayItemItem) { */ @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 71e47b3c0f5e..59a352ffcd0b 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 @@ -75,7 +75,6 @@ public TypeHolderExample stringItem(String stringItem) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -103,7 +102,6 @@ public TypeHolderExample numberItem(BigDecimal numberItem) { @jakarta.annotation.Nonnull @NotNull @Valid - @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -130,7 +128,6 @@ public TypeHolderExample floatItem(Float floatItem) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -157,7 +154,6 @@ public TypeHolderExample integerItem(Integer integerItem) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -184,7 +180,6 @@ public TypeHolderExample boolItem(Boolean boolItem) { */ @jakarta.annotation.Nonnull @NotNull - @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -219,7 +214,6 @@ public TypeHolderExample addArrayItemItem(Integer arrayItemItem) { */ @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 6788e257183d..4e9c7b5584e6 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 @@ -78,7 +78,6 @@ public User id(Long id) { * @return id */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ID) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -104,7 +103,6 @@ public User username(String username) { * @return username */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USERNAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -130,7 +128,6 @@ public User firstName(String firstName) { * @return firstName */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_FIRST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -156,7 +153,6 @@ public User lastName(String lastName) { * @return lastName */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_LAST_NAME) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -182,7 +178,6 @@ public User email(String email) { * @return email */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_EMAIL) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -208,7 +203,6 @@ public User password(String password) { * @return password */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -234,7 +228,6 @@ public User phone(String phone) { * @return phone */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PHONE) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -260,7 +253,6 @@ public User userStatus(Integer userStatus) { * @return userStatus */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_USER_STATUS) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) 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 1295eac54c8f..584b6d4d4179 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 @@ -166,7 +166,6 @@ public XmlItem attributeString(String attributeString) { * @return attributeString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -193,7 +192,6 @@ public XmlItem attributeNumber(BigDecimal attributeNumber) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -219,7 +217,6 @@ public XmlItem attributeInteger(Integer attributeInteger) { * @return attributeInteger */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -245,7 +242,6 @@ public XmlItem attributeBoolean(Boolean attributeBoolean) { * @return attributeBoolean */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -279,7 +275,6 @@ public XmlItem addWrappedArrayItem(Integer wrappedArrayItem) { * @return wrappedArray */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -305,7 +300,6 @@ public XmlItem nameString(String nameString) { * @return nameString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -332,7 +326,6 @@ public XmlItem nameNumber(BigDecimal nameNumber) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_NAME_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -358,7 +351,6 @@ public XmlItem nameInteger(Integer nameInteger) { * @return nameInteger */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -384,7 +376,6 @@ public XmlItem nameBoolean(Boolean nameBoolean) { * @return nameBoolean */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -418,7 +409,6 @@ public XmlItem addNameArrayItem(Integer nameArrayItem) { * @return nameArray */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -452,7 +442,6 @@ public XmlItem addNameWrappedArrayItem(Integer nameWrappedArrayItem) { * @return nameWrappedArray */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -478,7 +467,6 @@ public XmlItem prefixString(String prefixString) { * @return prefixString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -505,7 +493,6 @@ public XmlItem prefixNumber(BigDecimal prefixNumber) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_PREFIX_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -531,7 +518,6 @@ public XmlItem prefixInteger(Integer prefixInteger) { * @return prefixInteger */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -557,7 +543,6 @@ public XmlItem prefixBoolean(Boolean prefixBoolean) { * @return prefixBoolean */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -591,7 +576,6 @@ public XmlItem addPrefixArrayItem(Integer prefixArrayItem) { * @return prefixArray */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -625,7 +609,6 @@ public XmlItem addPrefixWrappedArrayItem(Integer prefixWrappedArrayItem) { * @return prefixWrappedArray */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -651,7 +634,6 @@ public XmlItem namespaceString(String namespaceString) { * @return namespaceString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -678,7 +660,6 @@ public XmlItem namespaceNumber(BigDecimal namespaceNumber) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -704,7 +685,6 @@ public XmlItem namespaceInteger(Integer namespaceInteger) { * @return namespaceInteger */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -730,7 +710,6 @@ public XmlItem namespaceBoolean(Boolean namespaceBoolean) { * @return namespaceBoolean */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -764,7 +743,6 @@ public XmlItem addNamespaceArrayItem(Integer namespaceArrayItem) { * @return namespaceArray */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -798,7 +776,6 @@ public XmlItem addNamespaceWrappedArrayItem(Integer namespaceWrappedArrayItem) { * @return namespaceWrappedArray */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -824,7 +801,6 @@ public XmlItem prefixNsString(String prefixNsString) { * @return prefixNsString */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -851,7 +827,6 @@ public XmlItem prefixNsNumber(BigDecimal prefixNsNumber) { */ @jakarta.annotation.Nullable @Valid - @JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -877,7 +852,6 @@ public XmlItem prefixNsInteger(Integer prefixNsInteger) { * @return prefixNsInteger */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -903,7 +877,6 @@ public XmlItem prefixNsBoolean(Boolean prefixNsBoolean) { * @return prefixNsBoolean */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -937,7 +910,6 @@ public XmlItem addPrefixNsArrayItem(Integer prefixNsArrayItem) { * @return prefixNsArray */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) @@ -971,7 +943,6 @@ public XmlItem addPrefixNsWrappedArrayItem(Integer prefixNsWrappedArrayItem) { * @return prefixNsWrappedArray */ @jakarta.annotation.Nullable - @JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 e6a37254cdd7..59be0ab131be 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 @@ -78,7 +78,6 @@ public KindEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) private KindEnum kind; 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 ea03fa8eb58e..b02e1cb51714 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 @@ -76,7 +76,6 @@ public JustSymbolEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) private JustSymbolEnum justSymbol; @@ -127,7 +126,6 @@ public ArrayEnumEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) private List arrayEnum = new ArrayList<>(); 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 7ae5e0b170b9..55a6d0759006 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 @@ -76,7 +76,6 @@ public EnumStringEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) private EnumStringEnum enumString; @@ -129,7 +128,6 @@ public EnumStringRequiredEnum read(final JsonReader jsonReader) throws IOExcepti } } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) private EnumStringRequiredEnum enumStringRequired; @@ -180,7 +178,6 @@ public EnumIntegerEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) private EnumIntegerEnum enumInteger; @@ -231,7 +228,6 @@ public EnumNumberEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) private EnumNumberEnum enumNumber; 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 b87cc29d24fd..c4a6be379ae0 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 @@ -79,7 +79,6 @@ public InnerEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) private Map mapOfEnumString = new HashMap<>(); 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 001e4761b279..1792450bfe7e 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 @@ -92,7 +92,6 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; 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 3deb8b3fe8ec..78e0bb9940af 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 @@ -102,7 +102,6 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 e6a37254cdd7..59be0ab131be 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 @@ -78,7 +78,6 @@ public KindEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) private KindEnum kind; 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 ea03fa8eb58e..b02e1cb51714 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 @@ -76,7 +76,6 @@ public JustSymbolEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) private JustSymbolEnum justSymbol; @@ -127,7 +126,6 @@ public ArrayEnumEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) private List arrayEnum = new ArrayList<>(); 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 7ae5e0b170b9..55a6d0759006 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 @@ -76,7 +76,6 @@ public EnumStringEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) private EnumStringEnum enumString; @@ -129,7 +128,6 @@ public EnumStringRequiredEnum read(final JsonReader jsonReader) throws IOExcepti } } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) private EnumStringRequiredEnum enumStringRequired; @@ -180,7 +178,6 @@ public EnumIntegerEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) private EnumIntegerEnum enumInteger; @@ -231,7 +228,6 @@ public EnumNumberEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) private EnumNumberEnum enumNumber; 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 b87cc29d24fd..c4a6be379ae0 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 @@ -79,7 +79,6 @@ public InnerEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) private Map mapOfEnumString = new HashMap<>(); 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 001e4761b279..1792450bfe7e 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 @@ -92,7 +92,6 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; 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 3deb8b3fe8ec..78e0bb9940af 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 @@ -102,7 +102,6 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/auth/OAuthFlow.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/auth/OAuthFlow.java index 612c6488ac8b..af1e911b4510 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/auth/OAuthFlow.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/auth/OAuthFlow.java @@ -16,8 +16,7 @@ /** * OAuth flows that are supported by this client */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OAuthFlow { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OAuthFlow { ACCESS_CODE, //called authorizationCode in OpenAPI 3.0 IMPLICIT, PASSWORD, 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 e6a37254cdd7..59be0ab131be 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 @@ -78,7 +78,6 @@ public KindEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_KIND = "kind"; @SerializedName(SERIALIZED_NAME_KIND) private KindEnum kind; 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 ea03fa8eb58e..b02e1cb51714 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 @@ -76,7 +76,6 @@ public JustSymbolEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_JUST_SYMBOL = "just_symbol"; @SerializedName(SERIALIZED_NAME_JUST_SYMBOL) private JustSymbolEnum justSymbol; @@ -127,7 +126,6 @@ public ArrayEnumEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ARRAY_ENUM = "array_enum"; @SerializedName(SERIALIZED_NAME_ARRAY_ENUM) private List arrayEnum = new ArrayList<>(); 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 7ae5e0b170b9..55a6d0759006 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 @@ -76,7 +76,6 @@ public EnumStringEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_STRING = "enum_string"; @SerializedName(SERIALIZED_NAME_ENUM_STRING) private EnumStringEnum enumString; @@ -129,7 +128,6 @@ public EnumStringRequiredEnum read(final JsonReader jsonReader) throws IOExcepti } } } - public static final String SERIALIZED_NAME_ENUM_STRING_REQUIRED = "enum_string_required"; @SerializedName(SERIALIZED_NAME_ENUM_STRING_REQUIRED) private EnumStringRequiredEnum enumStringRequired; @@ -180,7 +178,6 @@ public EnumIntegerEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_INTEGER = "enum_integer"; @SerializedName(SERIALIZED_NAME_ENUM_INTEGER) private EnumIntegerEnum enumInteger; @@ -231,7 +228,6 @@ public EnumNumberEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_ENUM_NUMBER = "enum_number"; @SerializedName(SERIALIZED_NAME_ENUM_NUMBER) private EnumNumberEnum enumNumber; 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 b87cc29d24fd..c4a6be379ae0 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 @@ -79,7 +79,6 @@ public InnerEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_MAP_OF_ENUM_STRING = "map_of_enum_string"; @SerializedName(SERIALIZED_NAME_MAP_OF_ENUM_STRING) private Map mapOfEnumString = new HashMap<>(); 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 001e4761b279..1792450bfe7e 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 @@ -92,7 +92,6 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; 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 3deb8b3fe8ec..78e0bb9940af 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 @@ -102,7 +102,6 @@ public StatusEnum read(final JsonReader jsonReader) throws IOException { } } } - public static final String SERIALIZED_NAME_STATUS = "status"; @SerializedName(SERIALIZED_NAME_STATUS) private StatusEnum status; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ApiClient.java index 8e5278ea5d2a..efe903ed97db 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ApiClient.java @@ -50,8 +50,7 @@ import static java.util.stream.Collectors.toMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private static final Pattern CONTENT_DISPOSITION_PATTERN = Pattern.compile("filename=['\"]?([^'\"\\s]+)['\"]?"); private static final OpenOptions FILE_DOWNLOAD_OPTIONS = new OpenOptions().setCreate(true).setTruncateExisting(true); diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ApiException.java index 58aa4aef4235..205b8c27b117 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ApiException.java @@ -17,8 +17,7 @@ import io.vertx.core.Future; import io.vertx.core.MultiMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/AnotherFakeApiImpl.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/AnotherFakeApiImpl.java index 72725d350a1c..6bd25fc51e72 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/AnotherFakeApiImpl.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/AnotherFakeApiImpl.java @@ -20,8 +20,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApiImpl implements AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApiImpl implements AnotherFakeApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/FakeApiImpl.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/FakeApiImpl.java index 5b01ec86a25d..da9ee8c27b65 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/FakeApiImpl.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/FakeApiImpl.java @@ -27,8 +27,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApiImpl implements FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApiImpl implements FakeApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/FakeClassnameTags123ApiImpl.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/FakeClassnameTags123ApiImpl.java index 8fc551f12301..9341c4801e73 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/FakeClassnameTags123ApiImpl.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/FakeClassnameTags123ApiImpl.java @@ -19,8 +19,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123ApiImpl implements FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123ApiImpl implements FakeClassnameTags123Api { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/PetApiImpl.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/PetApiImpl.java index e6d2354394cd..ba634d597c95 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/PetApiImpl.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/PetApiImpl.java @@ -22,8 +22,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApiImpl implements PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApiImpl implements PetApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/StoreApiImpl.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/StoreApiImpl.java index 527d29940fbf..cef9d191648e 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/StoreApiImpl.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/StoreApiImpl.java @@ -19,8 +19,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApiImpl implements StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApiImpl implements StoreApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/UserApiImpl.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/UserApiImpl.java index ff313e3f6991..c52e4dc934ab 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/UserApiImpl.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/UserApiImpl.java @@ -20,8 +20,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApiImpl implements UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApiImpl implements UserApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/AnotherFakeApi.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/AnotherFakeApi.java index 7cb8988ac359..e1a89f7c74af 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/AnotherFakeApi.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/AnotherFakeApi.java @@ -10,8 +10,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private final org.openapitools.client.api.AnotherFakeApi delegate; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/FakeApi.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/FakeApi.java index 6ac9b9e38866..bef63465e144 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/FakeApi.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/FakeApi.java @@ -17,8 +17,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private final org.openapitools.client.api.FakeApi delegate; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/FakeClassnameTags123Api.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/FakeClassnameTags123Api.java index b8a7d5c39c10..3f60e6485507 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/FakeClassnameTags123Api.java @@ -9,8 +9,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private final org.openapitools.client.api.FakeClassnameTags123Api delegate; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/PetApi.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/PetApi.java index 42689768c4af..25a630df649e 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/PetApi.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/PetApi.java @@ -12,8 +12,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private final org.openapitools.client.api.PetApi delegate; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/StoreApi.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/StoreApi.java index 4df2d4fa161f..09c2cfc7df6b 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/StoreApi.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/StoreApi.java @@ -9,8 +9,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private final org.openapitools.client.api.StoreApi delegate; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/UserApi.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/UserApi.java index c3fc6426ee19..59f3de09d702 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/UserApi.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/api/rxjava/UserApi.java @@ -10,8 +10,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private final org.openapitools.client.api.UserApi delegate; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index db09d9e1ebfb..f1aaaa65d24d 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -18,8 +18,7 @@ import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index f40dcf79199a..db4dfa6421dd 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import java.nio.charset.StandardCharsets; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index cf8bb04ff475..a7caefd4e039 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -19,8 +19,7 @@ import java.nio.charset.StandardCharsets; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/OAuth.java index d0eee10a61d1..b3335738502b 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/auth/OAuth.java @@ -18,8 +18,7 @@ import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { 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 2de9987aacb5..d7bb53f6071f 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 @@ -79,7 +79,6 @@ public static KindEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_KIND = "kind"; private KindEnum kind; 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 ed3d3768e625..ab4e5036c3ae 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); 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 726fcf37f13d..a6136c73d28b 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 @@ -73,7 +73,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -113,7 +112,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -151,7 +149,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -189,7 +186,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; 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 1ae40680e29e..4ce940e0c4d8 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); 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 31a2cd4aada5..41c06d8047ae 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 70732aa1ce55..bdb1e5e5ef65 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ApiClient.java index a62ca74b6769..889d37a5bb56 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ApiClient.java @@ -51,8 +51,7 @@ import static java.util.stream.Collectors.toMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { private static final Pattern CONTENT_DISPOSITION_PATTERN = Pattern.compile("filename=['\"]?([^'\"\\s]+)['\"]?"); private static final OpenOptions FILE_DOWNLOAD_OPTIONS = new OpenOptions().setCreate(true).setTruncateExisting(true); diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ApiException.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ApiException.java index 58aa4aef4235..205b8c27b117 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ApiException.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ApiException.java @@ -17,8 +17,7 @@ import io.vertx.core.Future; import io.vertx.core.MultiMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiException extends Exception { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiException extends Exception { private static final long serialVersionUID = 1L; private int code = 0; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/Pair.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/Pair.java index 5343c655f386..9cfd5cc8b025 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/Pair.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/Pair.java @@ -13,8 +13,7 @@ package org.openapitools.client; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pair { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pair { private String name = ""; private String value = ""; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/AnotherFakeApiImpl.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/AnotherFakeApiImpl.java index 74f8e7c97043..81e4e8722c2a 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/AnotherFakeApiImpl.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/AnotherFakeApiImpl.java @@ -19,8 +19,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApiImpl implements AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApiImpl implements AnotherFakeApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/DefaultApiImpl.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/DefaultApiImpl.java index 1dde1a0baa8a..5f3857f7cfa6 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/DefaultApiImpl.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/DefaultApiImpl.java @@ -19,8 +19,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApiImpl implements DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApiImpl implements DefaultApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/FakeApiImpl.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/FakeApiImpl.java index bddd00f4500e..91ea19cb8c85 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/FakeApiImpl.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/FakeApiImpl.java @@ -33,8 +33,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApiImpl implements FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApiImpl implements FakeApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/FakeClassnameTags123ApiImpl.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/FakeClassnameTags123ApiImpl.java index 7ab285a27571..3b9566238f96 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/FakeClassnameTags123ApiImpl.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/FakeClassnameTags123ApiImpl.java @@ -19,8 +19,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123ApiImpl implements FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123ApiImpl implements FakeClassnameTags123Api { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/PetApiImpl.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/PetApiImpl.java index 0b31a575b548..17b3baea7d19 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/PetApiImpl.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/PetApiImpl.java @@ -22,8 +22,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApiImpl implements PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApiImpl implements PetApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/StoreApiImpl.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/StoreApiImpl.java index a12d257f6c8d..041d9f1bc2df 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/StoreApiImpl.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/StoreApiImpl.java @@ -19,8 +19,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApiImpl implements StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApiImpl implements StoreApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/UserApiImpl.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/UserApiImpl.java index 2ef8324c0965..067c08fc1c39 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/UserApiImpl.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/UserApiImpl.java @@ -20,8 +20,7 @@ import org.openapitools.client.Configuration; import org.openapitools.client.Pair; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApiImpl implements UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApiImpl implements UserApi { private ApiClient apiClient; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/AnotherFakeApi.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/AnotherFakeApi.java index eff5479dd4fc..d6c115c97ecd 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/AnotherFakeApi.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/AnotherFakeApi.java @@ -9,8 +9,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private final org.openapitools.client.api.AnotherFakeApi delegate; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/DefaultApi.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/DefaultApi.java index 42466a39a1ab..210d7cc6313c 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/DefaultApi.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/DefaultApi.java @@ -9,8 +9,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private final org.openapitools.client.api.DefaultApi delegate; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/FakeApi.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/FakeApi.java index c30df42a6016..426539650266 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/FakeApi.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/FakeApi.java @@ -23,8 +23,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private final org.openapitools.client.api.FakeApi delegate; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/FakeClassnameTags123Api.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/FakeClassnameTags123Api.java index ca2f345279c9..ebe749242885 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/FakeClassnameTags123Api.java @@ -9,8 +9,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private final org.openapitools.client.api.FakeClassnameTags123Api delegate; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/PetApi.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/PetApi.java index 41730ca6c026..c03fc6e65752 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/PetApi.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/PetApi.java @@ -12,8 +12,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private final org.openapitools.client.api.PetApi delegate; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/StoreApi.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/StoreApi.java index 47af72dad952..f2f4406ddbff 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/StoreApi.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/StoreApi.java @@ -9,8 +9,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private final org.openapitools.client.api.StoreApi delegate; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/UserApi.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/UserApi.java index c1ccbc6388ab..20a59058f6c4 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/UserApi.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/api/rxjava/UserApi.java @@ -10,8 +10,7 @@ import io.vertx.core.AsyncResult; import io.vertx.core.Handler; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private final org.openapitools.client.api.UserApi delegate; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index db09d9e1ebfb..f1aaaa65d24d 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -18,8 +18,7 @@ import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index f40dcf79199a..db4dfa6421dd 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import java.nio.charset.StandardCharsets; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index cf8bb04ff475..a7caefd4e039 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -19,8 +19,7 @@ import java.nio.charset.StandardCharsets; import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/OAuth.java index d0eee10a61d1..b3335738502b 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/auth/OAuth.java @@ -18,8 +18,7 @@ import java.util.List; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { 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 ed3d3768e625..ab4e5036c3ae 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); 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 c84f2fa3fc8d..1c1fd470c4ce 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 @@ -83,7 +83,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -123,7 +122,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -161,7 +159,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -199,7 +196,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -337,7 +333,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } 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 5e4657caa32e..5d4a3d50316b 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 @@ -60,7 +60,6 @@ public String getNullableMessage() { @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 1ae40680e29e..4ce940e0c4d8 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); 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 0bdc106cd684..031389b27049 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 @@ -113,7 +113,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -146,7 +145,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -179,7 +177,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -212,7 +209,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -245,7 +241,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -278,7 +273,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -323,7 +317,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -368,7 +361,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -446,7 +438,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -491,7 +482,6 @@ public Map getObjectAndItemsNullableProp() { @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/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 31a2cd4aada5..41c06d8047ae 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 6bf509ced477..33d5ad827631 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -134,7 +133,6 @@ public String getNullableProperty() { @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 70732aa1ce55..bdb1e5e5ef65 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ApiClient.java index 8e3706504c73..6ac7e1b26b3a 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ApiClient.java @@ -80,8 +80,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 0c98c6b1dff4..ad4b5f431524 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 3a8babcc0261..5ba7e3cc2d47 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java index fe8a79c4cbdc..66c3f6441327 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ServerVariable.java index 672fb1cbca85..c6d3bb9db186 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/StringUtil.java index 567864bdc9f4..4778907b3dca 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 28f29a44e158..212f7387d380 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/DefaultApi.java index 07ffd9644af5..72afb2eb659c 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/FakeApi.java index a3dd9fd041be..5080952af95d 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/FakeApi.java @@ -39,8 +39,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 94a8e562cf70..d3f67dfd86c9 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/PetApi.java index 1b43cd83bb7d..42d6a34527e4 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/PetApi.java @@ -28,8 +28,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java index f32b656d2f99..066bc70be31a 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/StoreApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/UserApi.java index 6e572cfd881b..32d194c29ebd 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/api/UserApi.java @@ -26,8 +26,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 6d79312a18ad..3806a9ad516c 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index bc3079864fba..9fc4f750cb2c 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 51b1d13a5465..1c01f7d44928 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java index 75a9cad8eb66..1019901833b8 100644 --- a/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/webclient-jakarta/src/main/java/org/openapitools/client/auth/OAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { 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 94c188945a97..c96aa8fa11b0 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum = new ArrayList<>(); 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 42f9f8e206a7..07794633eb68 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 @@ -83,7 +83,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -123,7 +122,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -161,7 +159,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -199,7 +196,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -337,7 +333,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } 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 32a4fb8fd2cc..aa7da2a9e905 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 @@ -60,7 +60,6 @@ public String getNullableMessage() { @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 c709be9aa0c9..bc4a57e8c519 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString = new HashMap<>(); 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 57b27b00bec0..5ffb134c993b 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 @@ -113,7 +113,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -146,7 +145,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -179,7 +177,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -212,7 +209,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -245,7 +241,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -278,7 +273,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -323,7 +317,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -368,7 +361,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -446,7 +438,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -491,7 +482,6 @@ public Map getObjectAndItemsNullableProp() { @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/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 413c1643238f..18b07d21cacf 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 15c420ba0e16..944283f34183 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -134,7 +133,6 @@ public String getNullableProperty() { @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 c45ddadd4ab3..87dd8712f1b4 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ApiClient.java index b4019633cfef..1216fc97eb82 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ApiClient.java @@ -79,8 +79,7 @@ import org.openapitools.client.auth.HttpBearerAuth; import org.openapitools.client.auth.ApiKeyAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 9d2795339c2a..dd1ae5ad21a5 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 49d7f0177e90..958c8eae8e53 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ServerConfiguration.java index d1834c6f4406..dba447ecb837 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ServerVariable.java index 197463d1e03b..406e5cd5e56e 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/StringUtil.java index 7c0d7e5d6aef..9b7970038fad 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/api/DefaultApi.java index 89d99e234eb2..4ac88b58b9c9 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 4106f5bf3d93..401bb38436ee 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index 18cc7512450a..0e530097e228 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 86164d4af9ae..7af138c6e6f2 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/model/ByteArrayObject.java b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/model/ByteArrayObject.java index b4fac616d606..59255968e866 100644 --- a/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/model/ByteArrayObject.java +++ b/samples/client/petstore/java/webclient-nullable-arrays/src/main/java/org/openapitools/client/model/ByteArrayObject.java @@ -77,7 +77,6 @@ public byte[] getNullableArray() { @JsonProperty(JSON_PROPERTY_NULLABLE_ARRAY) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableArray_JsonNullable() { return nullableArray; } @@ -135,7 +134,6 @@ public String getNullableString() { @JsonProperty(JSON_PROPERTY_NULLABLE_STRING) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNullableString_JsonNullable() { return nullableString; } diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ApiClient.java index b35c5a9f3a1f..4b45cbf5afa4 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ApiClient.java @@ -80,8 +80,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 981ba40a846b..9b948e638eec 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/DefaultApi.java index bbc8749f4a38..2781df3f9b28 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/FakeApi.java index b0fd2da7e56d..6fff9898a0eb 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/FakeApi.java @@ -39,8 +39,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 49679ead59f4..31b2bd6c5bff 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/PetApi.java index 100488ec340d..3e94e5755111 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/PetApi.java @@ -28,8 +28,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java index 0629931d7d44..89cd71370471 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/StoreApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/UserApi.java index f4407d6479a1..4ec90e8e65cb 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/api/UserApi.java @@ -26,8 +26,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 668658808f68..1d2423c7fbdd 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index e599aa83fa70..b6d8abd70ff0 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 0579e2390ec5..543e928aeedb 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java index c7f279f6bfa1..80c868faf550 100644 --- a/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/webclient-swagger2/src/main/java/org/openapitools/client/auth/OAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { 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 03fca804ae95..cb140dd858b9 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 @@ -70,7 +70,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -108,7 +107,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum; 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 6761607407da..866b7a64fc88 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 @@ -84,7 +84,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -124,7 +123,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -162,7 +160,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -200,7 +197,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -343,7 +339,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } 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 4ea851ddb94d..d31d9983b154 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 @@ -63,7 +63,6 @@ public String getNullableMessage() { @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 52714210d13a..2a3b59ef7ca4 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 @@ -74,7 +74,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString; 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 8af140fd7406..63f589f08c43 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 @@ -115,7 +115,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -149,7 +148,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -183,7 +181,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -217,7 +214,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -251,7 +247,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -285,7 +280,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -331,7 +325,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -377,7 +370,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -457,7 +449,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -503,7 +494,6 @@ public Map getObjectAndItemsNullableProp() { @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/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 a1a542ba620b..eade394bf272 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 @@ -86,7 +86,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 04befcc92910..529ae8d179fe 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 @@ -81,7 +81,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -137,7 +136,6 @@ public String getNullableProperty() { @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 7c84c3f22724..adc64899556c 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 @@ -96,7 +96,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ApiClient.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ApiClient.java index b35c5a9f3a1f..4b45cbf5afa4 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ApiClient.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ApiClient.java @@ -80,8 +80,7 @@ import org.openapitools.client.auth.ApiKeyAuth; import org.openapitools.client.auth.OAuth; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiClient extends JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiClient extends JavaTimeFormatter { public enum CollectionFormat { CSV(","), TSV("\t"), SSV(" "), PIPES("|"), MULTI(null); diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java index 3caa774728bb..a6b07e00415e 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/JavaTimeFormatter.java @@ -20,8 +20,7 @@ * Class that add parsing/formatting support for Java 8+ {@code OffsetDateTime} class. * It's generated for java clients when {@code AbstractJavaCodegen#dateLibrary} specified as {@code java8}. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class JavaTimeFormatter { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class JavaTimeFormatter { private DateTimeFormatter offsetDateTimeFormatter = DateTimeFormatter.ISO_OFFSET_DATE_TIME; diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java index 7b8089060945..20d31b3b4d0a 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/RFC3339DateFormat.java @@ -22,8 +22,7 @@ import java.util.GregorianCalendar; import java.util.TimeZone; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class RFC3339DateFormat extends DateFormat { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class RFC3339DateFormat extends DateFormat { private static final long serialVersionUID = 1L; private static final TimeZone TIMEZONE_Z = TimeZone.getTimeZone("UTC"); diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ServerConfiguration.java index 2efee2549004..3656b5ec2f15 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ServerConfiguration.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ServerConfiguration.java @@ -18,8 +18,7 @@ /** * Representing a Server configuration. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerConfiguration { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerConfiguration { public String URL; public String description; public Map variables; diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ServerVariable.java index 9f3432670e93..220fca081a37 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ServerVariable.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/ServerVariable.java @@ -18,8 +18,7 @@ /** * Representing a Server Variable for server URL template substitution. */ -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ServerVariable { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ServerVariable { public String description; public String defaultValue; public HashSet enumValues = null; diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/StringUtil.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/StringUtil.java index 5ca70dcc1bbd..c8df563a86ff 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/StringUtil.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/StringUtil.java @@ -16,8 +16,7 @@ import java.util.Collection; import java.util.Iterator; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StringUtil { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StringUtil { /** * Check if the given array contains the given value (with case-insensitive comparison). * diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java index 981ba40a846b..9b948e638eec 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/AnotherFakeApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AnotherFakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnotherFakeApi { private ApiClient apiClient; public AnotherFakeApi() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/DefaultApi.java index bbc8749f4a38..2781df3f9b28 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/DefaultApi.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/DefaultApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DefaultApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DefaultApi { private ApiClient apiClient; public DefaultApi() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/FakeApi.java index b0fd2da7e56d..6fff9898a0eb 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/FakeApi.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/FakeApi.java @@ -39,8 +39,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeApi { private ApiClient apiClient; public FakeApi() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java index 49679ead59f4..31b2bd6c5bff 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FakeClassnameTags123Api { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FakeClassnameTags123Api { private ApiClient apiClient; public FakeClassnameTags123Api() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/PetApi.java index 100488ec340d..3e94e5755111 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/PetApi.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/PetApi.java @@ -28,8 +28,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetApi { private ApiClient apiClient; public PetApi() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/StoreApi.java index 0629931d7d44..89cd71370471 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/StoreApi.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/StoreApi.java @@ -25,8 +25,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class StoreApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class StoreApi { private ApiClient apiClient; public StoreApi() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/UserApi.java index f4407d6479a1..4ec90e8e65cb 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/UserApi.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/api/UserApi.java @@ -26,8 +26,7 @@ import reactor.core.publisher.Mono; import reactor.core.publisher.Flux; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserApi { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserApi { private ApiClient apiClient; public UserApi() { diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java index 668658808f68..1d2423c7fbdd 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiKeyAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiKeyAuth implements Authentication { private final String location; private final String paramName; diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java index e599aa83fa70..b6d8abd70ff0 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java @@ -19,8 +19,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBasicAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBasicAuth implements Authentication { private String username; private String password; diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java index 0579e2390ec5..543e928aeedb 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HttpBearerAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HttpBearerAuth implements Authentication { private final String scheme; private String bearerToken; diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/OAuth.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/OAuth.java index c7f279f6bfa1..80c868faf550 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/OAuth.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/auth/OAuth.java @@ -16,8 +16,7 @@ import org.springframework.http.HttpHeaders; import org.springframework.util.MultiValueMap; -@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OAuth implements Authentication { +@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OAuth implements Authentication { private String accessToken; public String getAccessToken() { 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 b7a769d48ac1..caf17e4f80ef 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 @@ -69,7 +69,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_JUST_SYMBOL = "just_symbol"; private JustSymbolEnum justSymbol; @@ -107,7 +106,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ARRAY_ENUM = "array_enum"; private List arrayEnum; 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 c84f2fa3fc8d..1c1fd470c4ce 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 @@ -83,7 +83,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING = "enum_string"; private EnumStringEnum enumString; @@ -123,7 +122,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_STRING_REQUIRED = "enum_string_required"; private EnumStringRequiredEnum enumStringRequired; @@ -161,7 +159,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_INTEGER = "enum_integer"; private EnumIntegerEnum enumInteger; @@ -199,7 +196,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_ENUM_NUMBER = "enum_number"; private EnumNumberEnum enumNumber; @@ -337,7 +333,6 @@ public OuterEnum getOuterEnum() { @JsonProperty(JSON_PROPERTY_OUTER_ENUM) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getOuterEnum_JsonNullable() { return outerEnum; } 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 5e4657caa32e..5d4a3d50316b 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 @@ -60,7 +60,6 @@ public String getNullableMessage() { @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 ca983868458a..424f86f0aed6 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 @@ -73,7 +73,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_MAP_OF_ENUM_STRING = "map_of_enum_string"; private Map mapOfEnumString; 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 9bdf47f25d69..798b359f9c4b 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 @@ -113,7 +113,6 @@ public Integer getIntegerProp() { @JsonProperty(JSON_PROPERTY_INTEGER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getIntegerProp_JsonNullable() { return integerProp; } @@ -146,7 +145,6 @@ public BigDecimal getNumberProp() { @JsonProperty(JSON_PROPERTY_NUMBER_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getNumberProp_JsonNullable() { return numberProp; } @@ -179,7 +177,6 @@ public Boolean getBooleanProp() { @JsonProperty(JSON_PROPERTY_BOOLEAN_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getBooleanProp_JsonNullable() { return booleanProp; } @@ -212,7 +209,6 @@ public String getStringProp() { @JsonProperty(JSON_PROPERTY_STRING_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getStringProp_JsonNullable() { return stringProp; } @@ -245,7 +241,6 @@ public LocalDate getDateProp() { @JsonProperty(JSON_PROPERTY_DATE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDateProp_JsonNullable() { return dateProp; } @@ -278,7 +273,6 @@ public OffsetDateTime getDatetimeProp() { @JsonProperty(JSON_PROPERTY_DATETIME_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable getDatetimeProp_JsonNullable() { return datetimeProp; } @@ -323,7 +317,6 @@ public List getArrayNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayNullableProp_JsonNullable() { return arrayNullableProp; } @@ -368,7 +361,6 @@ public List getArrayAndItemsNullableProp() { @JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getArrayAndItemsNullableProp_JsonNullable() { return arrayAndItemsNullableProp; } @@ -446,7 +438,6 @@ public Map getObjectNullableProp() { @JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP) @JsonInclude(value = JsonInclude.Include.USE_DEFAULTS) - public JsonNullable> getObjectNullableProp_JsonNullable() { return objectNullableProp; } @@ -491,7 +482,6 @@ public Map getObjectAndItemsNullableProp() { @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/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 31a2cd4aada5..41c06d8047ae 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 @@ -85,7 +85,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; 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 6bf509ced477..33d5ad827631 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 @@ -80,7 +80,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_TYPE = "type"; protected TypeEnum type; @@ -134,7 +133,6 @@ public String getNullableProperty() { @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 bfa8973e6404..7a831feae12a 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 @@ -95,7 +95,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - public static final String JSON_PROPERTY_STATUS = "status"; private StatusEnum status; diff --git a/samples/client/petstore/javascript-apollo/src/model/AdditionalPropertiesClass.js b/samples/client/petstore/javascript-apollo/src/model/AdditionalPropertiesClass.js index 3849c00c5958..6053ed1c927d 100644 --- a/samples/client/petstore/javascript-apollo/src/model/AdditionalPropertiesClass.js +++ b/samples/client/petstore/javascript-apollo/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-apollo/src/model/Animal.js b/samples/client/petstore/javascript-apollo/src/model/Animal.js index f9180d4520f6..285245d47360 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Animal.js +++ b/samples/client/petstore/javascript-apollo/src/model/Animal.js @@ -105,4 +105,3 @@ Animal.prototype['color'] = 'red'; export default Animal; - diff --git a/samples/client/petstore/javascript-apollo/src/model/ApiResponse.js b/samples/client/petstore/javascript-apollo/src/model/ApiResponse.js index 6db561122f13..9e6527ecdf76 100644 --- a/samples/client/petstore/javascript-apollo/src/model/ApiResponse.js +++ b/samples/client/petstore/javascript-apollo/src/model/ApiResponse.js @@ -104,4 +104,3 @@ ApiResponse.prototype['message'] = undefined; export default ApiResponse; - diff --git a/samples/client/petstore/javascript-apollo/src/model/ArrayOfArrayOfNumberOnly.js b/samples/client/petstore/javascript-apollo/src/model/ArrayOfArrayOfNumberOnly.js index 461c6b5b35bd..39ad22365e4e 100644 --- a/samples/client/petstore/javascript-apollo/src/model/ArrayOfArrayOfNumberOnly.js +++ b/samples/client/petstore/javascript-apollo/src/model/ArrayOfArrayOfNumberOnly.js @@ -84,4 +84,3 @@ ArrayOfArrayOfNumberOnly.prototype['ArrayArrayNumber'] = undefined; export default ArrayOfArrayOfNumberOnly; - diff --git a/samples/client/petstore/javascript-apollo/src/model/ArrayOfNumberOnly.js b/samples/client/petstore/javascript-apollo/src/model/ArrayOfNumberOnly.js index 4c2513c10763..b723a5903077 100644 --- a/samples/client/petstore/javascript-apollo/src/model/ArrayOfNumberOnly.js +++ b/samples/client/petstore/javascript-apollo/src/model/ArrayOfNumberOnly.js @@ -84,4 +84,3 @@ ArrayOfNumberOnly.prototype['ArrayNumber'] = undefined; export default ArrayOfNumberOnly; - diff --git a/samples/client/petstore/javascript-apollo/src/model/ArrayTest.js b/samples/client/petstore/javascript-apollo/src/model/ArrayTest.js index 3fc3c9b7f926..eb54fd95503e 100644 --- a/samples/client/petstore/javascript-apollo/src/model/ArrayTest.js +++ b/samples/client/petstore/javascript-apollo/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-apollo/src/model/BasquePig.js b/samples/client/petstore/javascript-apollo/src/model/BasquePig.js index 285ee12ca46d..c76c55ae71eb 100644 --- a/samples/client/petstore/javascript-apollo/src/model/BasquePig.js +++ b/samples/client/petstore/javascript-apollo/src/model/BasquePig.js @@ -106,4 +106,3 @@ BasquePig.prototype['color'] = undefined; export default BasquePig; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Capitalization.js b/samples/client/petstore/javascript-apollo/src/model/Capitalization.js index cf4ef4348ace..14c69308cb76 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Capitalization.js +++ b/samples/client/petstore/javascript-apollo/src/model/Capitalization.js @@ -145,4 +145,3 @@ Capitalization.prototype['ATT_NAME'] = undefined; export default Capitalization; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Cat.js b/samples/client/petstore/javascript-apollo/src/model/Cat.js index cfb0892ce412..e72d11f3bc30 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Cat.js +++ b/samples/client/petstore/javascript-apollo/src/model/Cat.js @@ -102,4 +102,3 @@ Animal.prototype['color'] = 'red'; export default Cat; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Category.js b/samples/client/petstore/javascript-apollo/src/model/Category.js index 829ecab0037e..ef1164424783 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Category.js +++ b/samples/client/petstore/javascript-apollo/src/model/Category.js @@ -101,4 +101,3 @@ Category.prototype['name'] = 'default-name'; export default Category; - diff --git a/samples/client/petstore/javascript-apollo/src/model/ClassModel.js b/samples/client/petstore/javascript-apollo/src/model/ClassModel.js index ba614443ebfb..38bf66263381 100644 --- a/samples/client/petstore/javascript-apollo/src/model/ClassModel.js +++ b/samples/client/petstore/javascript-apollo/src/model/ClassModel.js @@ -85,4 +85,3 @@ ClassModel.prototype['_class'] = undefined; export default ClassModel; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Client.js b/samples/client/petstore/javascript-apollo/src/model/Client.js index 4089ff37ee67..83dfb4c80497 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Client.js +++ b/samples/client/petstore/javascript-apollo/src/model/Client.js @@ -84,4 +84,3 @@ Client.prototype['client'] = undefined; export default Client; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Color.js b/samples/client/petstore/javascript-apollo/src/model/Color.js index 70daad82ce65..c93c8ed92964 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Color.js +++ b/samples/client/petstore/javascript-apollo/src/model/Color.js @@ -161,4 +161,3 @@ class Color { Color.OneOf = ["String", "[Number]"]; export default Color; - diff --git a/samples/client/petstore/javascript-apollo/src/model/DanishPig.js b/samples/client/petstore/javascript-apollo/src/model/DanishPig.js index 43cb640921a9..6a3458ae9d53 100644 --- a/samples/client/petstore/javascript-apollo/src/model/DanishPig.js +++ b/samples/client/petstore/javascript-apollo/src/model/DanishPig.js @@ -102,4 +102,3 @@ DanishPig.prototype['size'] = undefined; export default DanishPig; - diff --git a/samples/client/petstore/javascript-apollo/src/model/DeprecatedObject.js b/samples/client/petstore/javascript-apollo/src/model/DeprecatedObject.js index d7c874345f1d..c103ffe6cf25 100644 --- a/samples/client/petstore/javascript-apollo/src/model/DeprecatedObject.js +++ b/samples/client/petstore/javascript-apollo/src/model/DeprecatedObject.js @@ -84,4 +84,3 @@ DeprecatedObject.prototype['name'] = undefined; export default DeprecatedObject; - diff --git a/samples/client/petstore/javascript-apollo/src/model/Dog.js b/samples/client/petstore/javascript-apollo/src/model/Dog.js index 5397bb99d328..41538d4ccc35 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Dog.js +++ b/samples/client/petstore/javascript-apollo/src/model/Dog.js @@ -106,4 +106,3 @@ Animal.prototype['color'] = 'red'; export default Dog; - diff --git a/samples/client/petstore/javascript-apollo/src/model/EnumArrays.js b/samples/client/petstore/javascript-apollo/src/model/EnumArrays.js index 2289689e3498..b631496edb93 100644 --- a/samples/client/petstore/javascript-apollo/src/model/EnumArrays.js +++ b/samples/client/petstore/javascript-apollo/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-apollo/src/model/EnumClass.js b/samples/client/petstore/javascript-apollo/src/model/EnumClass.js index f0888e52d5ba..ebee1f6e8294 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 708e37e4ac6e..8f1ab6bc8a08 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 5f5c9547a1fa..a8cf8bd152b0 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 1b343c6835b3..d63aae8c30b6 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 3fc7819f99fa..151729a1c2d5 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Foo.js +++ b/samples/client/petstore/javascript-apollo/src/model/Foo.js @@ -85,4 +85,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 b11d88593719..f5a031a6c66a 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 7205c80e6970..1a5485760538 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 90943b87aef2..2fce4c03ccb6 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 112fd7784265..922e9b3292a1 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 ca916761c0fe..a84c29ec5e42 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 478e2347fa79..806df7f056b0 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 8131fa362034..6eb3686efd13 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 604683735fc8..ac5227bd246f 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 cd7f0a692e71..a7070c448665 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 5b611469036b..94a8f1db03a6 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 3ea6ed798b71..e5c83a1498eb 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 33dd77a18201..abd69212fee6 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 deb4f2961f62..15859d536a08 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 29e80fd26648..eb81654436a7 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 ad586f185d4f..4148f62c07ee 100644 --- a/samples/client/petstore/javascript-apollo/src/model/Order.js +++ b/samples/client/petstore/javascript-apollo/src/model/Order.js @@ -151,6 +151,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 1c6a3c9a8579..a324d9ff71fa 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 12fdff98026b..200bf20812e8 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 a65b1dd0a6be..9b13a19aa602 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 b6fc29568a02..9d6ce1056751 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 86a9d6b9467e..0e43feb22d1d 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 04fe08cbbf14..09551cf7e5d6 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 ffe0b6598794..d4c757e76ac1 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 222a3e27d413..be2f0c1f5df2 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 b0fa7628f16d..22371d2c6f38 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 616574b5fc32..11f7e3e3f49e 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 b9ece722920f..c2d9e26c4e59 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 029e14e41a72..f86a6169a534 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 c24706b827ef..6ac42574a909 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 b28db6e166fe..90e67fa74c89 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 145851f479b0..b31d8ce5cdc2 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 3849c00c5958..6053ed1c927d 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 f9180d4520f6..285245d47360 100644 --- a/samples/client/petstore/javascript-es6/src/model/Animal.js +++ b/samples/client/petstore/javascript-es6/src/model/Animal.js @@ -105,4 +105,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 6db561122f13..9e6527ecdf76 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 461c6b5b35bd..39ad22365e4e 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 4c2513c10763..b723a5903077 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 3fc3c9b7f926..eb54fd95503e 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 285ee12ca46d..c76c55ae71eb 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 cf4ef4348ace..14c69308cb76 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 cfb0892ce412..e72d11f3bc30 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 829ecab0037e..ef1164424783 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 ba614443ebfb..38bf66263381 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 4089ff37ee67..83dfb4c80497 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 70daad82ce65..c93c8ed92964 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 43cb640921a9..6a3458ae9d53 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 d7c874345f1d..c103ffe6cf25 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 5397bb99d328..41538d4ccc35 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 2289689e3498..b631496edb93 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 f0888e52d5ba..ebee1f6e8294 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 708e37e4ac6e..8f1ab6bc8a08 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 5f5c9547a1fa..a8cf8bd152b0 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 1b343c6835b3..d63aae8c30b6 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 3fc7819f99fa..151729a1c2d5 100644 --- a/samples/client/petstore/javascript-es6/src/model/Foo.js +++ b/samples/client/petstore/javascript-es6/src/model/Foo.js @@ -85,4 +85,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 b11d88593719..f5a031a6c66a 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 7205c80e6970..1a5485760538 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 90943b87aef2..2fce4c03ccb6 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 6299516cbbd8..c65e500cc505 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 ca916761c0fe..a84c29ec5e42 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 478e2347fa79..806df7f056b0 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 8131fa362034..6eb3686efd13 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 604683735fc8..ac5227bd246f 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 cd7f0a692e71..a7070c448665 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 5b611469036b..94a8f1db03a6 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 3ea6ed798b71..e5c83a1498eb 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 33dd77a18201..abd69212fee6 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 deb4f2961f62..15859d536a08 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 29e80fd26648..eb81654436a7 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 ad586f185d4f..4148f62c07ee 100644 --- a/samples/client/petstore/javascript-es6/src/model/Order.js +++ b/samples/client/petstore/javascript-es6/src/model/Order.js @@ -151,6 +151,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 1c6a3c9a8579..a324d9ff71fa 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 12fdff98026b..200bf20812e8 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 a65b1dd0a6be..9b13a19aa602 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 b6fc29568a02..9d6ce1056751 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 86a9d6b9467e..0e43feb22d1d 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 04fe08cbbf14..09551cf7e5d6 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 ffe0b6598794..d4c757e76ac1 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 222a3e27d413..be2f0c1f5df2 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 b0fa7628f16d..22371d2c6f38 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 616574b5fc32..11f7e3e3f49e 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 b9ece722920f..c2d9e26c4e59 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 029e14e41a72..f86a6169a534 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 c24706b827ef..6ac42574a909 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 b28db6e166fe..90e67fa74c89 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 145851f479b0..b31d8ce5cdc2 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 3849c00c5958..6053ed1c927d 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 f9180d4520f6..285245d47360 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Animal.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Animal.js @@ -105,4 +105,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 6db561122f13..9e6527ecdf76 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 461c6b5b35bd..39ad22365e4e 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 4c2513c10763..b723a5903077 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 3fc3c9b7f926..eb54fd95503e 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 285ee12ca46d..c76c55ae71eb 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 cf4ef4348ace..14c69308cb76 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 cfb0892ce412..e72d11f3bc30 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 829ecab0037e..ef1164424783 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 ba614443ebfb..38bf66263381 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 4089ff37ee67..83dfb4c80497 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 70daad82ce65..c93c8ed92964 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 43cb640921a9..6a3458ae9d53 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 d7c874345f1d..c103ffe6cf25 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 5397bb99d328..41538d4ccc35 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 2289689e3498..b631496edb93 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 f0888e52d5ba..ebee1f6e8294 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 708e37e4ac6e..8f1ab6bc8a08 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 5f5c9547a1fa..a8cf8bd152b0 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 1b343c6835b3..d63aae8c30b6 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 3fc7819f99fa..151729a1c2d5 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Foo.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Foo.js @@ -85,4 +85,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 b11d88593719..f5a031a6c66a 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 7205c80e6970..1a5485760538 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 90943b87aef2..2fce4c03ccb6 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 112fd7784265..922e9b3292a1 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 ca916761c0fe..a84c29ec5e42 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 478e2347fa79..806df7f056b0 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 8131fa362034..6eb3686efd13 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 604683735fc8..ac5227bd246f 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 cd7f0a692e71..a7070c448665 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 5b611469036b..94a8f1db03a6 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 3ea6ed798b71..e5c83a1498eb 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 33dd77a18201..abd69212fee6 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 deb4f2961f62..15859d536a08 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 29e80fd26648..eb81654436a7 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 ad586f185d4f..4148f62c07ee 100644 --- a/samples/client/petstore/javascript-promise-es6/src/model/Order.js +++ b/samples/client/petstore/javascript-promise-es6/src/model/Order.js @@ -151,6 +151,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 1c6a3c9a8579..a324d9ff71fa 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 12fdff98026b..200bf20812e8 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 a65b1dd0a6be..9b13a19aa602 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 b6fc29568a02..9d6ce1056751 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 86a9d6b9467e..0e43feb22d1d 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 04fe08cbbf14..09551cf7e5d6 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 ffe0b6598794..d4c757e76ac1 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 222a3e27d413..be2f0c1f5df2 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 b0fa7628f16d..22371d2c6f38 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 616574b5fc32..11f7e3e3f49e 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 b9ece722920f..c2d9e26c4e59 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 029e14e41a72..f86a6169a534 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 c24706b827ef..6ac42574a909 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 b28db6e166fe..90e67fa74c89 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 145851f479b0..b31d8ce5cdc2 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 dccf1f3db9c5..ef4be974003b 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 @@ private static String toIndentedString(Object o) { 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 af32c823d47a..e6056f419182 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 @@ private static String toIndentedString(Object o) { 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 327e990d676d..e07f5915cfea 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 @@ private static String toIndentedString(Object o) { 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 4b8f9a1b9e6c..53375f6855bc 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 @@ private static String toIndentedString(Object o) { 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 9c011ae12b41..a22a5331024e 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 @@ private static String toIndentedString(Object o) { 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 001a0b7437b4..1ee2532b13a5 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 @@ private static String toIndentedString(Object o) { 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 dccf1f3db9c5..ef4be974003b 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 @@ private static String toIndentedString(Object o) { 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 43e7bd9e4329..a2148a9e92a4 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 @@ private static String toIndentedString(Object o) { 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 ab98465791c0..cafebff6d3c5 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 @@ private static String toIndentedString(Object o) { 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 73502e93895f..f3f5d2578166 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 @@ private static String toIndentedString(Object o) { 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 9c011ae12b41..a22a5331024e 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 @@ private static String toIndentedString(Object o) { 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 001a0b7437b4..1ee2532b13a5 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 @@ private static String toIndentedString(Object o) { 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 107fab6677fb..f41b1e526623 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 bd583ab337c3..a0b743d9ee77 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 94bf2fe52a1b..7b588dc959ec 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 9443890b17b5..9e3a9b13b89e 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 569a9326912d..e9cce85000ce 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 f717688e9963..21ebed072842 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 5af0ccd94da4..b1df0c040b1e 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 9382d5519b21..db7af45e0d2b 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 c368f1fd260c..6ac6a1194d03 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 463c7ccc6235..efb6d9f514ff 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 b4117ed35dab..287b5093a700 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 db786666d4d2..7b24d183bd84 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 db786666d4d2..7b24d183bd84 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 6e7e8e340b62..831294e3122c 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 3098a799784e..711a05ea498d 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 b6ef2973e113..fef96438e628 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 f870c3b38d89..90b809cacf09 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 d0acf89342c0..bcc04dfa7241 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 87eacb1365a5..e592503cd3d0 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 fe2d51d4ef04..5255fa553b88 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 b9f182f53b53..900276239f23 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 57c97dd3d089..717d92ebf2fa 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 f66db9ea55e8..93bb9c3ab092 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 62b3ce81f9bf..bf3265fe4300 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 1da41b886ac5..539379e4945e 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 a7d222512aa2..18c20b33b74f 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 557527ac07db..afe3a4a47bc1 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 ba16885da8c0..b65d7f1ed904 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 84d478258958..c19d5158cc7b 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 ed66cc045701..ff5a42f0978e 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 b1b4fcc5f20a..72e2249888f0 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 4cda49a253ac..e1bdf94cb8cd 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 ea9cd7d4bbb7..b61b5638b7eb 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 16800beb37c0..b4c62dc79f25 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 82c2b16be4ca..d660c9682ecd 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 79dae9e05bc7..b87e025da532 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 1da41b886ac5..539379e4945e 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 a7d222512aa2..18c20b33b74f 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 25adfbd2e077..79613ce25091 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 ac0ae8c1a15c..8be95648f9e5 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 84d478258958..c19d5158cc7b 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 ed66cc045701..ff5a42f0978e 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 87eacb1365a5..e592503cd3d0 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 fe2d51d4ef04..5255fa553b88 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 156297028fcd..eef51ce9a744 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 47a0509474c8..de94ddd23d32 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 f66db9ea55e8..93bb9c3ab092 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 62b3ce81f9bf..bf3265fe4300 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 1da41b886ac5..539379e4945e 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 a7d222512aa2..18c20b33b74f 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 25adfbd2e077..79613ce25091 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 5d23b6fba1da..f45befcbfd85 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 84d478258958..c19d5158cc7b 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 ed66cc045701..ff5a42f0978e 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 85657c5904fa..c4d5979a0680 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 43078d5d1e27..28b959b8ac9a 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 dcd2e9a437e2..fe0275b9ea46 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 bdc59355c723..54fb08258a52 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 25f4d9e01af1..a9fafc236b92 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 6e269aa599ee..fc8819f61071 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 f2ee725a1b14..5ab2f25b3660 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 e810679725bb..2bdb78b3a3d9 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 8cfb5fb3a393..d73a4d2b1df1 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 dbee7c39476c..40c2bec2a300 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 9916a1564854..55c4fa6a1b77 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 a7e8121c0566..493ed5a450dd 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 1da41b886ac5..539379e4945e 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 a7d222512aa2..18c20b33b74f 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 25adfbd2e077..79613ce25091 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 ac0ae8c1a15c..8be95648f9e5 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 84d478258958..c19d5158cc7b 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 ed66cc045701..ff5a42f0978e 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 1da41b886ac5..539379e4945e 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 a7d222512aa2..18c20b33b74f 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 25adfbd2e077..79613ce25091 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 ac0ae8c1a15c..8be95648f9e5 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 84d478258958..c19d5158cc7b 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 ed66cc045701..ff5a42f0978e 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 1da41b886ac5..539379e4945e 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 a7d222512aa2..18c20b33b74f 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 25adfbd2e077..79613ce25091 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 ac0ae8c1a15c..8be95648f9e5 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 84d478258958..c19d5158cc7b 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 ed66cc045701..ff5a42f0978e 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 87eacb1365a5..e592503cd3d0 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 fe2d51d4ef04..5255fa553b88 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 b9f182f53b53..900276239f23 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 ee5d18ec9900..0c5a9cd30dfe 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 f66db9ea55e8..93bb9c3ab092 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 62b3ce81f9bf..bf3265fe4300 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 4a68d1a3ebd2..4f89b4f4576f 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 2583efc725f9..1e5b7a65744b 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 c9c227da18e0..53c7bfc16ee0 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 43bacb547ed8..f3f36bec71d9 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 7a2db5f93296..4de290e4967b 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 6e28ef27d09e..10ea32b91de9 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 4a68d1a3ebd2..4f89b4f4576f 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 2583efc725f9..1e5b7a65744b 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 c9c227da18e0..53c7bfc16ee0 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 43bacb547ed8..f3f36bec71d9 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 7a2db5f93296..4de290e4967b 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 6e28ef27d09e..10ea32b91de9 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 bca19d5c6901..00a755dffab5 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 ea6bc0a04f89..59a54c9f229c 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 ecd257a433a8..e3dc8fbabd52 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 0c70f0558c3a..8097e036454e 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 54bbd138c488..1933772b63de 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 5115585d1a4f..a2c50e00899e 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 46188c0bc687..b19694ad5831 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 8f0f3e89cf46..48a11c7f1c0a 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 4a6dfd6cc85c..6ce962a94e97 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 07c67fa9ea87..1cea9d36a03f 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 0afafa73777f..0db302bd2698 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 2cec836e1f24..8f992768d98b 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 87d83e3a44a0..bbaac85799f6 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 bca19d5c6901..00a755dffab5 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 ea6bc0a04f89..59a54c9f229c 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 17e3942b9e65..5e70ee84f769 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 502297c92b0e..2905d7f0b9ec 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 54bbd138c488..1933772b63de 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 5115585d1a4f..a2c50e00899e 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 bd33ca92746f..90b297dad16e 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 3d523a450eac..98d3b07ddca3 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 1ec7549f45c0..9093672b580c 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 018bb458a120..d6840b92b04c 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 4d2ab888bb38..fd14f4967570 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 af39fc31cfc6..c07b84a5b4ea 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 35871da8730d..d6301b1e5a4b 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 8f4b05dcd09d..7ff3663ffdf7 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 d47f6636a72a..e66b2cb1b18c 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 372906b0e56b..2971b4e12e8b 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 009b3bef5230..5fed6974d35c 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 4f64b7bdf568..5413494ec972 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 f0c2ca6dee3b..a2459901b5aa 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 7113fcaee15f..e90fb9cab5c6 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 9b8aa326815c..d8be0c50f7d3 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 93cdeaee6dce..1fae566358d7 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 9fc531984e90..363619f6cf9c 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 db0be0cf30d8..03e32cf68d54 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 60fb214fc001..4f11e46f5f9b 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 df61b819dd14..cb8995c6b28e 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 de5f7897c59c..9c1b743fd85b 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 b02ad29b9707..d128764b7c65 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 c7884e6d2765..0adbe331df8b 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 ec709473d75a..de9efca10134 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 83a909297ee7..ce282a670da5 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 9bc832793cbf..02326f33be68 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 df786952b428..e2c8306f0fce 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 e763dafa5395..42682d5b19d3 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 cd3c3adaec29..6dbb3b965e64 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 46af3323fd26..045fdee9c405 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 18a1d52df683..515b24d13953 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 ec709473d75a..de9efca10134 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 83a909297ee7..ce282a670da5 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 9bc832793cbf..02326f33be68 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 df786952b428..e2c8306f0fce 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 e763dafa5395..42682d5b19d3 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 cd3c3adaec29..6dbb3b965e64 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 46af3323fd26..045fdee9c405 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 18a1d52df683..515b24d13953 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 2f296143a654..d34ca3962874 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 7bda8570622b..c9c81bf9bbfa 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 73a0bfdf2527..c0efec85eb76 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 feb4ba413e2d..58f39c261f82 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 982adb551e38..3983fc040a07 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 9d38f849e0ff..0eec0d8160d5 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 7b8cc1436883..7226eeb34b2c 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 84f66428177b..cd3d77be7064 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 cde43a83f0c1..d6ea3d731ac0 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 a4bef25364d7..424d0654bf20 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 a51d95c17765..0f47ce987f9b 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 b231b7819f22..7b7fae274c7c 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 3618e8680eb6..03064559fab5 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 cabb3df832c2..c972d0587f9b 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 d855082fa406..ca64de7837a0 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 bf611b66b931..76554cbdde80 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 8918e30e9f81..d3c574c27ffb 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 e991db289fb2..a9baced579c6 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 fe5730a01d36..29d739b128a9 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 204111b94469..6cd4487ba53f 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 ff6bdfb61ad5..9ccda4a73304 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 f262e9a7e03c..bf8cfd3410da 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 774a303b3dd0..9a92e715cd9c 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 bb4c31e2c963..12417eeff004 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 1f533975b2b9..465964f19c51 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 f803bc7ff69d..c01121c24600 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 bca19d5c6901..00a755dffab5 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 ea6bc0a04f89..59a54c9f229c 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 ecd257a433a8..e3dc8fbabd52 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 502297c92b0e..2905d7f0b9ec 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 54bbd138c488..1933772b63de 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 5115585d1a4f..a2c50e00899e 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 bca19d5c6901..00a755dffab5 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 ea6bc0a04f89..59a54c9f229c 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 ecd257a433a8..e3dc8fbabd52 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 502297c92b0e..2905d7f0b9ec 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 54bbd138c488..1933772b63de 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 5115585d1a4f..a2c50e00899e 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 cde43a83f0c1..d6ea3d731ac0 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 a4bef25364d7..424d0654bf20 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 3d17352dbcc7..53d5d9ef942b 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 9679a58490ba..e75498e2ef9a 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 3618e8680eb6..03064559fab5 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 cabb3df832c2..c972d0587f9b 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 bca19d5c6901..00a755dffab5 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 ea6bc0a04f89..59a54c9f229c 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 2612191cb21f..3967ee220aff 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 502297c92b0e..2905d7f0b9ec 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 54bbd138c488..1933772b63de 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 5115585d1a4f..a2c50e00899e 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 cde43a83f0c1..d6ea3d731ac0 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 a4bef25364d7..424d0654bf20 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 a51d95c17765..0f47ce987f9b 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 b231b7819f22..7b7fae274c7c 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 3618e8680eb6..03064559fab5 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 cabb3df832c2..c972d0587f9b 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 a35211a807ef..f780f4a66037 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 95e1d3d45017..a8a627f1c2d2 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 207f154926ed..b4cb69ea0bf3 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 41edb1f9a292..13195c306354 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 046fa31f4bf9..a37cd9ccabe1 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 16f984685718..1f99d138adfc 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 1b1309c48761..839eced9fcd6 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 935845f72151..02514c5dfe96 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 98a3a1756d5d..b7d1599faf60 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 5179ca2e99b8..8757c929676a 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 6c0396f0cac5..2d85a24aa9ab 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 761865f46933..f92477912ad2 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 f6b12de5c5c3..db24f58cd350 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 e141e0d092d5..2e95dd471f79 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 943ab1323133..e6d302baa95b 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 23f57acd7b8a..92d4addffc4b 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 7d7112c5976a..fe654c40f811 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 4bd35d86f352..8e0fd2e0e79d 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 68f83704f495..f23926d4ce5b 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 83853bec8cf0..f02e544fdbc0 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 31eb9e6b31ca..db6bb543a70d 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 8bcb655d0fbc..c2bb3d4c8239 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 18863d14baf7..ba3f68cf3717 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 5ea7a94cfcbe..bfc33f9872b7 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 05f83ca11fd6..8a393fcb6691 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 f67159446bc9..f860c13c0a17 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 4b3729193265..e3a90f6346ef 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 6ad378e95f76..91924696a3cc 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 112ba8bbff4f..96fab2ad0237 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 cdcedfd916bb..e71a6919ade3 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 a646e643d70c..15cce23e39c0 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 fe1abf098e0c..4fa4bbf1aa49 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 7786883ed29c..5d0b3cb349f2 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 89f0f4938d81..bd93830ebf6b 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 de1c284cde24..9bb6e01242cb 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 1b1309c48761..839eced9fcd6 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 935845f72151..02514c5dfe96 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 98a3a1756d5d..b7d1599faf60 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 5179ca2e99b8..8757c929676a 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 6c0396f0cac5..2d85a24aa9ab 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 761865f46933..f92477912ad2 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 f6b12de5c5c3..db24f58cd350 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 e141e0d092d5..2e95dd471f79 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 943ab1323133..e6d302baa95b 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 23f57acd7b8a..92d4addffc4b 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 7d7112c5976a..fe654c40f811 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 4bd35d86f352..8e0fd2e0e79d 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 68f83704f495..f23926d4ce5b 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 83853bec8cf0..f02e544fdbc0 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 31eb9e6b31ca..db6bb543a70d 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 5ea7a94cfcbe..bfc33f9872b7 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 4b3729193265..e3a90f6346ef 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 cdcedfd916bb..e71a6919ade3 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 7786883ed29c..5d0b3cb349f2 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 fe3e6e9bf8db..7f9ffe643a59 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 fea05beae617..36854565537a 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 b032d5c460dd..3a571563d0b2 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 610421d0af59..29498c286512 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 ad8dd55099e3..a895b69a51f9 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 8d5200bafb7a..2e17a387a887 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 1248abfb9554..429a411e072f 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 bd080ca5181f..faa956ffb5ab 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 a7e92a6bbd2c..ab110e05aaa7 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 dfaa6adbb85c..2f20ea79542c 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 3d6dfcc8b744..4ed25a973da9 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 db41a61b5c4f..663524923db7 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 cc553f3c22f1..d01529124025 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 e980490b08b6..b771b2814738 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 2dd2ef044557..d3d5b9c34174 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 89952e95b95e..78a4dff390f5 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 42559cbc14d6..6d7c28e1559d 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 76b8491df20c..9d1bd445d012 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 c9f89c7f9bac..3e7ce435f085 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 a6c47f94ad06..6cd9dd23362c 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 9168a546778f..d9d4b36826aa 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 eed979a03ad9..866d0a20cb30 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 51a3e8c56328..5bd3fd22fe85 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 455bc1d49517..488f5e89057e 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 ff23c2e1f1b2..ad8785373133 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 667b31ba9cb4..d23be068239c 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 39d0391e7594..57ba88550fa2 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 000598c457cd..b35b0c8fec49 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 adf33739e979..39bd6c00ad36 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 c7b5da6e2853..666f5f7e8061 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 23f774ba885f..306bae470c93 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 94dd3db9c7d3..ee77773ac9d0 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 4cd7e3ce5d8b..360a45735d8d 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 fc7ab101d0f7..aefafa7f33ce 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 3a028d3558a6..b8589d01a4cc 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 88ef76300dca..37980785d448 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 a9183ffc6aff..45d1f4a7f4dc 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 61918ae1d1d1..a8863cfcc4d5 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 73168f90b7fc..7bee44cd74a7 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 cc57dd41494d..fa10c0e977f4 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 9d430abd72f6..0fa9267215a2 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 014481ffc7cd..04cad60731df 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 78eb9b0d6f0b..cb342d9037d6 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 929d7d1e82a5..1f2c860bb3e9 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 e714d6f1f52c..cc439cb7b5cf 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 41e0c7927f2e..94b7f67db0be 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 bd6c7e98f9a9..03a5ceb36856 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 cb9ffa59e706..323acd2b88ce 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 59e15a1cb5b7..984ed174f831 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 66f108a0d739..5f38288e00dd 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 b09955a26fac..81535cbb76c2 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 35466afbc42a..779cd225e49f 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 6e0263b26393..0f80c8c59c6f 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 788dc1214286..15322f9a6408 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/.openapi-generator/FILES b/samples/client/petstore/php-nextgen/OpenAPIClient-php/.openapi-generator/FILES index ec822fdd8838..8d58dbc93e12 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/.openapi-generator/FILES +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/.openapi-generator/FILES @@ -63,6 +63,7 @@ docs/Model/TestInlineFreeformAdditionalPropertiesRequest.md docs/Model/User.md git_push.sh phpunit.xml.dist +src/ApiException.php src/Api/AnotherFakeApi.php src/Api/DefaultApi.php src/Api/FakeApi.php @@ -70,7 +71,6 @@ src/Api/FakeClassnameTags123Api.php src/Api/PetApi.php src/Api/StoreApi.php src/Api/UserApi.php -src/ApiException.php src/Configuration.php src/HeaderSelector.php src/Model/AdditionalPropertiesClass.php diff --git a/samples/client/petstore/php-nextgen/OpenAPIClient-php/README.md b/samples/client/petstore/php-nextgen/OpenAPIClient-php/README.md index a9cdc4b822c7..cb413d9f7c76 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 ef6fa331bd85..74bf808f8c6f 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 d603956cfaff..7d6896f1da9a 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 39ac3ed2a67b..db3335aeb345 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 @@ -45,7 +45,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. @@ -96,7 +95,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. @@ -148,7 +146,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. @@ -208,7 +205,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. @@ -264,7 +260,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. @@ -320,7 +315,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. @@ -376,7 +370,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. @@ -432,7 +425,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. @@ -488,7 +480,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. @@ -543,7 +534,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. @@ -598,7 +588,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. @@ -651,7 +640,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. @@ -708,7 +696,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. @@ -769,7 +756,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. @@ -851,7 +837,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. @@ -925,7 +910,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. @@ -996,7 +980,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. @@ -1051,7 +1034,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. @@ -1106,7 +1088,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. @@ -1163,7 +1144,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. @@ -1218,7 +1198,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. @@ -1285,7 +1264,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 7519d7924b42..80fd38aca40d 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 03a95d599d9e..28ac2462d294 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 f704ceffbdf4..adff6401e59f 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 c5ff23c66a92..80a8e5278c4b 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/phpunit.xml.dist b/samples/client/petstore/php-nextgen/OpenAPIClient-php/phpunit.xml.dist index 1135449a8d9b..cba878f52707 100644 --- a/samples/client/petstore/php-nextgen/OpenAPIClient-php/phpunit.xml.dist +++ b/samples/client/petstore/php-nextgen/OpenAPIClient-php/phpunit.xml.dist @@ -2,8 +2,8 @@ - ./src/Api - ./src/Model + ./src\/Api + ./src\/Model 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 dcc4d80422fb..e86b2319ae36 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.9.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 cdb4771a7839..b62421a27938 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.9.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 c44d49f9d4c5..7307608bd588 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.9.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 09ac32f947d4..e664b30dd046 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.9.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 db7a07e6915f..ef0e219d578d 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.9.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 43f26158e1a2..154af67fe781 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.9.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 eb519f2feafc..f453bfd137a1 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.9.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 740b3de8c41a..a7025abcca63 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.9.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 8cb3207fc843..7b737fa28fdf 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.9.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 7466abcaaec5..090d3a6fbe4e 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.9.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 3f75b2fa9cca..17d07eef67a3 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.9.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 3df64fe79c0f..f937e33d9746 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.9.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 5d9d26bb8190..61b08b168288 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.9.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 ca7332a47d2b..dbb738030a84 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.9.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 e66c71d73b79..ffece18db7be 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.9.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 babb07086a6d..95219e3ee512 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.9.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 02802abf4b7e..b3b883e474ab 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.9.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 f73c8f167eb6..595e485589ce 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.9.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 163d77b9142d..cd8e32b15e6c 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.9.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 afd84e9ee0a8..b896ce75a5fc 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.9.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 05f8cc54883e..b0d01836a910 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.9.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 a51b1bf971ef..e935d51025b0 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.9.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 cbb71017f4a2..d912b23e9f11 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.9.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 bf98d3583480..11696ed051a7 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.9.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 460b031769be..66f2b71dd46e 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.9.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 30d0338d426b..d0f6e3b172d1 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.9.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 309739e44c5a..637722fd0e29 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.9.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 e27329183f4b..4429e8735d66 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.9.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 6db6fc10aeb5..663e299e65be 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.9.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 097620d084be..04363f5f2ef9 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.9.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 79a0abfeff7d..ad9e989997bb 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.9.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 83bfb8ac9b32..7553646a058f 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.9.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 1d66c86190d8..05ed7d836625 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.9.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 4d400048049c..2f025ba54e1f 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.9.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 be1686b371f4..3dc61150e2e8 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.9.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 9cb1cc070a6e..0d69327eee24 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.9.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 eac82a889c0a..d37ca3cb60f6 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.9.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 154bcc3924e0..68040cb5053e 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.9.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 08877a2416be..1ecb4339744c 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.9.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 47fb7f413372..01e37ae36b2d 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.9.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 3186824c8d3c..293b146800a3 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.9.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 240be0a3a4b1..dfc5fbf28579 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.9.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 e2d610e22e95..ee762affe15e 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.9.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 832f57408e20..ea385b5f7ca1 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.9.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 b19a978dcfbb..676ea746b2e0 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.9.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 4e0e3fc307cd..3aef5806cfb8 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.9.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 0560b89b7286..82154bc68411 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.9.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 30535de849ac..5257dbc82d34 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.9.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 f598c58adce8..1ce7276bf703 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.9.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 e7ef10285c35..6729a7686d9d 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.9.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 06ce80efc309..94baf6587d78 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.9.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 e9bd38e2d585..e528907188a0 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.9.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 ec8419143daf..09f03069a13c 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.9.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 85546a01fa88..3b7a94ff6ea4 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.9.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 887721932f6a..161a61f84056 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.9.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 6322f89db071..28e25543b9bf 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.9.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 797e43f4187c..866b1fac2b6b 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.9.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 4c8c23e104e3..b11b3265ace6 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.9.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 188fcc7ef8fb..62a5b4523818 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.9.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 e84844022096..a1c3bd742fba 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.9.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 7bc2190022c4..0bea7c57f611 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.9.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 ad81c50c69d2..4f69a6b857f1 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.9.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/.openapi-generator/FILES b/samples/client/petstore/php/OpenAPIClient-php/.openapi-generator/FILES index 80ecc7a7237f..64737d51568c 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/.openapi-generator/FILES +++ b/samples/client/petstore/php/OpenAPIClient-php/.openapi-generator/FILES @@ -60,6 +60,7 @@ docs/Model/Tag.md docs/Model/TestInlineFreeformAdditionalPropertiesRequest.md docs/Model/User.md git_push.sh +lib/ApiException.php lib/Api/AnotherFakeApi.php lib/Api/DefaultApi.php lib/Api/FakeApi.php @@ -67,7 +68,6 @@ lib/Api/FakeClassnameTags123Api.php lib/Api/PetApi.php lib/Api/StoreApi.php lib/Api/UserApi.php -lib/ApiException.php lib/Configuration.php lib/HeaderSelector.php lib/Model/AdditionalPropertiesClass.php diff --git a/samples/client/petstore/php/OpenAPIClient-php/README.md b/samples/client/petstore/php/OpenAPIClient-php/README.md index d27141340c34..5df0c6d3c414 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 ef6fa331bd85..74bf808f8c6f 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 d603956cfaff..7d6896f1da9a 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 92da9fdf9929..83803cc75a1a 100644 --- a/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeApi.md +++ b/samples/client/petstore/php/OpenAPIClient-php/docs/Api/FakeApi.md @@ -45,7 +45,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. @@ -96,7 +95,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. @@ -148,7 +146,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. @@ -208,7 +205,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. @@ -264,7 +260,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. @@ -320,7 +315,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. @@ -376,7 +370,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. @@ -432,7 +425,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. @@ -486,7 +478,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. @@ -549,7 +540,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. @@ -604,7 +594,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. @@ -659,7 +648,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. @@ -712,7 +700,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. @@ -769,7 +756,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. @@ -830,7 +816,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. @@ -912,7 +897,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. @@ -986,7 +970,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. @@ -1057,7 +1040,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. @@ -1112,7 +1094,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. @@ -1167,7 +1148,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. @@ -1224,7 +1204,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. @@ -1291,7 +1270,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 7519d7924b42..80fd38aca40d 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 527942413c6d..b4696c9cdaf5 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 f704ceffbdf4..adff6401e59f 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 c5ff23c66a92..80a8e5278c4b 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 f671e665594f..6a8ad00213c3 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.9.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 beb8ddb3f7d9..bcd6ef265aa4 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.9.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 c39f19e0fc70..72eb5320ba72 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.9.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 9179715876b3..b29f3e97def2 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.9.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 4e98ad23551b..35ab2ca8ffef 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.9.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 96376e959d9c..3bdb844029a9 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.9.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 845025655d73..75d26103897e 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.9.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 1a220ddfc749..74cc0076785b 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.9.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 1f28c38cb9f0..0fd2ba0368a8 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.9.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 027e82a879b6..9a54167f9243 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.9.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 880ccd6fd6ef..003f4d9f1ec7 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.9.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 a55f7fcfb23d..32ebaaeaaa07 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.9.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 c2978d10f8ca..b5ac7a11a527 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.9.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 8ead3f4dd801..ce032e15419d 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.9.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 8651d4504070..c3fae0955633 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.9.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 96779b9d3a3f..c33f74b2959a 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.9.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 54c82da81140..9f422aa6c3e2 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.9.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 bb1bdb74a89f..9cc0e939c907 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.9.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 09bdd919688f..f4f70ecc09fb 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.9.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 6fe238601e14..a3d74d67bc0f 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.9.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 382e08915318..f748841e21f6 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.9.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 9a1d6e32887a..33fcf41feca4 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.9.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 55ec390ec240..3c98b7959cdb 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.9.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 888ca2252f10..88c467613eb1 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.9.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 3730262b2140..5f05f4f72b02 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.9.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 c4506f9f69fd..f5c85a94ad3d 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.9.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 89b7352ad5fb..f121687c8d7e 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.9.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 90a8899cdd33..1040aae32837 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.9.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 e6df6a3a57bb..a43aa5e4787c 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.9.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 ce4c73e70ce0..5295dbfccb4b 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.9.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 52fde4e9e2be..d2aab3387f96 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.9.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 5bb64be4dc8d..2ec3b1fd9974 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.9.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 e6a08335b4b2..0f61e8fb98c1 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.9.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 85b30813eee0..ffb7a9779070 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.9.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 6e8ae884a3ad..d87acb8d036f 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.9.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 1871004bb1af..5da11995f405 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.9.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 a149d35fa046..a50b5c812a94 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.9.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 9e0a5f80d610..18ea8775522b 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.9.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 14d9d0c3d3f9..e0332b0ae554 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.9.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 d0347000192e..c20b4bc73c6f 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.9.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 ac109106fb26..5070adebadac 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.9.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 cfe246e62409..549e7ef4eaae 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.9.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 f07a64d378d2..207f3e786c06 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.9.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 64771c5f731d..3c84f2cf6718 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.9.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 0d7d15a441c0..b49fd62f4e78 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.9.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 9a7158c9d743..2c2fb7f2a383 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.9.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 f20fad8cba82..1752da44b0d3 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.9.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 1152192d7630..e2613fbec35d 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.9.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 7a0c2068d1b4..8e446012ebf6 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.9.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 e1cc8860f2d0..edefca21dd57 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.9.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 108c3bc36da2..047fa2ab092d 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.9.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 377c18984281..d7bb114f548e 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.9.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 f0cc9980b050..51ac0fb6b4b2 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.9.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 067a938e7718..ba397f7c9f28 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.9.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 6399ca0722e3..a1101f1b3412 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.9.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 91cc2fd14f06..606d1942bfa7 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.9.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 e4c45dabefc0..d6eaf87ad56d 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.9.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 2ac8d21cd47f..2a8566ee36a1 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.9.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 885a55217ca9..c878cbb6636d 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.9.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 7e4322000ac2..c392d3f2b93d 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.9.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 03f89f0bcad9..010a7d396b3b 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.9.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/.openapi-generator/FILES b/samples/client/petstore/php/psr-18/.openapi-generator/FILES index 34aee01b39f6..c3884202a79d 100644 --- a/samples/client/petstore/php/psr-18/.openapi-generator/FILES +++ b/samples/client/petstore/php/psr-18/.openapi-generator/FILES @@ -60,6 +60,7 @@ docs/Model/Tag.md docs/Model/TestInlineFreeformAdditionalPropertiesRequest.md docs/Model/User.md git_push.sh +lib/ApiException.php lib/Api/AnotherFakeApi.php lib/Api/DefaultApi.php lib/Api/FakeApi.php @@ -67,7 +68,6 @@ lib/Api/FakeClassnameTags123Api.php lib/Api/PetApi.php lib/Api/StoreApi.php lib/Api/UserApi.php -lib/ApiException.php lib/Configuration.php lib/DebugPlugin.php lib/HeaderSelector.php diff --git a/samples/client/petstore/php/psr-18/README.md b/samples/client/petstore/php/psr-18/README.md index e06bbb21aef1..a1c6f22576cb 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 42a2243039b7..6979374ef12a 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 b56d4df36e52..13b87aa1000f 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 8b2abf751607..4065fb45e74d 100644 --- a/samples/client/petstore/php/psr-18/docs/Api/FakeApi.md +++ b/samples/client/petstore/php/psr-18/docs/Api/FakeApi.md @@ -45,7 +45,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 @@ -96,7 +95,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 @@ -148,7 +146,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 @@ -208,7 +205,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 @@ -264,7 +260,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 @@ -320,7 +315,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 @@ -376,7 +370,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 @@ -432,7 +425,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 @@ -486,7 +478,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 @@ -549,7 +540,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 @@ -604,7 +594,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 @@ -659,7 +648,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 @@ -712,7 +700,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 @@ -769,7 +756,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 @@ -830,7 +816,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 @@ -912,7 +897,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 @@ -986,7 +970,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 @@ -1054,7 +1037,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 @@ -1109,7 +1091,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 @@ -1164,7 +1145,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 @@ -1221,7 +1201,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 @@ -1288,7 +1267,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 48b2139c35f1..9d9600d11777 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 568f6c4c6e9b..efa41561218f 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 b5036ae1b633..d3198edbf2d8 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 29ff9f51661e..9c89edcc5d54 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 54c36208acae..a4c5d3403df6 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.9.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 9cfc3dd22e75..431b9024ccfd 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.9.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 a868ced9cf54..d60986667699 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.9.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 58953b65e466..d911f00050b2 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.9.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 4bd148dfdc29..697efa1db13a 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.9.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 49b02997d16a..a11dacd3448e 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.9.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 12bff75ef018..174c42b5cdd3 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.9.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 8603ec985af1..506bdf355774 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.9.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 1f28c38cb9f0..0fd2ba0368a8 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.9.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 a9a5b16e2821..ad489e5925cf 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.9.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 027e82a879b6..9a54167f9243 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.9.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 880ccd6fd6ef..003f4d9f1ec7 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.9.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 a55f7fcfb23d..32ebaaeaaa07 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.9.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 c2978d10f8ca..b5ac7a11a527 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.9.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 8ead3f4dd801..ce032e15419d 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.9.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 8651d4504070..c3fae0955633 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.9.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 96779b9d3a3f..c33f74b2959a 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.9.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 54c82da81140..9f422aa6c3e2 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.9.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 bb1bdb74a89f..9cc0e939c907 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.9.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 09bdd919688f..f4f70ecc09fb 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.9.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 6fe238601e14..a3d74d67bc0f 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.9.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 382e08915318..f748841e21f6 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.9.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 9a1d6e32887a..33fcf41feca4 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.9.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 55ec390ec240..3c98b7959cdb 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.9.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 888ca2252f10..88c467613eb1 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.9.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 3730262b2140..5f05f4f72b02 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.9.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 c4506f9f69fd..f5c85a94ad3d 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.9.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 89b7352ad5fb..f121687c8d7e 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.9.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 90a8899cdd33..1040aae32837 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.9.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 e6df6a3a57bb..a43aa5e4787c 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.9.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 ce4c73e70ce0..5295dbfccb4b 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.9.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 52fde4e9e2be..d2aab3387f96 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.9.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 5bb64be4dc8d..2ec3b1fd9974 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.9.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 e6a08335b4b2..0f61e8fb98c1 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.9.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 85b30813eee0..ffb7a9779070 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.9.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 6e8ae884a3ad..d87acb8d036f 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.9.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 1871004bb1af..5da11995f405 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.9.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 a149d35fa046..a50b5c812a94 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.9.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 9e0a5f80d610..18ea8775522b 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.9.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 14d9d0c3d3f9..e0332b0ae554 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.9.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 d0347000192e..c20b4bc73c6f 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.9.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 ac109106fb26..5070adebadac 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.9.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 cfe246e62409..549e7ef4eaae 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.9.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 f07a64d378d2..207f3e786c06 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.9.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 64771c5f731d..3c84f2cf6718 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.9.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 0d7d15a441c0..b49fd62f4e78 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.9.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 9a7158c9d743..2c2fb7f2a383 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.9.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 f20fad8cba82..1752da44b0d3 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.9.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 1152192d7630..e2613fbec35d 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.9.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 7a0c2068d1b4..8e446012ebf6 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.9.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 e1cc8860f2d0..edefca21dd57 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.9.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 108c3bc36da2..047fa2ab092d 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.9.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 377c18984281..d7bb114f548e 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.9.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 f0cc9980b050..51ac0fb6b4b2 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.9.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 067a938e7718..ba397f7c9f28 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.9.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 6399ca0722e3..a1101f1b3412 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.9.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 91cc2fd14f06..606d1942bfa7 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.9.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 e4c45dabefc0..d6eaf87ad56d 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.9.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 2ac8d21cd47f..2a8566ee36a1 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.9.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 885a55217ca9..c878cbb6636d 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.9.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 7e4322000ac2..c392d3f2b93d 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.9.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 03f89f0bcad9..010a7d396b3b 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.9.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 0f7cd366d1aa..d30c5d460435 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 2469d1e291d3..187ae6e5564f 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 70f68d06e295..ba3f9b71f06f 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 ae57281c9757..3458e2821497 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 4e1cdc869f5a..90ed515e2127 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 3c14ac91c4aa..3584c4edba45 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 286ce80cb218..e58a9fc4b90f 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 be28c4fbb5a2..a00ec9a1c896 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 eb5b3f43bcdd..c13e9e4563ec 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 18b6c0f69040..9b3051a9d55f 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 8ee02d169eab..dd2973011624 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 a34377e7976c..7e2575d4135a 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 67168c776607..cf12a085e9fd 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 f92706fd24de..eaf9fec5d4a6 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 3e6ffffc4d30..11573805f866 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 e88b4c0c7b4c..64271d8fef40 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 17778a6b0f2e..c04f9baeaf82 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 143be46c4115..bfaea6f73b43 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 2649c58c0052..7a5c60746fce 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 cd3d076ad971..044240f6f685 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 099e6e47ec84..3f539ca669de 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 fad21de8ae12..2b54c6a1b1e9 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 f564c4385e8f..1f3811a99bc5 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 5cbc12979092..1f65d0cb0fd7 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 d9dbef2348e1..d6e73193058a 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 3a826f6ae70d..faafe0606424 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 915e059d9246..401a2d5dc272 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 a790ce448359..24e4d6f1995a 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 6d8dbfd0ad69..9f2f436f0106 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 5695ceb488e6..33827536e5aa 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 42467415e727..bb9fbfdd9fdd 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 58bc13272477..9bc874f644ce 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 c7d57c85ddd0..c8e69f36d421 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 2eee7ded7598..7cfa65aa7c9e 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 bbcb5307f4b2..37a5e5a0c8b9 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 9ff05587cbd2..a91968fcd309 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 761bfd807320..df2aefc1b8a9 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 540e736c8a5b..2d2fba92c211 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 6658759209be..95957818b78b 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 a3fd55138068..9ffc4b323076 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 03f9386e5f18..f1308265d7a3 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 9c81b44ae772..9a48108fc7a8 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 be1f48a846f9..348c3738a41b 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 80f46c1e0d0d..c45063111fa7 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 38fbfd638aca..1ffa188c051d 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 dfd9de4596ef..2588d07025c8 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 0c77bf999dcb..8b766109f24a 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 13f34d7d167e..78dda076209a 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 bed355e261c3..d3ff74c7545e 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 1f997e7bf8d9..6240cca7111e 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 6a5169191d33..e072868445c3 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 f29ee058b01a..197129df058f 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 c976800c1818..4a12a9dba001 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 1dab27adba2b..dd7c16718597 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 a8f73aa10284..c6a9f11ed437 100644 --- a/samples/client/petstore/ruby-autoload/lib/petstore.rb +++ b/samples/client/petstore/ruby-autoload/lib/petstore.rb @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 e5f37ee6ff54..f2e9ddf44d4a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 e049e6a894d9..15e026b67a1e 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 c8c0882ac0a0..3e5b9dcd52db 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 102551445f46..633cff001abb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 5bfdb421d553..044a67142b44 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 2a00a244a029..d9868c7b26f8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 daed6622862d..1dccd0fde236 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 a8bfe013e5bf..52f6ffb5b1eb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -202,7 +201,6 @@ def download_file(request) 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 b7adfd79c483..e512313fa7ce 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 18cbd5945aea..d90a7e7932b2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module Petstore @@ -151,7 +150,6 @@ class Configuration # 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 5ec71bf2258c..7d891a14e359 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -221,7 +220,5 @@ def _to_hash(value) 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 9fdfce7f14a0..aa4e47739d99 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -239,7 +238,5 @@ def _to_hash(value) 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 770238d34c48..ca27b3818ea4 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -231,7 +230,5 @@ def _to_hash(value) 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 2c3e6d65758c..2f06cb6240bb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ def _to_hash(value) 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 bf722c0ce06c..ca570f0939bc 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 c48fdd719810..a109da621d7b 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 6fb352245f0e..a39d4584db18 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -260,7 +259,5 @@ def _to_hash(value) 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 11cb417e741a..d97548a395e0 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ def _to_hash(value) 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 345fb884baeb..d2cd797cdd5c 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 5d050898db5d..3a4d1224f6a2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -224,7 +223,5 @@ def _to_hash(value) 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 ef2311c5cf99..d3486aa1e17c 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -241,7 +240,5 @@ def _to_hash(value) 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 751b09466774..82bd4ee0c0f2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ def _to_hash(value) 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 256a3ca0eedf..236051da404a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 49d0b73553c5..4afee5640a92 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 a396d75678f6..88e2b14f8ba9 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 735dc37270a1..67358793ae0a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -253,7 +252,5 @@ def _to_hash(value) 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 ac3168e89012..adf64cc2e819 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 d5267057706c..486aaffebe7f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -353,7 +352,5 @@ def _to_hash(value) 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 86e67d64cb31..48b15c2601ea 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 d35323ff8040..cc283e39f127 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 1b87d3de87c0..2afcf92b6fad 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 6e63362f45d4..e05ae5139d73 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 05a8a18a3127..a6693586c132 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 0cb6e75eeb62..e81859ef5bfd 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -604,7 +603,5 @@ def _to_hash(value) 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 91845ec8d1ec..066b97dff266 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 a3efecaec312..470a2d877afd 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 c7dc6f1f4c00..cc30080ac34a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 dac14f49e210..be8287400bc8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -265,7 +264,5 @@ def _to_hash(value) 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 7647c356794e..573308b8a681 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -228,7 +227,5 @@ def _to_hash(value) 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 4f7e9c560836..9028b24269cb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -218,7 +217,5 @@ def _to_hash(value) 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 1173e7bd5cde..36a19138ddb1 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ def _to_hash(value) 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 d9a7f3570ae8..886358e03764 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ def _to_hash(value) 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 767afc0fdc0a..ab98f1bb375a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -329,7 +328,5 @@ def _to_hash(value) 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 6ac822ec467f..116b90af5c5f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 ec18611e9948..d912208729ae 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ def _to_hash(value) 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 bd06415fce6c..8c0dbfdcb513 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -290,7 +289,5 @@ def _to_hash(value) 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 f2d80fbee5f7..cf63bf8e2689 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ def _to_hash(value) 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 7d74d621cc82..8301f7dfe313 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 406917fdca21..93fd9ee83296 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 ec47b69f6fca..c41682f56846 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 d353379571e3..a7a17214405d 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 55f9e952711c..b778afb9836a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ def _to_hash(value) 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 bd61f12e75ed..3e46db3ac9c6 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -257,7 +256,5 @@ def _to_hash(value) 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 2da2df202d5f..7c7e7c1a7f03 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -316,7 +315,5 @@ def _to_hash(value) 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 c959429de308..f364f5fd3e9f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 878d8958caf5..fada97ede5d8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ def build_from_hash(value) 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 ce4df192b85d..b81fc23501a3 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 5c83bdb111f3..623365be51ce 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 debd978796ef..dd7df8503c22 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 1f9db6e45060..f7a33c1a9a64 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -272,7 +271,5 @@ def _to_hash(value) 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 6b69927127d6..1f6f9e3ba038 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby-autoload/petstore.gemspec b/samples/client/petstore/ruby-autoload/petstore.gemspec index ed63376e84ba..ca319a995248 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.9.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 953d8c2b7adc..ea63caba109f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 4e1cdc869f5a..90ed515e2127 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 3c14ac91c4aa..3584c4edba45 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 286ce80cb218..e58a9fc4b90f 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 be28c4fbb5a2..a00ec9a1c896 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 eb5b3f43bcdd..c13e9e4563ec 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 18b6c0f69040..9b3051a9d55f 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 8ee02d169eab..dd2973011624 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 a34377e7976c..7e2575d4135a 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 67168c776607..cf12a085e9fd 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 f92706fd24de..eaf9fec5d4a6 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 3e6ffffc4d30..11573805f866 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 e88b4c0c7b4c..64271d8fef40 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 17778a6b0f2e..c04f9baeaf82 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 143be46c4115..bfaea6f73b43 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 2649c58c0052..7a5c60746fce 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 cd3d076ad971..044240f6f685 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 099e6e47ec84..3f539ca669de 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 fad21de8ae12..2b54c6a1b1e9 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 f564c4385e8f..1f3811a99bc5 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 5cbc12979092..1f65d0cb0fd7 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 d9dbef2348e1..d6e73193058a 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 3a826f6ae70d..faafe0606424 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 915e059d9246..401a2d5dc272 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 a790ce448359..24e4d6f1995a 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 6d8dbfd0ad69..9f2f436f0106 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 5695ceb488e6..33827536e5aa 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 42467415e727..bb9fbfdd9fdd 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 58bc13272477..9bc874f644ce 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 c7d57c85ddd0..c8e69f36d421 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 2eee7ded7598..7cfa65aa7c9e 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 bbcb5307f4b2..37a5e5a0c8b9 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 9ff05587cbd2..a91968fcd309 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 761bfd807320..df2aefc1b8a9 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 540e736c8a5b..2d2fba92c211 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 6658759209be..95957818b78b 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 a3fd55138068..9ffc4b323076 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 03f9386e5f18..f1308265d7a3 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 9c81b44ae772..9a48108fc7a8 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 be1f48a846f9..348c3738a41b 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 80f46c1e0d0d..c45063111fa7 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 38fbfd638aca..1ffa188c051d 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 dfd9de4596ef..2588d07025c8 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 0c77bf999dcb..8b766109f24a 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 13f34d7d167e..78dda076209a 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 bed355e261c3..d3ff74c7545e 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 1f997e7bf8d9..6240cca7111e 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 6a5169191d33..e072868445c3 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 f29ee058b01a..197129df058f 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 c976800c1818..4a12a9dba001 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 1dab27adba2b..dd7c16718597 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 00dc54c647af..e967ef5af0a6 100644 --- a/samples/client/petstore/ruby-faraday/lib/petstore.rb +++ b/samples/client/petstore/ruby-faraday/lib/petstore.rb @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 e5f37ee6ff54..f2e9ddf44d4a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 e049e6a894d9..15e026b67a1e 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 c8c0882ac0a0..3e5b9dcd52db 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 102551445f46..633cff001abb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 6043a8b9d930..d77fc3a770fc 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 ab2149d2a5ab..cfa0ea706e44 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 c24853af3025..4636fb5611b2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 df60b43b106b..9432d46c2dce 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -245,7 +244,6 @@ def basic_auth(conn) 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 b7adfd79c483..e512313fa7ce 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 b11ac45fe087..2292ba1e480a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module Petstore @@ -150,7 +149,6 @@ class Configuration # 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 5ec71bf2258c..7d891a14e359 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -221,7 +220,5 @@ def _to_hash(value) 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 9fdfce7f14a0..aa4e47739d99 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -239,7 +238,5 @@ def _to_hash(value) 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 770238d34c48..ca27b3818ea4 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -231,7 +230,5 @@ def _to_hash(value) 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 2c3e6d65758c..2f06cb6240bb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ def _to_hash(value) 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 bf722c0ce06c..ca570f0939bc 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 c48fdd719810..a109da621d7b 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 6fb352245f0e..a39d4584db18 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -260,7 +259,5 @@ def _to_hash(value) 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 11cb417e741a..d97548a395e0 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ def _to_hash(value) 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 345fb884baeb..d2cd797cdd5c 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 5d050898db5d..3a4d1224f6a2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -224,7 +223,5 @@ def _to_hash(value) 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 ef2311c5cf99..d3486aa1e17c 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -241,7 +240,5 @@ def _to_hash(value) 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 751b09466774..82bd4ee0c0f2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ def _to_hash(value) 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 256a3ca0eedf..236051da404a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 49d0b73553c5..4afee5640a92 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 a396d75678f6..88e2b14f8ba9 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 735dc37270a1..67358793ae0a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -253,7 +252,5 @@ def _to_hash(value) 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 ac3168e89012..adf64cc2e819 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 d5267057706c..486aaffebe7f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -353,7 +352,5 @@ def _to_hash(value) 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 86e67d64cb31..48b15c2601ea 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 d35323ff8040..cc283e39f127 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 1b87d3de87c0..2afcf92b6fad 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 6e63362f45d4..e05ae5139d73 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 05a8a18a3127..a6693586c132 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 0cb6e75eeb62..e81859ef5bfd 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -604,7 +603,5 @@ def _to_hash(value) 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 91845ec8d1ec..066b97dff266 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 a3efecaec312..470a2d877afd 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 c7dc6f1f4c00..cc30080ac34a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 dac14f49e210..be8287400bc8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -265,7 +264,5 @@ def _to_hash(value) 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 7647c356794e..573308b8a681 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -228,7 +227,5 @@ def _to_hash(value) 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 4f7e9c560836..9028b24269cb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -218,7 +217,5 @@ def _to_hash(value) 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 1173e7bd5cde..36a19138ddb1 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ def _to_hash(value) 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 d9a7f3570ae8..886358e03764 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ def _to_hash(value) 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 767afc0fdc0a..ab98f1bb375a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -329,7 +328,5 @@ def _to_hash(value) 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 6ac822ec467f..116b90af5c5f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 ec18611e9948..d912208729ae 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ def _to_hash(value) 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 bd06415fce6c..8c0dbfdcb513 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -290,7 +289,5 @@ def _to_hash(value) 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 f2d80fbee5f7..cf63bf8e2689 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ def _to_hash(value) 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 7d74d621cc82..8301f7dfe313 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 406917fdca21..93fd9ee83296 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 ec47b69f6fca..c41682f56846 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 d353379571e3..a7a17214405d 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 55f9e952711c..b778afb9836a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ def _to_hash(value) 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 bd61f12e75ed..3e46db3ac9c6 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -257,7 +256,5 @@ def _to_hash(value) 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 2da2df202d5f..7c7e7c1a7f03 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -316,7 +315,5 @@ def _to_hash(value) 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 c959429de308..f364f5fd3e9f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 878d8958caf5..fada97ede5d8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ def build_from_hash(value) 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 ce4df192b85d..b81fc23501a3 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 5c83bdb111f3..623365be51ce 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 debd978796ef..dd7df8503c22 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 1f9db6e45060..f7a33c1a9a64 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -272,7 +271,5 @@ def _to_hash(value) 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 6b69927127d6..1f6f9e3ba038 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby-faraday/petstore.gemspec b/samples/client/petstore/ruby-faraday/petstore.gemspec index f859eae0f2dc..e8fcfbd1b761 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.9.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 953d8c2b7adc..ea63caba109f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 4e1cdc869f5a..90ed515e2127 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 3c14ac91c4aa..3584c4edba45 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 286ce80cb218..e58a9fc4b90f 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 be28c4fbb5a2..a00ec9a1c896 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 eb5b3f43bcdd..c13e9e4563ec 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 18b6c0f69040..9b3051a9d55f 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 8ee02d169eab..dd2973011624 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 a34377e7976c..7e2575d4135a 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 67168c776607..cf12a085e9fd 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 f92706fd24de..eaf9fec5d4a6 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 e88b4c0c7b4c..64271d8fef40 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 17778a6b0f2e..c04f9baeaf82 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 6fa7084b8a40..a693e09b1785 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 143be46c4115..bfaea6f73b43 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 2649c58c0052..7a5c60746fce 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 cd3d076ad971..044240f6f685 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 099e6e47ec84..3f539ca669de 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 fad21de8ae12..2b54c6a1b1e9 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 f564c4385e8f..1f3811a99bc5 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 5cbc12979092..1f65d0cb0fd7 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 d9dbef2348e1..d6e73193058a 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 3a826f6ae70d..faafe0606424 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 915e059d9246..401a2d5dc272 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 a790ce448359..24e4d6f1995a 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 6d8dbfd0ad69..9f2f436f0106 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 5695ceb488e6..33827536e5aa 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 42467415e727..bb9fbfdd9fdd 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 37b9252a2c82..aef3f618e327 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 399834f63d30..7e900813d5c3 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 bd21a482f1a6..11ce471c8025 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 d68495030449..6d7462e72ebe 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 58bc13272477..9bc874f644ce 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 c7d57c85ddd0..c8e69f36d421 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 2eee7ded7598..7cfa65aa7c9e 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 bbcb5307f4b2..37a5e5a0c8b9 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 9ff05587cbd2..a91968fcd309 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 761bfd807320..df2aefc1b8a9 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 540e736c8a5b..2d2fba92c211 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 6658759209be..95957818b78b 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 a3fd55138068..9ffc4b323076 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 03f9386e5f18..f1308265d7a3 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 9c81b44ae772..9a48108fc7a8 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 be1f48a846f9..348c3738a41b 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 80f46c1e0d0d..c45063111fa7 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 38fbfd638aca..1ffa188c051d 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 dfd9de4596ef..2588d07025c8 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 13f34d7d167e..78dda076209a 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 91cd04c8687e..adcab8865e0b 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 bed355e261c3..d3ff74c7545e 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 1f997e7bf8d9..6240cca7111e 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 6a5169191d33..e072868445c3 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 f29ee058b01a..197129df058f 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 c976800c1818..4a12a9dba001 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 1dab27adba2b..dd7c16718597 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 6cee971d867f..917a32cacc6e 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 24848fc87181..a7a9476e008c 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 f92259a2242a..ba1a56822d2c 100644 --- a/samples/client/petstore/ruby-httpx/lib/petstore.rb +++ b/samples/client/petstore/ruby-httpx/lib/petstore.rb @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 e5f37ee6ff54..f2e9ddf44d4a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 e049e6a894d9..15e026b67a1e 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 5c0f31339c7b..50b441d25751 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 102551445f46..633cff001abb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 6043a8b9d930..d77fc3a770fc 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 ab2149d2a5ab..cfa0ea706e44 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 c24853af3025..4636fb5611b2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 9cd61d065650..fcbfac7f5c52 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -178,7 +177,6 @@ def session @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 b7adfd79c483..e512313fa7ce 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 b4e7c5845372..8f932769e17b 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module Petstore @@ -121,7 +120,6 @@ class Configuration # @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 5ec71bf2258c..7d891a14e359 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -221,7 +220,5 @@ def _to_hash(value) 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 9fdfce7f14a0..aa4e47739d99 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -239,7 +238,5 @@ def _to_hash(value) 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 770238d34c48..ca27b3818ea4 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -231,7 +230,5 @@ def _to_hash(value) 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 2c3e6d65758c..2f06cb6240bb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ def _to_hash(value) 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 bf722c0ce06c..ca570f0939bc 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 c48fdd719810..a109da621d7b 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 6fb352245f0e..a39d4584db18 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -260,7 +259,5 @@ def _to_hash(value) 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 11cb417e741a..d97548a395e0 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ def _to_hash(value) 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 345fb884baeb..d2cd797cdd5c 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 5d050898db5d..3a4d1224f6a2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -224,7 +223,5 @@ def _to_hash(value) 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 751b09466774..82bd4ee0c0f2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ def _to_hash(value) 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 256a3ca0eedf..236051da404a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 be69b2123c8f..cfc0bdbcc9c9 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ def build_from_hash(value) 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 49d0b73553c5..4afee5640a92 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 a396d75678f6..88e2b14f8ba9 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 735dc37270a1..67358793ae0a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -253,7 +252,5 @@ def _to_hash(value) 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 ac3168e89012..adf64cc2e819 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 d5267057706c..486aaffebe7f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -353,7 +352,5 @@ def _to_hash(value) 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 86e67d64cb31..48b15c2601ea 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 d35323ff8040..cc283e39f127 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 1b87d3de87c0..2afcf92b6fad 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 6e63362f45d4..e05ae5139d73 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 05a8a18a3127..a6693586c132 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 0cb6e75eeb62..e81859ef5bfd 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -604,7 +603,5 @@ def _to_hash(value) 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 91845ec8d1ec..066b97dff266 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 a3efecaec312..470a2d877afd 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 c7dc6f1f4c00..cc30080ac34a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 4685a98fa6ce..24e6bb4e4384 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -100,5 +99,4 @@ def find_and_cast_into_type(klass, data) 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 6118e6c334b4..f90230808643 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -39,5 +38,4 @@ def build(data) 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 8fc2166ec812..7592d7cd9bd8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -100,5 +99,4 @@ def find_and_cast_into_type(klass, data) 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 60f102bb7c0b..ffbb32033d4d 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -101,5 +100,4 @@ def find_and_cast_into_type(klass, data) 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 dac14f49e210..be8287400bc8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -265,7 +264,5 @@ def _to_hash(value) 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 7647c356794e..573308b8a681 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -228,7 +227,5 @@ def _to_hash(value) 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 4f7e9c560836..9028b24269cb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -218,7 +217,5 @@ def _to_hash(value) 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 1173e7bd5cde..36a19138ddb1 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ def _to_hash(value) 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 d9a7f3570ae8..886358e03764 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ def _to_hash(value) 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 767afc0fdc0a..ab98f1bb375a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -329,7 +328,5 @@ def _to_hash(value) 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 6ac822ec467f..116b90af5c5f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 ec18611e9948..d912208729ae 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ def _to_hash(value) 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 bd06415fce6c..8c0dbfdcb513 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -290,7 +289,5 @@ def _to_hash(value) 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 f2d80fbee5f7..cf63bf8e2689 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ def _to_hash(value) 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 7d74d621cc82..8301f7dfe313 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 406917fdca21..93fd9ee83296 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 ec47b69f6fca..c41682f56846 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 d353379571e3..a7a17214405d 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 55f9e952711c..b778afb9836a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ def _to_hash(value) 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 2da2df202d5f..7c7e7c1a7f03 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -316,7 +315,5 @@ def _to_hash(value) 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 57f27cc92508..c3d29482a90f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -235,7 +234,5 @@ def _to_hash(value) 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 c959429de308..f364f5fd3e9f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 878d8958caf5..fada97ede5d8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ def build_from_hash(value) 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 ce4df192b85d..b81fc23501a3 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 5c83bdb111f3..623365be51ce 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 debd978796ef..dd7df8503c22 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 1f9db6e45060..f7a33c1a9a64 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -272,7 +271,5 @@ def _to_hash(value) 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 95433d1c2660..c426bd589ee0 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -233,7 +232,5 @@ def _to_hash(value) 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 9c6b13b970a2..6daffa2a4c17 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -258,7 +257,5 @@ def _to_hash(value) 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 6b69927127d6..1f6f9e3ba038 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby-httpx/petstore.gemspec b/samples/client/petstore/ruby-httpx/petstore.gemspec index 8a231abde794..373c9922c839 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.9.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 953d8c2b7adc..ea63caba109f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 4e1cdc869f5a..90ed515e2127 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 3c14ac91c4aa..3584c4edba45 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 286ce80cb218..e58a9fc4b90f 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 be28c4fbb5a2..a00ec9a1c896 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 eb5b3f43bcdd..c13e9e4563ec 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 18b6c0f69040..9b3051a9d55f 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 8ee02d169eab..dd2973011624 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 a34377e7976c..7e2575d4135a 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 67168c776607..cf12a085e9fd 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 f92706fd24de..eaf9fec5d4a6 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 e88b4c0c7b4c..64271d8fef40 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 17778a6b0f2e..c04f9baeaf82 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 6fa7084b8a40..a693e09b1785 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 143be46c4115..bfaea6f73b43 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 2649c58c0052..7a5c60746fce 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 cd3d076ad971..044240f6f685 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 099e6e47ec84..3f539ca669de 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 fad21de8ae12..2b54c6a1b1e9 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 f564c4385e8f..1f3811a99bc5 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 5cbc12979092..1f65d0cb0fd7 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 d9dbef2348e1..d6e73193058a 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 3a826f6ae70d..faafe0606424 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 915e059d9246..401a2d5dc272 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 a790ce448359..24e4d6f1995a 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 6d8dbfd0ad69..9f2f436f0106 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 5695ceb488e6..33827536e5aa 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 42467415e727..bb9fbfdd9fdd 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 37b9252a2c82..aef3f618e327 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 399834f63d30..7e900813d5c3 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 bd21a482f1a6..11ce471c8025 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 d68495030449..6d7462e72ebe 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 58bc13272477..9bc874f644ce 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 c7d57c85ddd0..c8e69f36d421 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 2eee7ded7598..7cfa65aa7c9e 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 bbcb5307f4b2..37a5e5a0c8b9 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 9ff05587cbd2..a91968fcd309 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 761bfd807320..df2aefc1b8a9 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 540e736c8a5b..2d2fba92c211 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 6658759209be..95957818b78b 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 a3fd55138068..9ffc4b323076 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 03f9386e5f18..f1308265d7a3 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 9c81b44ae772..9a48108fc7a8 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 be1f48a846f9..348c3738a41b 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 80f46c1e0d0d..c45063111fa7 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 38fbfd638aca..1ffa188c051d 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 dfd9de4596ef..2588d07025c8 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 13f34d7d167e..78dda076209a 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 ce425ac82032..a9db37351223 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 bed355e261c3..d3ff74c7545e 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 1f997e7bf8d9..6240cca7111e 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 6a5169191d33..e072868445c3 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 f29ee058b01a..197129df058f 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 c976800c1818..4a12a9dba001 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 1dab27adba2b..dd7c16718597 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 6cee971d867f..917a32cacc6e 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 24848fc87181..a7a9476e008c 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 f92259a2242a..ba1a56822d2c 100644 --- a/samples/client/petstore/ruby/lib/petstore.rb +++ b/samples/client/petstore/ruby/lib/petstore.rb @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 e5f37ee6ff54..f2e9ddf44d4a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 e049e6a894d9..15e026b67a1e 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 313fa8d3bc37..53c6fd530f94 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 102551445f46..633cff001abb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 5bfdb421d553..044a67142b44 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 2a00a244a029..d9868c7b26f8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 daed6622862d..1dccd0fde236 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 a8bfe013e5bf..52f6ffb5b1eb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -202,7 +201,6 @@ def download_file(request) 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 b7adfd79c483..e512313fa7ce 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 b3c414100e2c..7f5c9a608c9f 100644 --- a/samples/client/petstore/ruby/lib/petstore/configuration.rb +++ b/samples/client/petstore/ruby/lib/petstore/configuration.rb @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module Petstore @@ -151,7 +150,6 @@ class Configuration # 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 5ec71bf2258c..7d891a14e359 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -221,7 +220,5 @@ def _to_hash(value) 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 9fdfce7f14a0..aa4e47739d99 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -239,7 +238,5 @@ def _to_hash(value) 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 770238d34c48..ca27b3818ea4 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -231,7 +230,5 @@ def _to_hash(value) 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 2c3e6d65758c..2f06cb6240bb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ def _to_hash(value) 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 bf722c0ce06c..ca570f0939bc 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 c48fdd719810..a109da621d7b 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 6fb352245f0e..a39d4584db18 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -260,7 +259,5 @@ def _to_hash(value) 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 11cb417e741a..d97548a395e0 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -254,7 +253,5 @@ def _to_hash(value) 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 345fb884baeb..d2cd797cdd5c 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 5d050898db5d..3a4d1224f6a2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -224,7 +223,5 @@ def _to_hash(value) 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 751b09466774..82bd4ee0c0f2 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ def _to_hash(value) 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 256a3ca0eedf..236051da404a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 be69b2123c8f..cfc0bdbcc9c9 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ def build_from_hash(value) 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 49d0b73553c5..4afee5640a92 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 a396d75678f6..88e2b14f8ba9 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 735dc37270a1..67358793ae0a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -253,7 +252,5 @@ def _to_hash(value) 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 ac3168e89012..adf64cc2e819 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 d5267057706c..486aaffebe7f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -353,7 +352,5 @@ def _to_hash(value) 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 86e67d64cb31..48b15c2601ea 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 d35323ff8040..cc283e39f127 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 1b87d3de87c0..2afcf92b6fad 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -219,7 +218,5 @@ def _to_hash(value) 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 6e63362f45d4..e05ae5139d73 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 05a8a18a3127..a6693586c132 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 0cb6e75eeb62..e81859ef5bfd 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -604,7 +603,5 @@ def _to_hash(value) 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 91845ec8d1ec..066b97dff266 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 a3efecaec312..470a2d877afd 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -210,7 +209,5 @@ def _to_hash(value) 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 c7dc6f1f4c00..cc30080ac34a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 4685a98fa6ce..24e6bb4e4384 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -100,5 +99,4 @@ def find_and_cast_into_type(klass, data) 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 6118e6c334b4..f90230808643 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -39,5 +38,4 @@ def build(data) 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 8fc2166ec812..7592d7cd9bd8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -100,5 +99,4 @@ def find_and_cast_into_type(klass, data) 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 60f102bb7c0b..ffbb32033d4d 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -101,5 +100,4 @@ def find_and_cast_into_type(klass, data) 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 dac14f49e210..be8287400bc8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -265,7 +264,5 @@ def _to_hash(value) 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 7647c356794e..573308b8a681 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -228,7 +227,5 @@ def _to_hash(value) 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 4f7e9c560836..9028b24269cb 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -218,7 +217,5 @@ def _to_hash(value) 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 1173e7bd5cde..36a19138ddb1 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -209,7 +208,5 @@ def _to_hash(value) 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 d9a7f3570ae8..886358e03764 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -243,7 +242,5 @@ def _to_hash(value) 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 767afc0fdc0a..ab98f1bb375a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -329,7 +328,5 @@ def _to_hash(value) 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 6ac822ec467f..116b90af5c5f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 ec18611e9948..d912208729ae 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ def _to_hash(value) 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 bd06415fce6c..8c0dbfdcb513 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -290,7 +289,5 @@ def _to_hash(value) 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 f2d80fbee5f7..cf63bf8e2689 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -226,7 +225,5 @@ def _to_hash(value) 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 3ac37539947b..5a9e608821b5 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 6a7c978e4c10..f42216cb369c 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 ec47b69f6fca..c41682f56846 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 d353379571e3..a7a17214405d 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -37,5 +36,4 @@ def build_from_hash(value) 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 55f9e952711c..b778afb9836a 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -237,7 +236,5 @@ def _to_hash(value) 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 2da2df202d5f..7c7e7c1a7f03 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -316,7 +315,5 @@ def _to_hash(value) 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 481ec100e7d9..7d66548762bd 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -235,7 +234,5 @@ def _to_hash(value) 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 c959429de308..f364f5fd3e9f 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 878d8958caf5..fada97ede5d8 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -36,5 +35,4 @@ def build_from_hash(value) 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 ce4df192b85d..b81fc23501a3 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 5c83bdb111f3..623365be51ce 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -217,7 +216,5 @@ def _to_hash(value) 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 debd978796ef..dd7df8503c22 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -208,7 +207,5 @@ def _to_hash(value) 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 1f9db6e45060..f7a33c1a9a64 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -272,7 +271,5 @@ def _to_hash(value) 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 95433d1c2660..c426bd589ee0 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -233,7 +232,5 @@ def _to_hash(value) 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 9c6b13b970a2..6daffa2a4c17 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 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end require 'date' @@ -258,7 +257,5 @@ def _to_hash(value) 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 6b69927127d6..1f6f9e3ba038 100644 --- a/samples/client/petstore/ruby/lib/petstore/version.rb +++ b/samples/client/petstore/ruby/lib/petstore/version.rb @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.0-SNAPSHOT - =end module Petstore diff --git a/samples/client/petstore/ruby/petstore.gemspec b/samples/client/petstore/ruby/petstore.gemspec index ed63376e84ba..ca319a995248 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.9.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 953d8c2b7adc..ea63caba109f 100644 --- a/samples/client/petstore/ruby/spec/spec_helper.rb +++ b/samples/client/petstore/ruby/spec/spec_helper.rb @@ -7,7 +7,6 @@ Generated by: https://openapi-generator.tech Generator version: 7.9.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 bd174989f6f0..d6422f89682f 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 6f5421307d51..c941d96b08fe 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 2b9b49297531..c91a2ddb52c2 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 2c65c5440df0..6bc0acf496c3 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 ae6756ef3935..072700198ac8 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 44bea4103d0d..bacb4bf36eae 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-pekko/docs/ApiResponse.md b/samples/client/petstore/scala-pekko/docs/ApiResponse.md index bd174989f6f0..d6422f89682f 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 6f5421307d51..c941d96b08fe 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 2b9b49297531..c91a2ddb52c2 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 2c65c5440df0..6bc0acf496c3 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 ae6756ef3935..072700198ac8 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 44bea4103d0d..bacb4bf36eae 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-auth/src/main/java/org/openapitools/api/SomeApi.java b/samples/client/petstore/spring-cloud-auth/src/main/java/org/openapitools/api/SomeApi.java index 0b646db8c30b..b2755831e0a7 100644 --- a/samples/client/petstore/spring-cloud-auth/src/main/java/org/openapitools/api/SomeApi.java +++ b/samples/client/petstore/spring-cloud-auth/src/main/java/org/openapitools/api/SomeApi.java @@ -20,8 +20,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated public interface SomeApi { /** diff --git a/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/api/DefaultApi.java b/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/api/DefaultApi.java index 4b7b98251d4b..eef9c43b3a42 100644 --- a/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/api/DefaultApi.java +++ b/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/api/DefaultApi.java @@ -24,8 +24,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "Default", description = "the Default API") public interface DefaultApi { 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 d58c3567fdbf..a178f127f317 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,9 +22,7 @@ /** * Pet */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pet { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pet { private String atType = "Pet"; @@ -60,8 +58,7 @@ public Pet atType(String atType) { * Get atType * @return atType */ - @NotNull - @ApiModelProperty(required = true, value = "") + @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty("@type") public String getAtType() { return atType; @@ -80,8 +77,7 @@ public Pet age(Integer age) { * Get age * @return age */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("age") public Integer getAge() { return age; @@ -100,8 +96,7 @@ public Pet happy(Boolean happy) { * Get happy * @return happy */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("happy") public Boolean getHappy() { return happy; @@ -120,8 +115,7 @@ public Pet price(BigDecimal price) { * Get price * @return price */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("price") public BigDecimal getPrice() { return price; @@ -140,8 +134,7 @@ public Pet lastFeed(OffsetDateTime lastFeed) { * Get lastFeed * @return lastFeed */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("lastFeed") public OffsetDateTime getLastFeed() { return lastFeed; @@ -160,8 +153,7 @@ public Pet dateOfBirth(LocalDate dateOfBirth) { * Get dateOfBirth * @return dateOfBirth */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("dateOfBirth") public LocalDate getDateOfBirth() { return dateOfBirth; @@ -170,7 +162,6 @@ public LocalDate getDateOfBirth() { 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/api/PetApi.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/PetApi.java index c1d2425f98cc..8b387d3a1a86 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/PetApi.java @@ -33,8 +33,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Tag(name = "pet", description = "Everything about your Pets") public interface PetApi { diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/StoreApi.java index da7467f0f0b4..467d5eeef29d 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/StoreApi.java @@ -33,8 +33,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Tag(name = "store", description = "Access to Petstore orders") public interface StoreApi { diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/UserApi.java index 39d77371e20f..b50f2cdaa011 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/api/UserApi.java @@ -33,8 +33,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Tag(name = "user", description = "Operations about user") public interface UserApi { 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 404ff8514e68..a9646892363b 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,10 +17,8 @@ /** * 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.9.0-SNAPSHOT") -public class Category { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Category { private Long id; @@ -35,8 +33,7 @@ public Category id(Long id) { * 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 +52,7 @@ public Category name(String name) { * 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 +61,6 @@ public String getName() { 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 0446e2562ee0..442c12bd0a83 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,11 +18,9 @@ /** * 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.9.0-SNAPSHOT") -public class ModelApiResponse { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ModelApiResponse { private Integer code; @@ -39,8 +37,7 @@ public ModelApiResponse code(Integer code) { * 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 +56,7 @@ public ModelApiResponse type(String type) { * 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 +75,7 @@ public ModelApiResponse message(String message) { * 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 +84,6 @@ public String getMessage() { 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 40c158a67053..e9932a84c804 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,11 +21,9 @@ * 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.9.0-SNAPSHOT") -public class Order { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Order { private Long id; @@ -72,7 +70,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -86,8 +83,7 @@ public Order id(Long id) { * 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 +102,7 @@ public Order petId(Long petId) { * 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 +121,7 @@ public Order quantity(Integer quantity) { * 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 +140,7 @@ public Order shipDate(OffsetDateTime shipDate) { * 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 +159,7 @@ public Order status(StatusEnum status) { * 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 +178,7 @@ public Order complete(Boolean complete) { * 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 +187,6 @@ public Boolean getComplete() { 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 e6b262462910..620010f7aa55 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,10 +23,8 @@ /** * 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.9.0-SNAPSHOT") -public class Pet { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pet { private Long id; @@ -77,7 +75,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; public Pet() { @@ -101,8 +98,7 @@ public Pet id(Long id) { * 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 +117,7 @@ public Pet category(Category category) { * 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 +136,7 @@ public Pet name(String name) { * 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 +164,7 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) { * @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 +196,7 @@ public Pet addTagsItem(Tag tagsItem) { * 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 +215,7 @@ public Pet status(StatusEnum status) { * 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 +224,6 @@ public StatusEnum getStatus() { 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 f1a466ed802e..c61eb6a4d096 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,10 +17,8 @@ /** * 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.9.0-SNAPSHOT") -public class Tag { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Tag { private Long id; @@ -35,8 +33,7 @@ public Tag id(Long id) { * 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 +52,7 @@ public Tag name(String name) { * 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 +61,6 @@ public String getName() { 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 916cc3d937f9..0c4c0a590e1f 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,10 +17,8 @@ /** * 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.9.0-SNAPSHOT") -public class User { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class User { private Long id; @@ -47,8 +45,7 @@ public User id(Long id) { * 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 +64,7 @@ public User username(String username) { * 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 +83,7 @@ public User firstName(String firstName) { * 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 +102,7 @@ public User lastName(String lastName) { * 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 +121,7 @@ public User email(String email) { * 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 +140,7 @@ public User password(String password) { * 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 +159,7 @@ public User phone(String phone) { * 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 +178,7 @@ public User userStatus(Integer userStatus) { * 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 +187,6 @@ public Integer getUserStatus() { 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/api/PetApi.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/PetApi.java index 7d328943b754..7adc2bc9aa30 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/PetApi.java @@ -23,8 +23,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "pet", description = "Everything about your Pets") public interface PetApi { diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/StoreApi.java index c2d954a74383..17b7b0b6783c 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/StoreApi.java @@ -23,8 +23,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "store", description = "Access to Petstore orders") public interface StoreApi { diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/UserApi.java index c6eeed632646..292163411026 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/api/UserApi.java @@ -23,8 +23,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "user", description = "Operations about user") public interface UserApi { 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 c111d7098b6c..30070ca31fca 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,10 +18,8 @@ /** * A category for a pet */ - @ApiModel(description = "A category for a pet") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Category { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Category { private Long id; @@ -36,8 +34,7 @@ public Category id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +53,7 @@ public Category name(String name) { * 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 +62,6 @@ public String getName() { 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 26bff480bd2e..f56648941167 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,11 +19,9 @@ /** * 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.9.0-SNAPSHOT") -public class ModelApiResponse { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ModelApiResponse { private Integer code; @@ -40,8 +38,7 @@ public ModelApiResponse code(Integer code) { * Get code * @return code */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("code") public Integer getCode() { return code; @@ -60,8 +57,7 @@ public ModelApiResponse type(String type) { * Get type * @return type */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("type") public String getType() { return type; @@ -80,8 +76,7 @@ public ModelApiResponse message(String message) { * Get message * @return message */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("message") public String getMessage() { return message; @@ -90,7 +85,6 @@ public String getMessage() { 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 7f2afea000ca..3a4c55b1c69a 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,10 +21,8 @@ /** * 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.9.0-SNAPSHOT") -public class Order { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Order { private Long id; @@ -71,7 +69,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -85,8 +82,7 @@ public Order id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -105,8 +101,7 @@ public Order petId(Long petId) { * Get petId * @return petId */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("petId") public Long getPetId() { return petId; @@ -125,8 +120,7 @@ public Order quantity(Integer quantity) { * Get quantity * @return quantity */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("quantity") public Integer getQuantity() { return quantity; @@ -145,8 +139,7 @@ public Order shipDate(OffsetDateTime shipDate) { * Get shipDate * @return shipDate */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("shipDate") public OffsetDateTime getShipDate() { return shipDate; @@ -165,8 +158,7 @@ public Order status(StatusEnum status) { * Order Status * @return status */ - - @ApiModelProperty(value = "Order Status") + @ApiModelProperty(value = "Order Status") @JsonProperty("status") public StatusEnum getStatus() { return status; @@ -185,8 +177,7 @@ public Order complete(Boolean complete) { * Get complete * @return complete */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("complete") public Boolean getComplete() { return complete; @@ -195,7 +186,6 @@ public Boolean getComplete() { 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 9f754f06e053..28eaa02d7bfd 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,10 +24,8 @@ /** * 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.9.0-SNAPSHOT") -public class Pet { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pet { private Long id; @@ -77,7 +75,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - @Deprecated private StatusEnum status; @@ -102,8 +99,7 @@ public Pet id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -122,8 +118,7 @@ public Pet category(Category category) { * Get category * @return category */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("category") public Category getCategory() { return category; @@ -142,8 +137,7 @@ public Pet name(String name) { * 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 +164,7 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) { * Get photoUrls * @return photoUrls */ - @NotNull - @ApiModelProperty(required = true, value = "") + @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty("photoUrls") public List getPhotoUrls() { return photoUrls; @@ -198,8 +191,7 @@ public Pet addTagsItem(Tag tagsItem) { * Get tags * @return tags */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("tags") public List<@Valid Tag> getTags() { return tags; @@ -219,8 +211,7 @@ public Pet status(StatusEnum status) { * @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 +225,6 @@ public StatusEnum getStatus() { 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 ad381537546e..1bb0eed5db15 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,10 +18,8 @@ /** * A tag for a pet */ - @ApiModel(description = "A tag for a pet") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Tag { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Tag { private Long id; @@ -36,8 +34,7 @@ public Tag id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +53,7 @@ public Tag name(String name) { * Get name * @return name */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +62,6 @@ public String getName() { 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 e3db6d80260e..81535888c899 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,10 +18,8 @@ /** * 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.9.0-SNAPSHOT") -public class User { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class User { private Long id; @@ -48,8 +46,7 @@ public User id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -68,8 +65,7 @@ public User username(String username) { * Get username * @return username */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("username") public String getUsername() { return username; @@ -88,8 +84,7 @@ public User firstName(String firstName) { * Get firstName * @return firstName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("firstName") public String getFirstName() { return firstName; @@ -108,8 +103,7 @@ public User lastName(String lastName) { * Get lastName * @return lastName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("lastName") public String getLastName() { return lastName; @@ -128,8 +122,7 @@ public User email(String email) { * Get email * @return email */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("email") public String getEmail() { return email; @@ -148,8 +141,7 @@ public User password(String password) { * Get password * @return password */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("password") public String getPassword() { return password; @@ -168,8 +160,7 @@ public User phone(String phone) { * Get phone * @return phone */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("phone") public String getPhone() { return phone; @@ -188,8 +179,7 @@ public User userStatus(Integer userStatus) { * User Status * @return userStatus */ - - @ApiModelProperty(value = "User Status") + @ApiModelProperty(value = "User Status") @JsonProperty("userStatus") public Integer getUserStatus() { return userStatus; @@ -198,7 +188,6 @@ public Integer getUserStatus() { 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/api/PetController.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/PetController.java index 73893a16b2d9..c685797abc97 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/PetController.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/PetController.java @@ -25,8 +25,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "pet tag", description = "the pet tag API") public interface PetController { diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/StoreController.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/StoreController.java index 030f51750e01..6dcf34fbd9f9 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/StoreController.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/StoreController.java @@ -23,8 +23,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "store tag", description = "the store tag API") public interface StoreController { diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/UserController.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/UserController.java index 31b8c6d0c504..3e1794d9be82 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/UserController.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/api/UserController.java @@ -23,8 +23,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "user tag", description = "the user tag API") public interface UserController { 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 0f0f42d1c102..296c2c703849 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,10 +18,8 @@ /** * A category for a pet */ - @ApiModel(description = "A category for a pet") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Category { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Category { private Long id; @@ -36,8 +34,7 @@ public Category id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +53,7 @@ public Category name(String name) { * Get name * @return name */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +62,6 @@ public String getName() { 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 26bff480bd2e..f56648941167 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,11 +19,9 @@ /** * 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.9.0-SNAPSHOT") -public class ModelApiResponse { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ModelApiResponse { private Integer code; @@ -40,8 +38,7 @@ public ModelApiResponse code(Integer code) { * Get code * @return code */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("code") public Integer getCode() { return code; @@ -60,8 +57,7 @@ public ModelApiResponse type(String type) { * Get type * @return type */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("type") public String getType() { return type; @@ -80,8 +76,7 @@ public ModelApiResponse message(String message) { * Get message * @return message */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("message") public String getMessage() { return message; @@ -90,7 +85,6 @@ public String getMessage() { 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 7f2afea000ca..3a4c55b1c69a 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,10 +21,8 @@ /** * 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.9.0-SNAPSHOT") -public class Order { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Order { private Long id; @@ -71,7 +69,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -85,8 +82,7 @@ public Order id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -105,8 +101,7 @@ public Order petId(Long petId) { * Get petId * @return petId */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("petId") public Long getPetId() { return petId; @@ -125,8 +120,7 @@ public Order quantity(Integer quantity) { * Get quantity * @return quantity */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("quantity") public Integer getQuantity() { return quantity; @@ -145,8 +139,7 @@ public Order shipDate(OffsetDateTime shipDate) { * Get shipDate * @return shipDate */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("shipDate") public OffsetDateTime getShipDate() { return shipDate; @@ -165,8 +158,7 @@ public Order status(StatusEnum status) { * Order Status * @return status */ - - @ApiModelProperty(value = "Order Status") + @ApiModelProperty(value = "Order Status") @JsonProperty("status") public StatusEnum getStatus() { return status; @@ -185,8 +177,7 @@ public Order complete(Boolean complete) { * Get complete * @return complete */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("complete") public Boolean getComplete() { return complete; @@ -195,7 +186,6 @@ public Boolean getComplete() { 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 20e501f8c652..bc1d0ee4adf0 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,10 +24,8 @@ /** * 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.9.0-SNAPSHOT") -public class Pet { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pet { private Long id; @@ -77,7 +75,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; public Pet() { @@ -101,8 +98,7 @@ public Pet id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -121,8 +117,7 @@ public Pet category(Category category) { * Get category * @return category */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("category") public Category getCategory() { return category; @@ -141,8 +136,7 @@ public Pet name(String name) { * 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 +163,7 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) { * Get photoUrls * @return photoUrls */ - @NotNull - @ApiModelProperty(required = true, value = "") + @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty("photoUrls") public List getPhotoUrls() { return photoUrls; @@ -197,8 +190,7 @@ public Pet addTagsItem(Tag tagsItem) { * Get tags * @return tags */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("tags") public List<@Valid Tag> getTags() { return tags; @@ -217,8 +209,7 @@ public Pet status(StatusEnum status) { * 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 +218,6 @@ public StatusEnum getStatus() { 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 ad381537546e..1bb0eed5db15 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,10 +18,8 @@ /** * A tag for a pet */ - @ApiModel(description = "A tag for a pet") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Tag { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Tag { private Long id; @@ -36,8 +34,7 @@ public Tag id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +53,7 @@ public Tag name(String name) { * Get name * @return name */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +62,6 @@ public String getName() { 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 e3db6d80260e..81535888c899 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,10 +18,8 @@ /** * 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.9.0-SNAPSHOT") -public class User { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class User { private Long id; @@ -48,8 +46,7 @@ public User id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -68,8 +65,7 @@ public User username(String username) { * Get username * @return username */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("username") public String getUsername() { return username; @@ -88,8 +84,7 @@ public User firstName(String firstName) { * Get firstName * @return firstName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("firstName") public String getFirstName() { return firstName; @@ -108,8 +103,7 @@ public User lastName(String lastName) { * Get lastName * @return lastName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("lastName") public String getLastName() { return lastName; @@ -128,8 +122,7 @@ public User email(String email) { * Get email * @return email */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("email") public String getEmail() { return email; @@ -148,8 +141,7 @@ public User password(String password) { * Get password * @return password */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("password") public String getPassword() { return password; @@ -168,8 +160,7 @@ public User phone(String phone) { * Get phone * @return phone */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("phone") public String getPhone() { return phone; @@ -188,8 +179,7 @@ public User userStatus(Integer userStatus) { * User Status * @return userStatus */ - - @ApiModelProperty(value = "User Status") + @ApiModelProperty(value = "User Status") @JsonProperty("userStatus") public Integer getUserStatus() { return userStatus; @@ -198,7 +188,6 @@ public Integer getUserStatus() { 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/api/PetApi.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java index 7d328943b754..7adc2bc9aa30 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/PetApi.java @@ -23,8 +23,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "pet", description = "Everything about your Pets") public interface PetApi { diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java index c2d954a74383..17b7b0b6783c 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/StoreApi.java @@ -23,8 +23,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "store", description = "Access to Petstore orders") public interface StoreApi { diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java index c6eeed632646..292163411026 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/api/UserApi.java @@ -23,8 +23,7 @@ import java.util.Optional; import javax.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -@Validated +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")@Validated @Api(value = "user", description = "Operations about user") public interface UserApi { 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 c111d7098b6c..30070ca31fca 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,10 +18,8 @@ /** * A category for a pet */ - @ApiModel(description = "A category for a pet") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Category { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Category { private Long id; @@ -36,8 +34,7 @@ public Category id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +53,7 @@ public Category name(String name) { * 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 +62,6 @@ public String getName() { 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 26bff480bd2e..f56648941167 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,11 +19,9 @@ /** * 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.9.0-SNAPSHOT") -public class ModelApiResponse { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ModelApiResponse { private Integer code; @@ -40,8 +38,7 @@ public ModelApiResponse code(Integer code) { * Get code * @return code */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("code") public Integer getCode() { return code; @@ -60,8 +57,7 @@ public ModelApiResponse type(String type) { * Get type * @return type */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("type") public String getType() { return type; @@ -80,8 +76,7 @@ public ModelApiResponse message(String message) { * Get message * @return message */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("message") public String getMessage() { return message; @@ -90,7 +85,6 @@ public String getMessage() { 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 7f2afea000ca..3a4c55b1c69a 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,10 +21,8 @@ /** * 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.9.0-SNAPSHOT") -public class Order { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Order { private Long id; @@ -71,7 +69,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -85,8 +82,7 @@ public Order id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -105,8 +101,7 @@ public Order petId(Long petId) { * Get petId * @return petId */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("petId") public Long getPetId() { return petId; @@ -125,8 +120,7 @@ public Order quantity(Integer quantity) { * Get quantity * @return quantity */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("quantity") public Integer getQuantity() { return quantity; @@ -145,8 +139,7 @@ public Order shipDate(OffsetDateTime shipDate) { * Get shipDate * @return shipDate */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("shipDate") public OffsetDateTime getShipDate() { return shipDate; @@ -165,8 +158,7 @@ public Order status(StatusEnum status) { * Order Status * @return status */ - - @ApiModelProperty(value = "Order Status") + @ApiModelProperty(value = "Order Status") @JsonProperty("status") public StatusEnum getStatus() { return status; @@ -185,8 +177,7 @@ public Order complete(Boolean complete) { * Get complete * @return complete */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("complete") public Boolean getComplete() { return complete; @@ -195,7 +186,6 @@ public Boolean getComplete() { 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 9f754f06e053..28eaa02d7bfd 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,10 +24,8 @@ /** * 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.9.0-SNAPSHOT") -public class Pet { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pet { private Long id; @@ -77,7 +75,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - @Deprecated private StatusEnum status; @@ -102,8 +99,7 @@ public Pet id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -122,8 +118,7 @@ public Pet category(Category category) { * Get category * @return category */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("category") public Category getCategory() { return category; @@ -142,8 +137,7 @@ public Pet name(String name) { * 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 +164,7 @@ public Pet addPhotoUrlsItem(String photoUrlsItem) { * Get photoUrls * @return photoUrls */ - @NotNull - @ApiModelProperty(required = true, value = "") + @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty("photoUrls") public List getPhotoUrls() { return photoUrls; @@ -198,8 +191,7 @@ public Pet addTagsItem(Tag tagsItem) { * Get tags * @return tags */ - @Valid - @ApiModelProperty(value = "") + @Valid @ApiModelProperty(value = "") @JsonProperty("tags") public List<@Valid Tag> getTags() { return tags; @@ -219,8 +211,7 @@ public Pet status(StatusEnum status) { * @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 +225,6 @@ public StatusEnum getStatus() { 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 ad381537546e..1bb0eed5db15 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,10 +18,8 @@ /** * A tag for a pet */ - @ApiModel(description = "A tag for a pet") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Tag { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Tag { private Long id; @@ -36,8 +34,7 @@ public Tag id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -56,8 +53,7 @@ public Tag name(String name) { * Get name * @return name */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("name") public String getName() { return name; @@ -66,7 +62,6 @@ public String getName() { 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 e3db6d80260e..81535888c899 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,10 +18,8 @@ /** * 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.9.0-SNAPSHOT") -public class User { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class User { private Long id; @@ -48,8 +46,7 @@ public User id(Long id) { * Get id * @return id */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("id") public Long getId() { return id; @@ -68,8 +65,7 @@ public User username(String username) { * Get username * @return username */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("username") public String getUsername() { return username; @@ -88,8 +84,7 @@ public User firstName(String firstName) { * Get firstName * @return firstName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("firstName") public String getFirstName() { return firstName; @@ -108,8 +103,7 @@ public User lastName(String lastName) { * Get lastName * @return lastName */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("lastName") public String getLastName() { return lastName; @@ -128,8 +122,7 @@ public User email(String email) { * Get email * @return email */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("email") public String getEmail() { return email; @@ -148,8 +141,7 @@ public User password(String password) { * Get password * @return password */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("password") public String getPassword() { return password; @@ -168,8 +160,7 @@ public User phone(String phone) { * Get phone * @return phone */ - - @ApiModelProperty(value = "") + @ApiModelProperty(value = "") @JsonProperty("phone") public String getPhone() { return phone; @@ -188,8 +179,7 @@ public User userStatus(Integer userStatus) { * User Status * @return userStatus */ - - @ApiModelProperty(value = "User Status") + @ApiModelProperty(value = "User Status") @JsonProperty("userStatus") public Integer getUserStatus() { return userStatus; @@ -198,7 +188,6 @@ public Integer getUserStatus() { 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/api/AnotherFakeApi.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/AnotherFakeApi.java index 87d2f5dbb611..be63338372bf 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/AnotherFakeApi.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/AnotherFakeApi.java @@ -21,8 +21,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface AnotherFakeApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface AnotherFakeApi { /** * PATCH /another-fake/dummy : To test special tags diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/FakeApi.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/FakeApi.java index 3c54eef28b94..1d172d96ce44 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/FakeApi.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/FakeApi.java @@ -31,8 +31,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface FakeApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface FakeApi { /** * POST /fake/create_xml_item : creates an XmlItem diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java index c41115835659..a7b129ee9bcd 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java @@ -21,8 +21,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface FakeClassnameTags123Api { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface FakeClassnameTags123Api { /** * PATCH /fake_classname_test : To test class name in snake case diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/PetApi.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/PetApi.java index f165768c5f4c..16f0fc6078af 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/PetApi.java @@ -24,8 +24,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface PetApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface PetApi { /** * POST /pet : Add a new pet to the store diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/StoreApi.java index 8371afe12818..9e9e3fdcc0e6 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/StoreApi.java @@ -22,8 +22,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface StoreApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface StoreApi { /** * DELETE /store/order/{order_id} : Delete purchase order by ID diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/UserApi.java index 1fa32dfb4c34..90836ae272d5 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/api/UserApi.java @@ -22,8 +22,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface UserApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface UserApi { /** * POST /user : Create user 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 df092301ae73..612730c9c0e2 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,9 +19,7 @@ /** * AdditionalPropertiesAnyType */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesAnyType { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesAnyType { private String name; @@ -80,7 +78,6 @@ public Object getAdditionalProperty(String key) { } 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 b93c9c6ff786..ee8bc664624e 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,9 +20,7 @@ /** * AdditionalPropertiesArray */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesArray { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesArray { private String name; @@ -81,7 +79,6 @@ public List getAdditionalProperty(String key) { } 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 9a2783b21376..181cf2c8c243 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,9 +19,7 @@ /** * AdditionalPropertiesBoolean */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesBoolean { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesBoolean { private String name; @@ -80,7 +78,6 @@ public Boolean getAdditionalProperty(String key) { } 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 e9b3202155f6..2a1823687ccb 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,9 +22,7 @@ /** * AdditionalPropertiesClass */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesClass { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesClass { private Map mapString = new HashMap<>(); @@ -328,7 +326,6 @@ public Object getAnytype3() { 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 75b7eb0c76e5..6a1c8fbff8d0 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,9 +19,7 @@ /** * AdditionalPropertiesInteger */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesInteger { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesInteger { private String name; @@ -80,7 +78,6 @@ public Integer getAdditionalProperty(String key) { } 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 0730bf768b45..25761e204d81 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,9 +20,7 @@ /** * AdditionalPropertiesNumber */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesNumber { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesNumber { private String name; @@ -81,7 +79,6 @@ public BigDecimal getAdditionalProperty(String key) { } 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 4c901273109c..99a4710ff4c1 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,9 +20,7 @@ /** * AdditionalPropertiesObject */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesObject { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesObject { private String name; @@ -81,7 +79,6 @@ public Map getAdditionalProperty(String key) { } 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 9d52548cc6b2..a88885378835 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,9 +19,7 @@ /** * AdditionalPropertiesString */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesString { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesString { private String name; @@ -80,7 +78,6 @@ public String getAdditionalProperty(String key) { } 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 73eab9469593..3e1c2cd8864f 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 @@ /** * 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,9 +28,7 @@ @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.9.0-SNAPSHOT") -public class Animal { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Animal { private String className; @@ -85,7 +82,6 @@ public String getColor() { 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 1ef137435693..fbb247576930 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,9 +19,7 @@ /** * ArrayOfArrayOfNumberOnly */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ArrayOfArrayOfNumberOnly { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ArrayOfArrayOfNumberOnly { private List> arrayArrayNumber = new ArrayList<>(); @@ -52,7 +50,6 @@ public List> getArrayArrayNumber() { 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 43009232fef9..f6f863ada873 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,9 +19,7 @@ /** * ArrayOfNumberOnly */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ArrayOfNumberOnly { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ArrayOfNumberOnly { private List arrayNumber = new ArrayList<>(); @@ -52,7 +50,6 @@ public List getArrayNumber() { 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 e8c1bccb3894..6dc2060eac9b 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,9 +19,7 @@ /** * ArrayTest */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ArrayTest { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ArrayTest { private List arrayOfString = new ArrayList<>(); @@ -112,7 +110,6 @@ public List> getArrayArrayOfModel() { 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 a6564eae4a2e..b52cced34f3c 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,10 +20,7 @@ /** * BigCat */ - - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class BigCat extends Cat { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class BigCat extends Cat { /** * Gets or Sets kind @@ -63,7 +60,6 @@ public static KindEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private KindEnum kind; public BigCat() { @@ -96,7 +92,6 @@ public void setKind(KindEnum kind) { 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 806fad288272..422bd3b6a6c1 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,9 +15,7 @@ /** * Capitalization */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Capitalization { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Capitalization { private String smallCamel; @@ -144,7 +142,6 @@ public String getATTNAME() { 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 b044bd58e333..8f9f2bd7c5c8 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 @@ /** * 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,9 +27,7 @@ @JsonSubTypes({ @JsonSubTypes.Type(value = BigCat.class, name = "BigCat") }) - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Cat extends Animal { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Cat extends Animal { private Boolean declawed; @@ -64,7 +61,6 @@ public void setDeclawed(Boolean declawed) { 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 f75d256ffde0..991d7aba22b9 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,9 +15,7 @@ /** * Category */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Category { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Category { private Long id; @@ -71,7 +69,6 @@ public String getName() { 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 a02a96f451f0..5d939ed60c3b 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,10 +22,7 @@ /** * ChildWithNullable */ - - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ChildWithNullable extends ParentWithNullable { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ChildWithNullable extends ParentWithNullable { private String otherProperty; @@ -48,7 +45,6 @@ public void setOtherProperty(String otherProperty) { 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 4797dc899caa..631a6e203a03 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,9 +15,7 @@ /** * Model for testing model with \"_class\" property */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ClassModel { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ClassModel { private String propertyClass; @@ -39,7 +37,6 @@ public String getPropertyClass() { 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 399367857d67..2183ffaf24ba 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,9 +15,7 @@ /** * Client */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Client { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Client { private String client; @@ -39,7 +37,6 @@ public String getClient() { 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 10b3b2ab7144..1cb0a2056f98 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,9 +20,7 @@ /** * ContainerDefaultValue */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ContainerDefaultValue { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ContainerDefaultValue { private JsonNullable> nullableArray = JsonNullable.>undefined(); @@ -155,7 +153,6 @@ public JsonNullable> getNullableArrayWithDefault() { 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 ed45a165acc9..ccc855f06860 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,10 +19,7 @@ /** * Dog */ - - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Dog extends Animal { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Dog extends Animal { private String breed; @@ -56,7 +53,6 @@ public void setBreed(String breed) { 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 38e8cd6ecc80..d70949c5d174 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,9 +19,7 @@ /** * EnumArrays */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class EnumArrays { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class EnumArrays { /** * Gets or Sets justSymbol @@ -57,7 +55,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private JustSymbolEnum justSymbol; /** @@ -94,7 +91,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private List arrayEnum = new ArrayList<>(); @@ -143,7 +139,6 @@ public List getArrayEnum() { 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 b051e007a023..b8b9e6d97681 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,9 +17,7 @@ /** * Gets or Sets EnumClass */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum EnumClass { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum EnumClass { _ABC("_abc"), @@ -53,4 +51,3 @@ public static EnumClass fromValue(String value) { 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 9eb19885cad6..d18b814012c1 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,10 +18,8 @@ /** * EnumTest */ - @JsonTypeName("Enum_Test") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class EnumTest { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class EnumTest { /** * Gets or Sets enumString @@ -59,7 +57,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumStringEnum enumString; /** @@ -98,7 +95,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumStringRequiredEnum enumStringRequired; /** @@ -135,7 +131,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumIntegerEnum enumInteger; /** @@ -172,7 +167,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumNumberEnum enumNumber; private OuterEnum outerEnum; @@ -282,7 +276,6 @@ public OuterEnum getOuterEnum() { 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 6f9ffb2fb646..310514731206 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,9 +15,7 @@ /** * Must be named `File` for test. */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class File { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class File { private String sourceURI; @@ -39,7 +37,6 @@ public String getSourceURI() { 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 0455d17ddd0c..cc5429fa5fef 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,9 +19,7 @@ /** * FileSchemaTestClass */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FileSchemaTestClass { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FileSchemaTestClass { private File file; @@ -73,7 +71,6 @@ public List getFiles() { 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 cac885fbf34c..61a4a81fe54e 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,10 +22,8 @@ /** * FormatTest */ - @JsonTypeName("format_test") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FormatTest { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FormatTest { private Integer integer; @@ -346,7 +344,6 @@ public BigDecimal getBigDecimal() { 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 78f6ee6c920a..f7d07709e549 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,10 +16,8 @@ /** * HasOnlyReadOnly */ - @JsonTypeName("hasOnlyReadOnly") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HasOnlyReadOnly { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HasOnlyReadOnly { private String bar; @@ -62,7 +60,6 @@ public String getFoo() { 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 11dc14b9ef03..27f3313680d5 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,9 +18,7 @@ /** * MapTest */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class MapTest { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class MapTest { private Map> mapMapOfString = new HashMap<>(); @@ -59,7 +57,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private Map mapOfEnumString = new HashMap<>(); @@ -176,7 +173,6 @@ public Map getIndirectMap() { 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 182c14d73b2f..40076675ffa4 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,9 +21,7 @@ /** * MixedPropertiesAndAdditionalPropertiesClass */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class MixedPropertiesAndAdditionalPropertiesClass { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class MixedPropertiesAndAdditionalPropertiesClass { private UUID uuid; @@ -97,7 +95,6 @@ public Map getMap() { 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 85a8cac0df6b..987c2da77e68 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,10 +16,8 @@ /** * Model for testing model name starting with number */ - @JsonTypeName("200_response") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Model200Response { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Model200Response { private Integer name; @@ -62,7 +60,6 @@ public String getPropertyClass() { 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 dcc603529c28..aec67cb728df 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,10 +16,8 @@ /** * ModelApiResponse */ - @JsonTypeName("ApiResponse") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ModelApiResponse { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ModelApiResponse { private Integer code; @@ -83,7 +81,6 @@ public String getMessage() { 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 afaf79c85fd0..823b392752e7 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,10 +16,8 @@ /** * ModelList */ - @JsonTypeName("List") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ModelList { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ModelList { private String _123list; @@ -41,7 +39,6 @@ public String get123list() { 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 4800936be7e1..b8624a4b6238 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,10 +16,8 @@ /** * Model for testing reserved words */ - @JsonTypeName("Return") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ModelReturn { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ModelReturn { private Integer _return; @@ -41,7 +39,6 @@ public Integer getReturn() { 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 afd43164dea2..a41539c78b50 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,9 +15,7 @@ /** * Model for testing model name same as property name */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Name { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Name { private Integer name; @@ -113,7 +111,6 @@ public Integer get123number() { 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 2da4996f1c11..4f682106db8e 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,9 +20,7 @@ /** * NullableMapProperty */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class NullableMapProperty { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class NullableMapProperty { private JsonNullable> languageValues = JsonNullable.>undefined(); @@ -53,7 +51,6 @@ public JsonNullable> getLanguageValues() { 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 d1a81cc9db25..1122f02bdf9a 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,9 +16,7 @@ /** * NumberOnly */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class NumberOnly { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class NumberOnly { private BigDecimal justNumber; @@ -40,7 +38,6 @@ public BigDecimal getJustNumber() { 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 1d2078b84f89..d7b5353242fb 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,9 +18,7 @@ /** * Order */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Order { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Order { private Long id; @@ -67,7 +65,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -185,7 +182,6 @@ public Boolean getComplete() { 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 cb86ec2a2376..759dc0733193 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,9 +16,7 @@ /** * OuterComposite */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OuterComposite { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OuterComposite { private BigDecimal myNumber; @@ -82,7 +80,6 @@ public Boolean getMyBoolean() { 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 965afbeffd77..c2cac3e2c296 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,9 +17,7 @@ /** * Gets or Sets OuterEnum */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OuterEnum { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OuterEnum { PLACED("placed"), @@ -53,4 +51,3 @@ public static OuterEnum fromValue(String value) { 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 261315a07531..c1dbab871c8b 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 @@ /** * 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,9 +30,7 @@ @JsonSubTypes({ @JsonSubTypes.Type(value = ChildWithNullable.class, name = "ChildWithNullable") }) - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ParentWithNullable { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ParentWithNullable { /** * Gets or Sets type @@ -67,7 +64,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private TypeEnum type; private JsonNullable nullableProperty = JsonNullable.undefined(); @@ -109,7 +105,6 @@ public JsonNullable getNullableProperty() { 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 dc126626846a..1319ca5d2b7c 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,9 +24,7 @@ /** * Pet */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Pet { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Pet { private Long id; @@ -76,7 +74,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - @Deprecated private StatusEnum status; @@ -228,7 +225,6 @@ public StatusEnum getStatus() { 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 cfcbd385a322..6eb770068f54 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,9 +15,7 @@ /** * ReadOnlyFirst */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ReadOnlyFirst { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ReadOnlyFirst { private String bar; @@ -60,7 +58,6 @@ public String getBaz() { 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 27d0eea94eda..17e524d5a568 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,9 +15,7 @@ /** * ResponseObjectWithDifferentFieldNames */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ResponseObjectWithDifferentFieldNames { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ResponseObjectWithDifferentFieldNames { private String normalPropertyName; @@ -102,7 +100,6 @@ public String getPropertyNameWithSpaces() { 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 badda51e5aba..e81ba7326f9a 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,10 +16,8 @@ /** * SpecialModelName */ - @JsonTypeName("_special_model.name_") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class SpecialModelName { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class SpecialModelName { private Long $specialPropertyName; @@ -41,7 +39,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 b033da3874c6..2c3a1e01e011 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,9 +15,7 @@ /** * Tag */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Tag { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Tag { private Long id; @@ -60,7 +58,6 @@ public String getName() { 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 2610c57ed2e5..f1d3897c41e9 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,9 +19,7 @@ /** * TypeHolderDefault */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class TypeHolderDefault { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class TypeHolderDefault { private String stringItem = "what"; @@ -151,7 +149,6 @@ public List getArrayItem() { 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 91e6f4853608..5fc3a6f5c8e6 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,9 +19,7 @@ /** * TypeHolderExample */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class TypeHolderExample { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class TypeHolderExample { private String stringItem; @@ -173,7 +171,6 @@ public List getArrayItem() { 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 ddbbdc49a0fd..075ac5b6dfa6 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,9 +15,7 @@ /** * User */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class User { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class User { private Long id; @@ -186,7 +184,6 @@ public Integer getUserStatus() { 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 4688dd6eb45e..378beeda55a9 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,9 +19,7 @@ /** * XmlItem */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class XmlItem { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class XmlItem { private String attributeString; @@ -712,7 +710,6 @@ public List getPrefixNsWrappedArray() { 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/api/AnotherFakeApi.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/AnotherFakeApi.java index 8e8e11079ef0..310a84cd30b7 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/AnotherFakeApi.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/AnotherFakeApi.java @@ -17,8 +17,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface AnotherFakeApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface AnotherFakeApi { /** * PATCH /another-fake/dummy : To test special tags diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/FakeApi.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/FakeApi.java index 4809f9b6fbba..e114ac48c21f 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/FakeApi.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/FakeApi.java @@ -27,8 +27,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface FakeApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface FakeApi { /** * POST /fake/create_xml_item : creates an XmlItem diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java index ae26a712af4a..8b7d5d6c65f3 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/FakeClassnameTags123Api.java @@ -17,8 +17,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface FakeClassnameTags123Api { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface FakeClassnameTags123Api { /** * PATCH /fake_classname_test : To test class name in snake case diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/PetApi.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/PetApi.java index fe490a20f7c3..86394675d74a 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/PetApi.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/PetApi.java @@ -20,8 +20,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface PetApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface PetApi { /** * POST /pet : Add a new pet to the store diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/StoreApi.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/StoreApi.java index ae74e4a4e568..3b11bf6d28c0 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/StoreApi.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/StoreApi.java @@ -18,8 +18,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface StoreApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface StoreApi { /** * DELETE /store/order/{order_id} : Delete purchase order by ID diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/UserApi.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/UserApi.java index 187614127b32..44d0aaafe2ff 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/UserApi.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/api/UserApi.java @@ -18,8 +18,7 @@ import jakarta.annotation.Generated; -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public interface UserApi { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public interface UserApi { /** * POST /user : Create user 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 64000f13ddbc..9bd4a02cfbd1 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,10 +20,8 @@ /** * AdditionalPropertiesAnyTypeDto */ - @JsonTypeName("AdditionalPropertiesAnyType") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesAnyTypeDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesAnyTypeDto { private String name; @@ -82,7 +80,6 @@ public Object getAdditionalProperty(String key) { } 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 eda46f099c75..70081f2bb573 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,10 +21,8 @@ /** * AdditionalPropertiesArrayDto */ - @JsonTypeName("AdditionalPropertiesArray") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesArrayDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesArrayDto { private String name; @@ -83,7 +81,6 @@ public List getAdditionalProperty(String key) { } 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 3fba9c5dbb09..1749cb7f3d6e 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,10 +20,8 @@ /** * AdditionalPropertiesBooleanDto */ - @JsonTypeName("AdditionalPropertiesBoolean") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesBooleanDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesBooleanDto { private String name; @@ -82,7 +80,6 @@ public Boolean getAdditionalProperty(String key) { } 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 3928b3fa25a5..c619c216e7ee 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,10 +23,8 @@ /** * AdditionalPropertiesClassDto */ - @JsonTypeName("AdditionalPropertiesClass") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesClassDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesClassDto { private Map mapString = new HashMap<>(); @@ -330,7 +328,6 @@ public Object getAnytype3() { 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 ef1abf3fc9d9..889dda025f4b 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,10 +20,8 @@ /** * AdditionalPropertiesIntegerDto */ - @JsonTypeName("AdditionalPropertiesInteger") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesIntegerDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesIntegerDto { private String name; @@ -82,7 +80,6 @@ public Integer getAdditionalProperty(String key) { } 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 51a4c6607ee4..3f86bd98c5de 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,10 +21,8 @@ /** * AdditionalPropertiesNumberDto */ - @JsonTypeName("AdditionalPropertiesNumber") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesNumberDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesNumberDto { private String name; @@ -83,7 +81,6 @@ public BigDecimal getAdditionalProperty(String key) { } 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 f84b1e288c52..64e542468039 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,10 +21,8 @@ /** * AdditionalPropertiesObjectDto */ - @JsonTypeName("AdditionalPropertiesObject") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesObjectDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesObjectDto { private String name; @@ -83,7 +81,6 @@ public Map getAdditionalProperty(String key) { } 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 03c2267cd0d5..15bd50c12caa 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,10 +20,8 @@ /** * AdditionalPropertiesStringDto */ - @JsonTypeName("AdditionalPropertiesString") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class AdditionalPropertiesStringDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AdditionalPropertiesStringDto { private String name; @@ -82,7 +80,6 @@ public String getAdditionalProperty(String key) { } 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 19d86586871e..6eaa69146e60 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 @@ /** * 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,9 +29,7 @@ @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.9.0-SNAPSHOT") -public class AnimalDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class AnimalDto { private String className; @@ -79,7 +76,6 @@ public String getColor() { 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 506ac6be5074..f2ab4a59d226 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,10 +16,8 @@ /** * ApiResponseDto */ - @JsonTypeName("ApiResponse") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ApiResponseDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ApiResponseDto { private Integer code; @@ -83,7 +81,6 @@ public String getMessage() { 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 29fa007289ab..bdcb0da2db0d 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,10 +20,8 @@ /** * ArrayOfArrayOfNumberOnlyDto */ - @JsonTypeName("ArrayOfArrayOfNumberOnly") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ArrayOfArrayOfNumberOnlyDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ArrayOfArrayOfNumberOnlyDto { private List> arrayArrayNumber = new ArrayList<>(); @@ -54,7 +52,6 @@ public List> getArrayArrayNumber() { 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 a0e9a01eca6c..33914b699894 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,10 +20,8 @@ /** * ArrayOfNumberOnlyDto */ - @JsonTypeName("ArrayOfNumberOnly") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ArrayOfNumberOnlyDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ArrayOfNumberOnlyDto { private List arrayNumber = new ArrayList<>(); @@ -54,7 +52,6 @@ public List getArrayNumber() { 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 20f8e9a0fc25..ae124ae4662f 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,10 +20,8 @@ /** * ArrayTestDto */ - @JsonTypeName("ArrayTest") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ArrayTestDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ArrayTestDto { private List arrayOfString = new ArrayList<>(); @@ -114,7 +112,6 @@ public List> getArrayArrayOfModel() { 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 1322fdef0d7a..e6c9f6ffafad 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,11 +21,8 @@ /** * BigCatDto */ - - @JsonTypeName("BigCat") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class BigCatDto extends CatDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class BigCatDto extends CatDto { /** * Gets or Sets kind @@ -65,7 +62,6 @@ public static KindEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private KindEnum kind; public BigCatDto() { @@ -91,7 +87,6 @@ public void setKind(KindEnum kind) { 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 f757af27cf81..f2cd764e2126 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,10 +16,8 @@ /** * CapitalizationDto */ - @JsonTypeName("Capitalization") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class CapitalizationDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class CapitalizationDto { private String smallCamel; @@ -146,7 +144,6 @@ public String getATTNAME() { 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 76ccc1ea1346..18a8ca593da8 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 @@ /** * 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,9 +28,7 @@ @JsonSubTypes({ @JsonSubTypes.Type(value = BigCatDto.class, name = "BigCat") }) - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class CatDto extends AnimalDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class CatDto extends AnimalDto { private Boolean declawed; @@ -58,7 +55,6 @@ public void setDeclawed(Boolean declawed) { 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 7138ae2c99c2..583c180eb552 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,10 +16,8 @@ /** * CategoryDto */ - @JsonTypeName("Category") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class CategoryDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class CategoryDto { private Long id; @@ -66,7 +64,6 @@ public String getName() { 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 8b067555e118..e1346ef8bb9a 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,11 +23,8 @@ /** * ChildWithNullableDto */ - - @JsonTypeName("ChildWithNullable") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ChildWithNullableDto extends ParentWithNullableDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ChildWithNullableDto extends ParentWithNullableDto { private String otherProperty; @@ -50,7 +47,6 @@ public void setOtherProperty(String otherProperty) { 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 ca6b9e279504..7a59f187ea6d 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,10 +16,8 @@ /** * Model for testing model with \"_class\" property */ - @JsonTypeName("ClassModel") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ClassModelDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ClassModelDto { private String propertyClass; @@ -41,7 +39,6 @@ public String getPropertyClass() { 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 b8a41181961c..db2d29bf71a1 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,10 +16,8 @@ /** * ClientDto */ - @JsonTypeName("Client") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ClientDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ClientDto { private String client; @@ -41,7 +39,6 @@ public String getClient() { 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 b2f502e50219..a1f59c72b28e 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,10 +21,8 @@ /** * ContainerDefaultValueDto */ - @JsonTypeName("ContainerDefaultValue") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ContainerDefaultValueDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ContainerDefaultValueDto { private JsonNullable> nullableArray = JsonNullable.>undefined(); @@ -149,7 +147,6 @@ public JsonNullable> getNullableArrayWithDefault() { 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 302cc0b52884..67dfe6157c63 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,11 +20,8 @@ /** * DogDto */ - - @JsonTypeName("Dog") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class DogDto extends AnimalDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class DogDto extends AnimalDto { private String breed; @@ -51,7 +48,6 @@ public void setBreed(String breed) { 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 71c9676673fb..bee6f6980646 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,10 +20,8 @@ /** * EnumArraysDto */ - @JsonTypeName("EnumArrays") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class EnumArraysDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class EnumArraysDto { /** * Gets or Sets justSymbol @@ -59,7 +57,6 @@ public static JustSymbolEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private JustSymbolEnum justSymbol; /** @@ -96,7 +93,6 @@ public static ArrayEnumEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private List arrayEnum = new ArrayList<>(); @@ -145,7 +141,6 @@ public List getArrayEnum() { 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 c0fac953d526..562e369eb021 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,9 +17,7 @@ /** * Gets or Sets EnumClass */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum EnumClassDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum EnumClassDto { _ABC("_abc"), @@ -53,4 +51,3 @@ public static EnumClassDto fromValue(String value) { 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 6e09ab8baedd..fa8b6781a234 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,10 +18,8 @@ /** * EnumTestDto */ - @JsonTypeName("Enum_Test") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class EnumTestDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class EnumTestDto { /** * Gets or Sets enumString @@ -59,7 +57,6 @@ public static EnumStringEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumStringEnum enumString; /** @@ -98,7 +95,6 @@ public static EnumStringRequiredEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumStringRequiredEnum enumStringRequired; /** @@ -135,7 +131,6 @@ public static EnumIntegerEnum fromValue(Integer value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumIntegerEnum enumInteger; /** @@ -172,7 +167,6 @@ public static EnumNumberEnum fromValue(Double value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private EnumNumberEnum enumNumber; private OuterEnumDto outerEnum; @@ -275,7 +269,6 @@ public OuterEnumDto getOuterEnum() { 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 6df2206c13b0..60b5668e24ac 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,10 +16,8 @@ /** * Must be named `File` for test. */ - @JsonTypeName("File") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FileDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FileDto { private String sourceURI; @@ -41,7 +39,6 @@ public String getSourceURI() { 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 7ca51e5796d2..96cbb143fab6 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,10 +20,8 @@ /** * FileSchemaTestClassDto */ - @JsonTypeName("FileSchemaTestClass") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FileSchemaTestClassDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FileSchemaTestClassDto { private FileDto file; @@ -75,7 +73,6 @@ public List getFiles() { 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 40b8ed14ef41..b2e94062b88f 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,10 +22,8 @@ /** * FormatTestDto */ - @JsonTypeName("format_test") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class FormatTestDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class FormatTestDto { private Integer integer; @@ -336,7 +334,6 @@ public BigDecimal getBigDecimal() { 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 b47c9477c22d..b5620fc30ccd 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,10 +16,8 @@ /** * HasOnlyReadOnlyDto */ - @JsonTypeName("hasOnlyReadOnly") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class HasOnlyReadOnlyDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class HasOnlyReadOnlyDto { private String bar; @@ -62,7 +60,6 @@ public String getFoo() { 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 58bbe2b4aa70..9d5cacc0dbc9 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,10 +16,8 @@ /** * ListDto */ - @JsonTypeName("List") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ListDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ListDto { private String _123list; @@ -41,7 +39,6 @@ public String get123list() { 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 de0a0eb211e0..a10adbeb06d0 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,10 +19,8 @@ /** * MapTestDto */ - @JsonTypeName("MapTest") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class MapTestDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class MapTestDto { private Map> mapMapOfString = new HashMap<>(); @@ -61,7 +59,6 @@ public static InnerEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private Map mapOfEnumString = new HashMap<>(); @@ -178,7 +175,6 @@ public Map getIndirectMap() { 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 9bf0388b26ea..0c124e4457ab 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,10 +22,8 @@ /** * MixedPropertiesAndAdditionalPropertiesClassDto */ - @JsonTypeName("MixedPropertiesAndAdditionalPropertiesClass") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class MixedPropertiesAndAdditionalPropertiesClassDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class MixedPropertiesAndAdditionalPropertiesClassDto { private UUID uuid; @@ -99,7 +97,6 @@ public Map getMap() { 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 854c0700238d..ed66cf3ddf9b 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,10 +16,8 @@ /** * Model for testing model name starting with number */ - @JsonTypeName("200_response") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class Model200ResponseDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class Model200ResponseDto { private Integer name; @@ -62,7 +60,6 @@ public String getPropertyClass() { 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 ff4868b773fe..c1a2e8f15a53 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,10 +16,8 @@ /** * Model for testing model name same as property name */ - @JsonTypeName("Name") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class NameDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class NameDto { private Integer name; @@ -108,7 +106,6 @@ public Integer get123number() { 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 fecd09830263..d171959e41da 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,10 +21,8 @@ /** * NullableMapPropertyDto */ - @JsonTypeName("NullableMapProperty") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class NullableMapPropertyDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class NullableMapPropertyDto { private JsonNullable> languageValues = JsonNullable.>undefined(); @@ -55,7 +53,6 @@ public JsonNullable> getLanguageValues() { 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 50020ee36d23..df5f21283f67 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,10 +17,8 @@ /** * NumberOnlyDto */ - @JsonTypeName("NumberOnly") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class NumberOnlyDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class NumberOnlyDto { private BigDecimal justNumber; @@ -42,7 +40,6 @@ public BigDecimal getJustNumber() { 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 de9282033424..b72e81955d85 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,10 +19,8 @@ /** * OrderDto */ - @JsonTypeName("Order") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OrderDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OrderDto { private Long id; @@ -69,7 +67,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private StatusEnum status; private Boolean complete = false; @@ -187,7 +184,6 @@ public Boolean getComplete() { 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 6e55042b80f5..0441227fd1cf 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,10 +17,8 @@ /** * OuterCompositeDto */ - @JsonTypeName("OuterComposite") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class OuterCompositeDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class OuterCompositeDto { private BigDecimal myNumber; @@ -84,7 +82,6 @@ public Boolean getMyBoolean() { 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 d434d24a9c58..4f01aaa21bfb 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,9 +17,7 @@ /** * Gets or Sets OuterEnum */ - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public enum OuterEnumDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public enum OuterEnumDto { PLACED("placed"), @@ -53,4 +51,3 @@ public static OuterEnumDto fromValue(String value) { 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 4ee7d5f372bf..6f8ce5432962 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 @@ /** * 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,9 +31,7 @@ @JsonSubTypes({ @JsonSubTypes.Type(value = ChildWithNullableDto.class, name = "ChildWithNullable") }) - -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ParentWithNullableDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ParentWithNullableDto { /** * Gets or Sets type @@ -68,7 +65,6 @@ public static TypeEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - private TypeEnum type; private JsonNullable nullableProperty = JsonNullable.undefined(); @@ -110,7 +106,6 @@ public JsonNullable getNullableProperty() { 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 af18c40d5c1d..fcec12d6413d 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,10 +25,8 @@ /** * PetDto */ - @JsonTypeName("Pet") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class PetDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class PetDto { private Long id; @@ -78,7 +76,6 @@ public static StatusEnum fromValue(String value) { throw new IllegalArgumentException("Unexpected value '" + value + "'"); } } - @Deprecated private StatusEnum status; @@ -222,7 +219,6 @@ public StatusEnum getStatus() { 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 169c007096e9..dcf10e973127 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,10 +16,8 @@ /** * ReadOnlyFirstDto */ - @JsonTypeName("ReadOnlyFirst") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ReadOnlyFirstDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ReadOnlyFirstDto { private String bar; @@ -62,7 +60,6 @@ public String getBaz() { 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 00651566c82f..cc9e36fefccb 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,10 +16,8 @@ /** * ResponseObjectWithDifferentFieldNamesDto */ - @JsonTypeName("ResponseObjectWithDifferentFieldNames") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ResponseObjectWithDifferentFieldNamesDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ResponseObjectWithDifferentFieldNamesDto { private String normalPropertyName; @@ -104,7 +102,6 @@ public String getPropertyNameWithSpaces() { 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 681e8a02a248..4bf1f42a4418 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,10 +16,8 @@ /** * Model for testing reserved words */ - @JsonTypeName("Return") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class ReturnDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class ReturnDto { private Integer _return; @@ -41,7 +39,6 @@ public Integer getReturn() { 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 8cc663abf832..e877d1d30005 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,10 +16,8 @@ /** * SpecialModelNameDto */ - @JsonTypeName("_special_model.name_") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class SpecialModelNameDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class SpecialModelNameDto { private Long $specialPropertyName; @@ -41,7 +39,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 61087193c1d4..3289da20c768 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,10 +16,8 @@ /** * TagDto */ - @JsonTypeName("Tag") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class TagDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class TagDto { private Long id; @@ -62,7 +60,6 @@ public String getName() { 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 a40732c4e1c3..9baf8244c7b3 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,10 +20,8 @@ /** * TypeHolderDefaultDto */ - @JsonTypeName("TypeHolderDefault") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class TypeHolderDefaultDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class TypeHolderDefaultDto { private String stringItem = "what"; @@ -142,7 +140,6 @@ public List getArrayItem() { 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 574042feefbf..248b1d69c753 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,10 +20,8 @@ /** * TypeHolderExampleDto */ - @JsonTypeName("TypeHolderExample") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class TypeHolderExampleDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class TypeHolderExampleDto { private String stringItem; @@ -163,7 +161,6 @@ public List getArrayItem() { 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 30a394bfd1a4..5314d952a56e 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,10 +16,8 @@ /** * UserDto */ - @JsonTypeName("User") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class UserDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class UserDto { private Long id; @@ -188,7 +186,6 @@ public Integer getUserStatus() { 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 819675e5dc73..2fdcedc579f1 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,10 +20,8 @@ /** * XmlItemDto */ - @JsonTypeName("XmlItem") -@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT") -public class XmlItemDto { +@Generated(value = "org.openapitools.codegen.languages.SpringCodegen", comments = "Generator version: 7.9.0-SNAPSHOT")public class XmlItemDto { private String attributeString; @@ -714,7 +712,6 @@ public List getPrefixNsWrappedArray() { 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 94a82a25ec63..81ba2a30e936 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 6aca7a2cca29..68cf2a5422ba 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 23177663e242..8656621dbe5f 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 5bdf9cc1212b..5ce2e94842bd 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 3a3833c751e6..1e2acc727251 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 e3e878a4f703..d7af30fe0397 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 679ca0d472b2..bab063c9099b 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 e06009060c54..687027eace40 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 3a9edb08ea78..b47d4d0d04ea 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 c4792800425f..3203f0b04d6f 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 bf7da6a3f862..694bdaa879dd 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 f93b402b0fd5..06a380cc92cc 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 e06009060c54..687027eace40 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 3a9edb08ea78..b47d4d0d04ea 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 c4792800425f..3203f0b04d6f 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 bf7da6a3f862..694bdaa879dd 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 f93b402b0fd5..06a380cc92cc 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 e06009060c54..687027eace40 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 3a9edb08ea78..b47d4d0d04ea 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 c4792800425f..3203f0b04d6f 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 bf7da6a3f862..694bdaa879dd 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 f93b402b0fd5..06a380cc92cc 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 6a01769ede3a..dea0fae0319a 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 e06009060c54..687027eace40 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 3a9edb08ea78..b47d4d0d04ea 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 c4792800425f..3203f0b04d6f 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 818233c5fcee..206616becfcb 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 394619c072c6..c9dc201dcfde 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/deprecated/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 3471c82ef951..1a956816dd81 100644 --- a/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -18,8 +18,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/deprecated/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index 345cbbfa49fe..17470e90d260 100644 --- a/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/deprecated/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -17,8 +17,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? @available(*, deprecated, message: "This property is deprecated.") diff --git a/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index 6c945fc2047b..0a0cf22b9ca4 100644 --- a/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -16,13 +16,11 @@ public struct EnumArrays: Codable, JSONEncodable, Hashable { case greaterThanOrEqualTo = ">=" case dollar = "$" case unknownDefaultOpenApi = "unknown_default_open_api" - } - public enum ArrayEnum: String, Codable, CaseIterable, CaseIterableDefaultsLast { + } public enum ArrayEnum: String, Codable, CaseIterable, CaseIterableDefaultsLast { case fish = "fish" case crab = "crab" case unknownDefaultOpenApi = "unknown_default_open_api" - } - 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/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 58c1b4665dd2..79afc560e9bf 100644 --- a/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -17,24 +17,20 @@ public struct EnumTest: Codable, JSONEncodable, Hashable { case lower = "lower" case empty = "" case unknownDefaultOpenApi = "unknown_default_open_api" - } - public enum EnumStringRequired: String, Codable, CaseIterable, CaseIterableDefaultsLast { + } public enum EnumStringRequired: String, Codable, CaseIterable, CaseIterableDefaultsLast { case upper = "UPPER" case lower = "lower" case empty = "" case unknownDefaultOpenApi = "unknown_default_open_api" - } - public enum EnumInteger: Int, Codable, CaseIterable, CaseIterableDefaultsLast { + } public enum EnumInteger: Int, Codable, CaseIterable, CaseIterableDefaultsLast { case _1 = 1 case number1 = -1 case unknownDefaultOpenApi = 11184809 - } - public enum EnumNumber: Double, Codable, CaseIterable, CaseIterableDefaultsLast { + } public enum EnumNumber: Double, Codable, CaseIterable, CaseIterableDefaultsLast { case _11 = 1.1 case number12 = -1.2 case unknownDefaultOpenApi = 11184809 - } - 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/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 42728d2a308e..0bdfdb2643dc 100644 --- a/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -16,8 +16,7 @@ public struct MapTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case unknownDefaultOpenApi = "unknown_default_open_api" - } - 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/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index daaada5d4e88..56bb8028f0da 100644 --- a/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -17,8 +17,7 @@ public struct Order: Codable, JSONEncodable, Hashable { case approved = "approved" case delivered = "delivered" case unknownDefaultOpenApi = "unknown_default_open_api" - } - 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/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index 04512ffe4bae..20512649c7de 100644 --- a/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/frozenEnums/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -17,8 +17,7 @@ public struct Pet: Codable, JSONEncodable, Hashable { case pending = "pending" case sold = "sold" case unknownDefaultOpenApi = "unknown_default_open_api" - } - 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/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index cf7484732ca9..0f4089b6bb32 100644 --- a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -15,12 +15,10 @@ internal struct EnumArrays: Codable, JSONEncodable, Hashable { internal enum JustSymbol: String, Codable, CaseIterable { case greaterThanOrEqualTo = ">=" case dollar = "$" - } - internal enum ArrayEnum: String, Codable, CaseIterable { + } internal enum ArrayEnum: String, Codable, CaseIterable { case fish = "fish" case crab = "crab" - } - internal var justSymbol: JustSymbol? + } internal var justSymbol: JustSymbol? internal var arrayEnum: [ArrayEnum]? internal init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index e82207bd88bc..96d3ccd195f0 100644 --- a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -16,21 +16,17 @@ internal struct EnumTest: Codable, JSONEncodable, Hashable { case upper = "UPPER" case lower = "lower" case empty = "" - } - internal enum EnumStringRequired: String, Codable, CaseIterable { + } internal enum EnumStringRequired: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" case empty = "" - } - internal enum EnumInteger: Int, Codable, CaseIterable { + } internal enum EnumInteger: Int, Codable, CaseIterable { case _1 = 1 case number1 = -1 - } - internal enum EnumNumber: Double, Codable, CaseIterable { + } internal enum EnumNumber: Double, Codable, CaseIterable { case _11 = 1.1 case number12 = -1.2 - } - internal var enumString: EnumString? + } internal var enumString: EnumString? internal var enumStringRequired: EnumStringRequired internal var enumInteger: EnumInteger? internal var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 32e525f81311..38a2fa4e88f1 100644 --- a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -15,8 +15,7 @@ internal struct MapTest: Codable, JSONEncodable, Hashable { internal enum MapOfEnumString: String, Codable, CaseIterable { case upper = "UPPER" case lower = "lower" - } - internal var mapMapOfString: [String: [String: String]]? + } internal var mapMapOfString: [String: [String: String]]? internal var mapOfEnumString: [String: String]? internal var directMap: [String: Bool]? internal var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 72bdd4d71b4b..9e3d67a80d31 100644 --- a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -16,8 +16,7 @@ internal struct Order: Codable, JSONEncodable, Hashable { case placed = "placed" case approved = "approved" case delivered = "delivered" - } - internal var id: Int64? + } internal var id: Int64? internal var petId: Int64? internal var quantity: Int? internal var shipDate: Date? diff --git a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index bb526c4dba2c..ce2cceed3781 100644 --- a/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/nonPublicApi/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift @@ -16,8 +16,7 @@ internal struct Pet: Codable, JSONEncodable, Hashable { case available = "available" case pending = "pending" case sold = "sold" - } - internal var id: Int64? + } internal var id: Int64? internal var category: Category? internal var name: String internal var photoUrls: [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 743ec00c8b75..642846c37c12 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 f6c43aeb5a8d..45f814525075 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 3539ece4a59c..3ba90c26de75 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 509572ecc4ee..370a4fee81fb 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 d1f400f2cb3c..d1c2d6fe55c5 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 e06009060c54..687027eace40 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 3a9edb08ea78..b47d4d0d04ea 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 c4792800425f..3203f0b04d6f 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 bf7da6a3f862..694bdaa879dd 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 f93b402b0fd5..06a380cc92cc 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/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index de3154323f3b..cf06571dbc7a 100644 --- a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/readonlyProperties/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 private(set) var justSymbol: JustSymbol? + } public private(set) var justSymbol: JustSymbol? public private(set) var arrayEnum: [ArrayEnum]? public init(justSymbol: JustSymbol? = nil, arrayEnum: [ArrayEnum]? = nil) { diff --git a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 6d471e606dc3..0dcb976ef449 100644 --- a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/readonlyProperties/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 private(set) var enumString: EnumString? + } public private(set) var enumString: EnumString? public private(set) var enumStringRequired: EnumStringRequired public private(set) var enumInteger: EnumInteger? public private(set) var enumNumber: EnumNumber? diff --git a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 665fe0315a86..f90c6a534933 100644 --- a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/readonlyProperties/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 private(set) var mapMapOfString: [String: [String: String]]? + } public private(set) var mapMapOfString: [String: [String: String]]? public private(set) var mapOfEnumString: [String: String]? public private(set) var directMap: [String: Bool]? public private(set) var indirectMap: StringBooleanMap? diff --git a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 2a13d9693889..6c3f5abf0406 100644 --- a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/readonlyProperties/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 private(set) var id: Int64? + } public private(set) var id: Int64? public private(set) var petId: Int64? public private(set) var quantity: Int? public private(set) var shipDate: Date? diff --git a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index 51c763572843..56d6f5104419 100644 --- a/samples/client/petstore/swift5/readonlyProperties/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/readonlyProperties/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 private(set) var id: Int64? + } public private(set) var id: Int64? public private(set) var category: Category? public private(set) var name: String public private(set) 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 e06009060c54..687027eace40 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 @@ -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/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index 3a9edb08ea78..b47d4d0d04ea 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 @@ -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/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index c4792800425f..3203f0b04d6f 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 @@ -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/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index bf7da6a3f862..694bdaa879dd 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 @@ -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/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/resultLibrary/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index f93b402b0fd5..06a380cc92cc 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 @@ -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/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/rxswiftLibrary/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index e06009060c54..687027eace40 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 3a9edb08ea78..b47d4d0d04ea 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 c4792800425f..3203f0b04d6f 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 bf7da6a3f862..694bdaa879dd 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 f93b402b0fd5..06a380cc92cc 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 c9c9ab8756cf..d6809f963f43 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 b0a4756d3e8b..bacc821f1ed6 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 90feda030db8..f797319215fc 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 6a9c4ec8937d..1e317f1a06de 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 ee791a3947a4..ba37f3511118 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 f68dcec1d655..99eb379901b5 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 0b2b8c32844a..6aad4d5060f2 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 044d121b9f3f..982a597493c6 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 2726af8cb65d..741af587b05f 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 7a7b357cd46e..d10d24d78c1c 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 73c5b9d0b652..d4222baef849 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/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift index 3c847126473d..ac4c1cfa52e9 100644 --- a/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift +++ b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift @@ -15,12 +15,10 @@ public struct EnumArrays: Codable, JSONEncodable { 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/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift index c0894dbd97a2..003e7c85e626 100644 --- a/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift +++ b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift @@ -16,21 +16,17 @@ public struct EnumTest: Codable, JSONEncodable { 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/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift index 4dbb2aef1e22..f42ac6520110 100644 --- a/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift +++ b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift @@ -15,8 +15,7 @@ public struct MapTest: Codable, JSONEncodable { 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/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Order.swift index 45694b3beef9..15d4af629866 100644 --- a/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Order.swift +++ b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Order.swift @@ -16,8 +16,7 @@ public struct Order: Codable, JSONEncodable { 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/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift index f93b402b0fd5..06a380cc92cc 100644 --- a/samples/client/petstore/swift5/x-swift-hashable/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift +++ b/samples/client/petstore/swift5/x-swift-hashable/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/typescript-axios/builds/composed-schemas/api.ts b/samples/client/petstore/typescript-axios/builds/composed-schemas/api.ts index 1941b1646e7c..5fa6f385727d 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 e215695bd26e..e50c01c10f33 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 d629dec4427f..2e9b7062cc2e 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 46522502419f..30ed8f66715d 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 a94bbea12432..db11deb73bbd 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 df0c45abc78d..375cb9ad05ae 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 b92a383a84c7..e76bfed5c869 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 d5b9e4718aea..b62a615f6464 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 d05f5a0d0835..f31a93320133 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 ed3d348fdfec..4f1f59744c42 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 df0c45abc78d..375cb9ad05ae 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 b92a383a84c7..e76bfed5c869 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 d5b9e4718aea..b62a615f6464 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 d05f5a0d0835..f31a93320133 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 ed3d348fdfec..4f1f59744c42 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 8849fa8f81d4..03283110e8e4 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 ba1854123f7c..23d2f9d005c1 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 c0f62a7b6df1..f9cfce9fe326 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 c8051a678dcf..330134a2cb85 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 7ffd3df32803..6e43e2ad3d73 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 a373dc21fe56..be4e8fe18365 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 b92a383a84c7..e76bfed5c869 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 d5b9e4718aea..b62a615f6464 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 d05f5a0d0835..f31a93320133 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 ed3d348fdfec..4f1f59744c42 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 23003c216833..a3669d93c4dd 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 ba1854123f7c..23d2f9d005c1 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 c0f62a7b6df1..f9cfce9fe326 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 c8051a678dcf..330134a2cb85 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 7ffd3df32803..6e43e2ad3d73 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 d471c3665d84..bba7e3ebd993 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 b92a383a84c7..e76bfed5c869 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 d5b9e4718aea..b62a615f6464 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 d05f5a0d0835..f31a93320133 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 ed3d348fdfec..4f1f59744c42 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 e3035a1de518..86de50461df5 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 b92a383a84c7..e76bfed5c869 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 d5b9e4718aea..b62a615f6464 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 d05f5a0d0835..f31a93320133 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 ed3d348fdfec..4f1f59744c42 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 8f972c32b2e4..6db355037d72 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 b92a383a84c7..e76bfed5c869 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 a88b97565783..13d60e6782a3 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 d05f5a0d0835..f31a93320133 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 ed3d348fdfec..4f1f59744c42 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 a93cf65f62d6..37c64b1c3c2f 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 4814af94ce40..5ad802067d57 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 0fcfd906cc8c..8b1f7af71653 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 7d6d6aeb2b66..9ea434da821c 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 b92a383a84c7..e76bfed5c869 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 d5b9e4718aea..b62a615f6464 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 d05f5a0d0835..f31a93320133 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 f0e6924d5d98..4ca8b16d09ab 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 6b04a026e17f..1100f84821f4 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 9e615116bb3e..a0b2a8ca112b 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 1ed788e1ec8f..69e12049f571 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 e0378b94c286..66455ed2c623 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 3529b9273085..fb47d294f2a8 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 a33949559e3d..ce0de6d54f18 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 df0c45abc78d..375cb9ad05ae 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 b92a383a84c7..e76bfed5c869 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 d5b9e4718aea..b62a615f6464 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 d05f5a0d0835..f31a93320133 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 ed3d348fdfec..4f1f59744c42 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 8b6af8686545..8074800b3caa 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 b92a383a84c7..e76bfed5c869 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 d5b9e4718aea..b62a615f6464 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 d05f5a0d0835..f31a93320133 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 ed3d348fdfec..4f1f59744c42 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 b9f8757a661c..b6b18bc35f1e 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 b92a383a84c7..e76bfed5c869 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 d5b9e4718aea..b62a615f6464 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 d05f5a0d0835..f31a93320133 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 ed3d348fdfec..4f1f59744c42 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 38da4f052ba3..e10d1e79ce04 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 cce6b72e169a..c0bed00bda7f 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 0ed8fde3a930..df6c7c00946a 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 191d8ea48935..2c7df5e62d7f 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 38da4f052ba3..e10d1e79ce04 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 b815ab07d2c6..7fa1897d8fcb 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 0ed8fde3a930..df6c7c00946a 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 191d8ea48935..2c7df5e62d7f 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 e63d48d42bd6..222bc33c0dd7 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 ef9dde7a0809..44a70c83a2b3 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 12df4e513874..ae31e2c54ac5 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 e2cf17eb7a26..3cd969011931 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 5b77f2de4486..dd2b05fd7e7b 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 4a7ee687d8dc..6ea1903fd986 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 b151cb1eaaca..f47fbb155952 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 c15b937e8a1c..faa20f87a242 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 826ea603e2db..6ec1d76d70a5 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 0f87e6dd367e..4662a62a6d05 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 18264d15d7cb..02ad42ec8ada 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 fa5c6dc5edd1..24fea8316a9b 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 b31c80207b2f..7f3ba2fe5e71 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 ace2ede88477..5bf704ca908c 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 a1b44d02d26d..eeb75c7a1e86 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 7c8caddd4969..e761b71f8284 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 0a5dd717f208..b0a482858097 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 813177eb3d50..9f3bac53ed97 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 c6aa7163b0b3..8ee18c182a71 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 d2acf418fded..3fe0d956671c 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 1d66d5c04bf8..729910f64588 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 27f42e0a652b..1b41f08158cb 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 6878b8591431..c851bd15cbb4 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 de99ab4dc662..8b04745c152e 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 5c97b9928efa..7723ce1c785e 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 557abed7403e..79f98154f9b3 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 118b6190f280..0503279d1f20 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 721b08a2242d..35351d6b67ec 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 a47a1b03c571..2a1312266c5a 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 0eb9accdc1f5..eff6655352bf 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 c62de4d9fb83..b9db6bd13e54 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 fb9a30ea0e5b..4bb692e9c702 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 a88b84fd1027..d46c723ac72b 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 1f69153ef85c..8a531f5f237f 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 af0066b276eb..75b2ff977c51 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 a505854c2d71..3886031b14c3 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 ef6eee2c53c7..8866671527ef 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 1c957bff4d65..b57550f80e15 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 4f32da1c0ced..ca09d8cd40b0 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 d9e19a6d9d86..bf6b6b4cbec3 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 88b028733508..fef27d5e45ab 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 ef82efcce508..7df2fdb6f254 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 ab4303f03c3a..ff912e49b0d2 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 4be9edeac589..bfad65965b4a 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 de44a7878120..a06dea10daa0 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 b899dc358ea0..28f5fd672058 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 1a6941699214..14a66d64b3c8 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 a533ca482d8b..ea2d8a9294dc 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 a7a8016b7adc..901eaa3366d9 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 4dc3777b0123..fa18f70da8d4 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 561b3037f5c0..dda330e4a46f 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 dc1fd7c1712c..a79a0f3c4c8b 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 8247fdf99d23..220daeca0a2b 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 3fec48ea4438..d6505ded0524 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 11266e1fb90a..12c1cad8c49f 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 5bfdc0cfa545..797200b27560 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 97523c16bb4d..2a316804d158 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 ed35f30ef7a5..48a191558864 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 22062ecf531f..597902f04a29 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 49163cc4b463..5fd87bf5f0de 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 03a5448df528..f08cefef64cf 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 b1f80cca9cd2..12484e94e3b7 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 baea7c98fece..c8d9761348fe 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 5f0ffc2452de..5bf7483054d3 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 90ba76c7c496..dab90419ecfa 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 9b7b41d11e87..243c6076cf34 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 54d3a2b2d69b..03877554d2d8 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 2c4103a8908e..aa05cf26a8c6 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 88a965dfc122..3595d260d9fc 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 1c4279574261..75e0e1e46730 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 f45e1771ea3e..f5716728a978 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 d893f1143456..d87e3999d933 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 172e15ef52d4..9f0e7f84ced7 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 7f99552816fe..b727de732ed8 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 22062ecf531f..597902f04a29 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 49163cc4b463..5fd87bf5f0de 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 03a5448df528..f08cefef64cf 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 b1f80cca9cd2..12484e94e3b7 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 baea7c98fece..c8d9761348fe 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 5f0ffc2452de..5bf7483054d3 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 90ba76c7c496..dab90419ecfa 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 9b7b41d11e87..243c6076cf34 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 54d3a2b2d69b..03877554d2d8 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 2c4103a8908e..aa05cf26a8c6 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 66a4232c3893..9ce061a07095 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 8cf46da17dd8..bd9ceb0ff205 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 b60bf74dc414..54d9baf110e1 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 b1f80cca9cd2..12484e94e3b7 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 baea7c98fece..c8d9761348fe 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 5f0ffc2452de..5bf7483054d3 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 90ba76c7c496..dab90419ecfa 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 9b7b41d11e87..243c6076cf34 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 54d3a2b2d69b..03877554d2d8 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 2c4103a8908e..aa05cf26a8c6 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 3383adf93dfd..340e84a4b152 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 8fffa09116a6..eaeb888398f7 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 d8477b8db52e..55a03f5279af 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 d37db87e324a..6e6efa823208 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 9ccdf7037352..5d1c875811dd 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 4776d47251c8..fdfe044a01fa 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 58434bd8740c..96404277d2e9 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 b18b7fd43c57..91282bee21a0 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 b1f80cca9cd2..12484e94e3b7 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 baea7c98fece..c8d9761348fe 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 5f0ffc2452de..5bf7483054d3 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 90ba76c7c496..dab90419ecfa 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 9b7b41d11e87..243c6076cf34 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 54d3a2b2d69b..03877554d2d8 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 2c4103a8908e..aa05cf26a8c6 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 e20073b50cb4..66fff504ffac 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 0c98a78f6338..3b1132b43f7c 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 f1f83a906633..ae87856fe948 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 841f613f3910..9e3717259042 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 c1c514c3f8a3..ab98432bdbd5 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 41189b279198..58bd7ed4bdf1 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 8cf46da17dd8..bd9ceb0ff205 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 ea92ff2f2163..a2383babfd0e 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 0a634a21cf2e..d696bf3cbf7d 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 ddef1ef77b04..b2e25e9eabf1 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 0cb828571b67..67bc79d134bf 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 b1f80cca9cd2..12484e94e3b7 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 2bb757b734aa..a432c894c0c3 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 35356dee4a9b..b1c5b2d712d2 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 73ce3a84c712..520fe96c97fb 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 f22a5c3f59cb..5c6e7bf0bef2 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 0af0862472d9..b51d87e923c4 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 955aefde7190..00d76fed67f4 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 4170d2f84e9e..505759555216 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 5f0ffc2452de..5bf7483054d3 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 a0ddf05e1ed8..c71e091a8775 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 a9723f00da65..291a59beaf11 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 539b8094c7a7..624480fb5fd3 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 c02125e029ac..2348a835d9bc 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 40a214555e6a..c4c8f7eea1a5 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 9c114b14d0f4..ad5cc4245f1f 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 d48d53c5b557..27c6bba17ddd 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 df2bcc6d3cb2..c5fa993393ad 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 32c20200e0cb..b9e0c795ee35 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 399720f55ea7..eccab4f75536 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 16b7bb37e969..8aa2d9004a30 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 2c4103a8908e..aa05cf26a8c6 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 e63d48d42bd6..222bc33c0dd7 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 ef9dde7a0809..44a70c83a2b3 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 23e46bbf742e..8b67ae8c6853 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 e2cf17eb7a26..3cd969011931 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 5b77f2de4486..dd2b05fd7e7b 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 4a7ee687d8dc..6ea1903fd986 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 b151cb1eaaca..f47fbb155952 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 c15b937e8a1c..faa20f87a242 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 826ea603e2db..6ec1d76d70a5 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 33ad57bbe791..91ea8ede44f0 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 18264d15d7cb..02ad42ec8ada 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 fa5c6dc5edd1..24fea8316a9b 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 b31c80207b2f..7f3ba2fe5e71 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 ace2ede88477..5bf704ca908c 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 a1b44d02d26d..eeb75c7a1e86 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 7c8caddd4969..e761b71f8284 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 813177eb3d50..9f3bac53ed97 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 c6aa7163b0b3..8ee18c182a71 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 d2acf418fded..3fe0d956671c 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 1d66d5c04bf8..729910f64588 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 27f42e0a652b..1b41f08158cb 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 6878b8591431..c851bd15cbb4 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 de99ab4dc662..8b04745c152e 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 5c97b9928efa..7723ce1c785e 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 557abed7403e..79f98154f9b3 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 118b6190f280..0503279d1f20 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 721b08a2242d..35351d6b67ec 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 a47a1b03c571..2a1312266c5a 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 0eb9accdc1f5..eff6655352bf 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 c62de4d9fb83..b9db6bd13e54 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 fb9a30ea0e5b..4bb692e9c702 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 a88b84fd1027..d46c723ac72b 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 1f69153ef85c..8a531f5f237f 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 af0066b276eb..75b2ff977c51 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 a505854c2d71..3886031b14c3 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 ef6eee2c53c7..8866671527ef 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 1c957bff4d65..b57550f80e15 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 4f32da1c0ced..ca09d8cd40b0 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 d9e19a6d9d86..bf6b6b4cbec3 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 88b028733508..fef27d5e45ab 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 ef82efcce508..7df2fdb6f254 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 ab4303f03c3a..ff912e49b0d2 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 4be9edeac589..bfad65965b4a 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 de44a7878120..a06dea10daa0 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 b899dc358ea0..28f5fd672058 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 1a6941699214..14a66d64b3c8 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 a533ca482d8b..ea2d8a9294dc 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 4dc3777b0123..fa18f70da8d4 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 561b3037f5c0..dda330e4a46f 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 dc1fd7c1712c..a79a0f3c4c8b 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 8247fdf99d23..220daeca0a2b 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 3fec48ea4438..d6505ded0524 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 11266e1fb90a..12c1cad8c49f 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 97523c16bb4d..2a316804d158 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 ed35f30ef7a5..48a191558864 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 a791292c47ae..2c66c18d2ef4 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 2e8408d1d2c1..9f58ece40ad9 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 39e604591ff3..57dddac07001 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 93ddb7d8f62c..b637cb266fc7 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 51e5f5a91a4d..efe4034b505f 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 fb3d41daab6a..84864ba3fa51 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 2290adbd00d6..f6b29a47ccb6 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 eefbfb792ff8..39d942cf819a 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 f12cee29181e..d2a97be8af09 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 2c4103a8908e..aa05cf26a8c6 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 c3b33a5b61df..5021e50733bc 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 7e4e8a7b5ba8..930eb69d4ab5 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 01ec9acf7cce..f49a8098d09d 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 b1f80cca9cd2..12484e94e3b7 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 baea7c98fece..c8d9761348fe 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 5f0ffc2452de..5bf7483054d3 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 90ba76c7c496..dab90419ecfa 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 9b7b41d11e87..243c6076cf34 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 54d3a2b2d69b..03877554d2d8 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 2c4103a8908e..aa05cf26a8c6 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 22062ecf531f..597902f04a29 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 49163cc4b463..5fd87bf5f0de 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 03a5448df528..f08cefef64cf 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 b1f80cca9cd2..12484e94e3b7 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 baea7c98fece..c8d9761348fe 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 5f0ffc2452de..5bf7483054d3 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 90ba76c7c496..dab90419ecfa 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 9b7b41d11e87..243c6076cf34 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 54d3a2b2d69b..03877554d2d8 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 2c4103a8908e..aa05cf26a8c6 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 8eb16afcbf47..485021e28499 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 1c4279574261..75e0e1e46730 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 5822a99aa444..dfe39b3b265b 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 4170bf9c7c89..af89de2a764a 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 484ec6c2e011..867ead64ad05 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 7f99552816fe..b727de732ed8 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 29ef7179b719..f0c4c3d47ec1 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 24740b197638..f0178181033c 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 283e3259aed0..f5f3f6f2f2a4 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 ab1529f795f4..19cad134ef58 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 dc5ead050878..387fa5c79ff0 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 e2f23063bb37..db353cb3b622 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 ad509b371d49..18832edfc4b1 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 5e35989d8864..c59e6efad168 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 61c1f88781db..e7cd1655898d 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 1bb95aba358f..0bffabef1353 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 ff701de3c3b2..68c5ec73b40b 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 b0b21c2a3bf3..4746e407d023 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 f3f0bd891677..c51dfa653b2c 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 34f33edddd7d..69cf1554cb3b 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 63ad66b7a09e..14e75ed170cc 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 7745f081c8bb..bee10aa91a93 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 85dcd9aa568a..c05ebaa00b05 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 dd1507f0c25a..79f367f449b2 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 942e4b992bf0..b6aeb61fafd7 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 4e1d3e51e2e3..8b3336b1e4cf 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 c6b7790d7024..6f3cc4f32d2e 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 3d20bc0a87d9..788a0b87c4e6 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 58792b18e6b8..e0a059e7186d 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 a642d97bf8cd..eb85eeb64201 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 d3934f08cc75..cb3a11828446 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 7745f081c8bb..bee10aa91a93 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 85dcd9aa568a..c05ebaa00b05 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 dd1507f0c25a..79f367f449b2 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 942e4b992bf0..b6aeb61fafd7 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 4e1d3e51e2e3..8b3336b1e4cf 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 c6b7790d7024..6f3cc4f32d2e 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 3d20bc0a87d9..788a0b87c4e6 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 58792b18e6b8..e0a059e7186d 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 a642d97bf8cd..eb85eeb64201 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 d3934f08cc75..cb3a11828446 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 7745f081c8bb..bee10aa91a93 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 85dcd9aa568a..c05ebaa00b05 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 dd1507f0c25a..79f367f449b2 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 942e4b992bf0..b6aeb61fafd7 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 4e1d3e51e2e3..8b3336b1e4cf 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 c6b7790d7024..6f3cc4f32d2e 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 3d20bc0a87d9..788a0b87c4e6 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 58792b18e6b8..e0a059e7186d 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 a642d97bf8cd..eb85eeb64201 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 d3934f08cc75..cb3a11828446 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 1fd55eca4bcf..61cae0464eda 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 7d1a2bf2ca47..3b29d45a1cb1 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 e7ad80b2769d..06d079efe06d 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 942e4b992bf0..b6aeb61fafd7 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 4e1d3e51e2e3..8b3336b1e4cf 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 c6b7790d7024..6f3cc4f32d2e 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 3d20bc0a87d9..788a0b87c4e6 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 58792b18e6b8..e0a059e7186d 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 a642d97bf8cd..eb85eeb64201 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 4f1419e6238e..1b194e83a113 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 1f7b7b1cf7ed..dffc548eccd6 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