enumValues) {
+ this.description = description;
+ this.defaultValue = defaultValue;
+ this.enumValues = enumValues;
+ }
+}
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
new file mode 100644
index 000000000000..11b2d288379d
--- /dev/null
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
@@ -0,0 +1,113 @@
+package org.openapitools.client.api;
+
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.BaseApi;
+
+import org.openapitools.client.model.Client;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+import org.springframework.util.LinkedMultiValueMap;
+import org.springframework.util.MultiValueMap;
+import org.springframework.web.client.RestClientException;
+import org.springframework.web.client.HttpClientErrorException;
+import org.springframework.core.ParameterizedTypeReference;
+import org.springframework.core.io.FileSystemResource;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.HttpMethod;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.MediaType;
+import org.springframework.http.ResponseEntity;
+
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.21.0-SNAPSHOT")
+public class AnotherFakeApi extends BaseApi {
+
+ public AnotherFakeApi() {
+ super(new ApiClient());
+ }
+
+ public AnotherFakeApi(ApiClient apiClient) {
+ super(apiClient);
+ }
+
+ /**
+ * To test special tags
+ * To test special tags and operation ID starting with number
+ * 200 - successful operation
+ * @param client client model (required)
+ * @return Client
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public Client call123testSpecialTags(Client client) throws RestClientException {
+ return call123testSpecialTagsWithHttpInfo(client).getBody();
+ }
+
+ /**
+ * To test special tags
+ * To test special tags and operation ID starting with number
+ *
200 - successful operation
+ * @param client client model (required)
+ * @return ResponseEntity<Client>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity call123testSpecialTagsWithHttpInfo(Client client) throws RestClientException {
+ Object localVarPostBody = client;
+
+ // verify the required parameter 'client' is set
+ if (client == null) {
+ throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'client' when calling call123testSpecialTags");
+ }
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/another-fake/dummy", HttpMethod.PATCH, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+
+ @Override
+ public ResponseEntity invokeAPI(String url, HttpMethod method, Object request, ParameterizedTypeReference returnType) throws RestClientException {
+ String localVarPath = url.replace(apiClient.getBasePath(), "");
+ Object localVarPostBody = request;
+
+ final Map uriVariables = new HashMap();
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ return apiClient.invokeAPI(localVarPath, method, uriVariables, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, returnType);
+ }
+}
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/DefaultApi.java
new file mode 100644
index 000000000000..4c16f24f5ea5
--- /dev/null
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/DefaultApi.java
@@ -0,0 +1,102 @@
+package org.openapitools.client.api;
+
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.BaseApi;
+
+import org.openapitools.client.model.FooGetDefaultResponse;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+import org.springframework.util.LinkedMultiValueMap;
+import org.springframework.util.MultiValueMap;
+import org.springframework.web.client.RestClientException;
+import org.springframework.web.client.HttpClientErrorException;
+import org.springframework.core.ParameterizedTypeReference;
+import org.springframework.core.io.FileSystemResource;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.HttpMethod;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.MediaType;
+import org.springframework.http.ResponseEntity;
+
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.21.0-SNAPSHOT")
+public class DefaultApi extends BaseApi {
+
+ public DefaultApi() {
+ super(new ApiClient());
+ }
+
+ public DefaultApi(ApiClient apiClient) {
+ super(apiClient);
+ }
+
+ /**
+ *
+ *
+ * 0 - response
+ * @return FooGetDefaultResponse
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public FooGetDefaultResponse fooGet() throws RestClientException {
+ return fooGetWithHttpInfo().getBody();
+ }
+
+ /**
+ *
+ *
+ *
0 - response
+ * @return ResponseEntity<FooGetDefaultResponse>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity fooGetWithHttpInfo() throws RestClientException {
+ Object localVarPostBody = null;
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = { };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/foo", HttpMethod.GET, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+
+ @Override
+ public ResponseEntity invokeAPI(String url, HttpMethod method, Object request, ParameterizedTypeReference returnType) throws RestClientException {
+ String localVarPath = url.replace(apiClient.getBasePath(), "");
+ Object localVarPostBody = request;
+
+ final Map uriVariables = new HashMap();
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = { };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ return apiClient.invokeAPI(localVarPath, method, uriVariables, localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, returnType);
+ }
+}
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/FakeApi.java
new file mode 100644
index 000000000000..cfd5409e96b3
--- /dev/null
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -0,0 +1,1260 @@
+package org.openapitools.client.api;
+
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.BaseApi;
+
+import java.math.BigDecimal;
+import org.openapitools.client.model.ChildWithNullable;
+import org.openapitools.client.model.Client;
+import org.openapitools.client.model.EnumClass;
+import org.openapitools.client.model.FakeBigDecimalMap200Response;
+import java.io.File;
+import org.openapitools.client.model.FileSchemaTestClass;
+import org.openapitools.client.model.HealthCheckResult;
+import java.time.LocalDate;
+import java.time.OffsetDateTime;
+import org.openapitools.client.model.OuterComposite;
+import org.openapitools.client.model.OuterObjectWithEnumProperty;
+import org.openapitools.client.model.Pet;
+import org.openapitools.client.model.TestInlineFreeformAdditionalPropertiesRequest;
+import org.openapitools.client.model.User;
+
+import java.util.Collections;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Locale;
+import java.util.Map;
+import java.util.stream.Collectors;
+
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Component;
+import org.springframework.util.LinkedMultiValueMap;
+import org.springframework.util.MultiValueMap;
+import org.springframework.web.client.RestClientException;
+import org.springframework.web.client.HttpClientErrorException;
+import org.springframework.core.ParameterizedTypeReference;
+import org.springframework.core.io.FileSystemResource;
+import org.springframework.http.HttpHeaders;
+import org.springframework.http.HttpMethod;
+import org.springframework.http.HttpStatus;
+import org.springframework.http.MediaType;
+import org.springframework.http.ResponseEntity;
+
+@jakarta.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen", comments = "Generator version: 7.21.0-SNAPSHOT")
+public class FakeApi extends BaseApi {
+
+ public FakeApi() {
+ super(new ApiClient());
+ }
+
+ public FakeApi(ApiClient apiClient) {
+ super(apiClient);
+ }
+
+ /**
+ *
+ * for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
+ * 200 - successful operation
+ * @return FakeBigDecimalMap200Response
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public FakeBigDecimalMap200Response fakeBigDecimalMap() throws RestClientException {
+ return fakeBigDecimalMapWithHttpInfo().getBody();
+ }
+
+ /**
+ *
+ * for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
+ *
200 - successful operation
+ * @return ResponseEntity<FakeBigDecimalMap200Response>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity fakeBigDecimalMapWithHttpInfo() throws RestClientException {
+ Object localVarPostBody = null;
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "*/*"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = { };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/fake/BigDecimalMap", HttpMethod.GET, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+ /**
+ * Health check endpoint
+ *
+ * 200 - The instance started successfully
+ * @return HealthCheckResult
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public HealthCheckResult fakeHealthGet() throws RestClientException {
+ return fakeHealthGetWithHttpInfo().getBody();
+ }
+
+ /**
+ * Health check endpoint
+ *
+ *
200 - The instance started successfully
+ * @return ResponseEntity<HealthCheckResult>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity fakeHealthGetWithHttpInfo() throws RestClientException {
+ Object localVarPostBody = null;
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = { };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/fake/health", HttpMethod.GET, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+ /**
+ * test http signature authentication
+ *
+ * 200 - The instance started successfully
+ * @param pet Pet object that needs to be added to the store (required)
+ * @param query1 query parameter (optional)
+ * @param header1 header parameter (optional)
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public void fakeHttpSignatureTest(Pet pet, String query1, String header1) throws RestClientException {
+ fakeHttpSignatureTestWithHttpInfo(pet, query1, header1);
+ }
+
+ /**
+ * test http signature authentication
+ *
+ *
200 - The instance started successfully
+ * @param pet Pet object that needs to be added to the store (required)
+ * @param query1 query parameter (optional)
+ * @param header1 header parameter (optional)
+ * @return ResponseEntity<Void>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity fakeHttpSignatureTestWithHttpInfo(Pet pet, String query1, String header1) throws RestClientException {
+ Object localVarPostBody = pet;
+
+ // verify the required parameter 'pet' is set
+ if (pet == null) {
+ throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'pet' when calling fakeHttpSignatureTest");
+ }
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ localVarQueryParams.putAll(apiClient.parameterToMultiValueMap(null, "query_1", query1));
+
+
+ if (header1 != null)
+ localVarHeaderParams.add("header_1", apiClient.parameterToString(header1));
+
+ final String[] localVarAccepts = { };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = {
+ "application/json", "application/xml"
+ };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { "http_signature_test" };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/fake/http-signature-test", HttpMethod.GET, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+ /**
+ *
+ * Test serialization of outer boolean types
+ * 200 - Output boolean
+ * @param body Input boolean as post body (optional)
+ * @return Boolean
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public Boolean fakeOuterBooleanSerialize(Boolean body) throws RestClientException {
+ return fakeOuterBooleanSerializeWithHttpInfo(body).getBody();
+ }
+
+ /**
+ *
+ * Test serialization of outer boolean types
+ *
200 - Output boolean
+ * @param body Input boolean as post body (optional)
+ * @return ResponseEntity<Boolean>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity fakeOuterBooleanSerializeWithHttpInfo(Boolean body) throws RestClientException {
+ Object localVarPostBody = body;
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "*/*"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/fake/outer/boolean", HttpMethod.POST, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+ /**
+ *
+ * Test serialization of object with outer number type
+ * 200 - Output composite
+ * @param outerComposite Input composite as post body (optional)
+ * @return OuterComposite
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public OuterComposite fakeOuterCompositeSerialize(OuterComposite outerComposite) throws RestClientException {
+ return fakeOuterCompositeSerializeWithHttpInfo(outerComposite).getBody();
+ }
+
+ /**
+ *
+ * Test serialization of object with outer number type
+ *
200 - Output composite
+ * @param outerComposite Input composite as post body (optional)
+ * @return ResponseEntity<OuterComposite>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity fakeOuterCompositeSerializeWithHttpInfo(OuterComposite outerComposite) throws RestClientException {
+ Object localVarPostBody = outerComposite;
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "*/*"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/fake/outer/composite", HttpMethod.POST, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+ /**
+ *
+ * Test serialization of outer number types
+ * 200 - Output number
+ * @param body Input number as post body (optional)
+ * @return BigDecimal
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public BigDecimal fakeOuterNumberSerialize(BigDecimal body) throws RestClientException {
+ return fakeOuterNumberSerializeWithHttpInfo(body).getBody();
+ }
+
+ /**
+ *
+ * Test serialization of outer number types
+ *
200 - Output number
+ * @param body Input number as post body (optional)
+ * @return ResponseEntity<BigDecimal>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity fakeOuterNumberSerializeWithHttpInfo(BigDecimal body) throws RestClientException {
+ Object localVarPostBody = body;
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "*/*"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/fake/outer/number", HttpMethod.POST, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+ /**
+ *
+ * Test serialization of outer string types
+ * 200 - Output string
+ * @param body Input string as post body (optional)
+ * @return String
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public String fakeOuterStringSerialize(String body) throws RestClientException {
+ return fakeOuterStringSerializeWithHttpInfo(body).getBody();
+ }
+
+ /**
+ *
+ * Test serialization of outer string types
+ *
200 - Output string
+ * @param body Input string as post body (optional)
+ * @return ResponseEntity<String>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity fakeOuterStringSerializeWithHttpInfo(String body) throws RestClientException {
+ Object localVarPostBody = body;
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "*/*"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/fake/outer/string", HttpMethod.POST, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+ /**
+ *
+ * Test serialization of enum (int) properties with examples
+ * 200 - Output enum (int)
+ * @param outerObjectWithEnumProperty Input enum (int) as post body (required)
+ * @return OuterObjectWithEnumProperty
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws RestClientException {
+ return fakePropertyEnumIntegerSerializeWithHttpInfo(outerObjectWithEnumProperty).getBody();
+ }
+
+ /**
+ *
+ * Test serialization of enum (int) properties with examples
+ *
200 - Output enum (int)
+ * @param outerObjectWithEnumProperty Input enum (int) as post body (required)
+ * @return ResponseEntity<OuterObjectWithEnumProperty>
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public ResponseEntity fakePropertyEnumIntegerSerializeWithHttpInfo(OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws RestClientException {
+ Object localVarPostBody = outerObjectWithEnumProperty;
+
+ // verify the required parameter 'outerObjectWithEnumProperty' is set
+ if (outerObjectWithEnumProperty == null) {
+ throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'outerObjectWithEnumProperty' when calling fakePropertyEnumIntegerSerialize");
+ }
+
+
+ final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
+ final HttpHeaders localVarHeaderParams = new HttpHeaders();
+ final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
+ final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
+
+ final String[] localVarAccepts = {
+ "*/*"
+ };
+ final List localVarAccept = apiClient.selectHeaderAccept(localVarAccepts);
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
+
+ String[] localVarAuthNames = new String[] { };
+
+ ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
+ return apiClient.invokeAPI("/fake/property/enum-int", HttpMethod.POST, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
+ }
+ /**
+ * test referenced additionalProperties
+ *
+ * 200 - successful operation
+ * @param requestBody request body (required)
+ * @throws RestClientException if an error occurs while attempting to invoke the API
+ */
+ public void testAdditionalPropertiesReference(Map requestBody) throws RestClientException {
+ testAdditionalPropertiesReferenceWithHttpInfo(requestBody);
+ }
+
+ /**
+ * test referenced additionalProperties
+ *
+ *