tokenSupplier) {
- for (Authentication auth : authentications.values()) {
- if (auth instanceof HttpBearerAuth) {
- ((HttpBearerAuth) auth).setBearerToken(tokenSupplier);
- return;
- }
- }
- throw new RuntimeException("No Bearer authentication configured!");
- }
-
-
- /**
- * Helper method to set username for the first HTTP basic authentication.
- *
- * @param username Username
- */
- public void setUsername(String username) {
- for (Authentication auth : authentications.values()) {
- if (auth instanceof HttpBasicAuth) {
- ((HttpBasicAuth) auth).setUsername(username);
- return;
- }
- }
- throw new RuntimeException("No HTTP basic authentication configured!");
- }
-
- /**
- * Helper method to set password for the first HTTP basic authentication.
- * @param password Password
- */
- public void setPassword(String password) {
- for (Authentication auth : authentications.values()) {
- if (auth instanceof HttpBasicAuth) {
- ((HttpBasicAuth) auth).setPassword(password);
- return;
- }
- }
- throw new RuntimeException("No HTTP basic authentication configured!");
- }
- /**
- * Helper method to set API key value for the first API key authentication.
- *
- * @param apiKey the API key
- */
- public void setApiKey(String apiKey) {
- for (Authentication auth : authentications.values()) {
- if (auth instanceof ApiKeyAuth) {
- ((ApiKeyAuth) auth).setApiKey(apiKey);
- return;
- }
- }
- throw new RuntimeException("No API key authentication configured!");
- }
-
- /**
- * Helper method to set API key prefix for the first API key authentication.
- *
- * @param apiKeyPrefix API key prefix
- */
- public void setApiKeyPrefix(String apiKeyPrefix) {
- for (Authentication auth : authentications.values()) {
- if (auth instanceof ApiKeyAuth) {
- ((ApiKeyAuth) auth).setApiKeyPrefix(apiKeyPrefix);
- return;
- }
- }
- throw new RuntimeException("No API key authentication configured!");
- }
-
/**
* Helper method to set access token for the first OAuth2 authentication.
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/BaseApi.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/BaseApi.java
index 215945b3c224..a7bf67d441f1 100644
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/BaseApi.java
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/BaseApi.java
@@ -1,6 +1,6 @@
/*
* OpenAPI Petstore
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
+ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/JavaTimeFormatter.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/JavaTimeFormatter.java
index 8ae8407d4443..dc8fe94ff796 100644
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/JavaTimeFormatter.java
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/JavaTimeFormatter.java
@@ -1,6 +1,6 @@
/*
* OpenAPI Petstore
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
+ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339DateFormat.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339DateFormat.java
index f8da739df992..ca15fc51124c 100644
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339DateFormat.java
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339DateFormat.java
@@ -1,6 +1,6 @@
/*
* OpenAPI Petstore
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
+ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339InstantDeserializer.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339InstantDeserializer.java
index 08d64df2488d..64cae102ca19 100644
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339InstantDeserializer.java
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339InstantDeserializer.java
@@ -1,6 +1,6 @@
/*
* OpenAPI Petstore
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
+ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339JavaTimeModule.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339JavaTimeModule.java
index 87441ced24fb..81d9a5c275dc 100644
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339JavaTimeModule.java
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/RFC3339JavaTimeModule.java
@@ -1,6 +1,6 @@
/*
* OpenAPI Petstore
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
+ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/ServerConfiguration.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/ServerConfiguration.java
index 74095c567584..46fb957b0e19 100644
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/ServerConfiguration.java
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/ServerConfiguration.java
@@ -1,6 +1,6 @@
/*
* OpenAPI Petstore
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
+ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
diff --git a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/ServerVariable.java b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/ServerVariable.java
index 591bd36bd07b..4906c4424736 100644
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/ServerVariable.java
+++ b/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/ServerVariable.java
@@ -1,6 +1,6 @@
/*
* OpenAPI Petstore
- * This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
+ * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
*
* The version of the OpenAPI document: 1.0.0
*
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
deleted file mode 100644
index 11b2d288379d..000000000000
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
+++ /dev/null
@@ -1,113 +0,0 @@
-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
deleted file mode 100644
index 4c16f24f5ea5..000000000000
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/DefaultApi.java
+++ /dev/null
@@ -1,102 +0,0 @@
-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
deleted file mode 100644
index cfd5409e96b3..000000000000
--- a/samples/client/petstore/java/resttemplate-springBoot4-jackson2/src/main/java/org/openapitools/client/api/FakeApi.java
+++ /dev/null
@@ -1,1260 +0,0 @@
-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
- *
- * 200 - successful operation
- * @param requestBody request body (required)
- * @return ResponseEntity<Void>
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public ResponseEntity testAdditionalPropertiesReferenceWithHttpInfo(Map requestBody) throws RestClientException {
- Object localVarPostBody = requestBody;
-
- // verify the required parameter 'requestBody' is set
- if (requestBody == null) {
- throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'requestBody' when calling testAdditionalPropertiesReference");
- }
-
-
- 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/additionalProperties-reference", HttpMethod.POST, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
- }
- /**
- *
- * For this test, the body has to be a binary file.
- * 200 - Success
- * @param body image to upload (required)
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public void testBodyWithBinary(File body) throws RestClientException {
- testBodyWithBinaryWithHttpInfo(body);
- }
-
- /**
- *
- * For this test, the body has to be a binary file.
- *
200 - Success
- * @param body image to upload (required)
- * @return ResponseEntity<Void>
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public ResponseEntity testBodyWithBinaryWithHttpInfo(File body) throws RestClientException {
- Object localVarPostBody = body;
-
- // verify the required parameter 'body' is set
- if (body == null) {
- throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'body' when calling testBodyWithBinary");
- }
-
-
- 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 = {
- "image/png"
- };
- final MediaType localVarContentType = apiClient.selectHeaderContentType(localVarContentTypes);
-
- String[] localVarAuthNames = new String[] { };
-
- ParameterizedTypeReference localReturnType = new ParameterizedTypeReference() {};
- return apiClient.invokeAPI("/fake/body-with-binary", HttpMethod.PUT, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
- }
- /**
- *
- * For this test, the body for this request must reference a schema named `File`.
- * 200 - Success
- * @param fileSchemaTestClass (required)
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public void testBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass) throws RestClientException {
- testBodyWithFileSchemaWithHttpInfo(fileSchemaTestClass);
- }
-
- /**
- *
- * For this test, the body for this request must reference a schema named `File`.
- *
200 - Success
- * @param fileSchemaTestClass (required)
- * @return ResponseEntity<Void>
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public ResponseEntity testBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass fileSchemaTestClass) throws RestClientException {
- Object localVarPostBody = fileSchemaTestClass;
-
- // verify the required parameter 'fileSchemaTestClass' is set
- if (fileSchemaTestClass == null) {
- throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'fileSchemaTestClass' when calling testBodyWithFileSchema");
- }
-
-
- 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/body-with-file-schema", HttpMethod.PUT, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
- }
- /**
- *
- *
- * 200 - Success
- * @param query (required)
- * @param user (required)
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public void testBodyWithQueryParams(String query, User user) throws RestClientException {
- testBodyWithQueryParamsWithHttpInfo(query, user);
- }
-
- /**
- *
- *
- *
200 - Success
- * @param query (required)
- * @param user (required)
- * @return ResponseEntity<Void>
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public ResponseEntity testBodyWithQueryParamsWithHttpInfo(String query, User user) throws RestClientException {
- Object localVarPostBody = user;
-
- // verify the required parameter 'query' is set
- if (query == null) {
- throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'query' when calling testBodyWithQueryParams");
- }
-
- // verify the required parameter 'user' is set
- if (user == null) {
- throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'user' when calling testBodyWithQueryParams");
- }
-
-
- 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", query));
-
-
- 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/body-with-query-params", HttpMethod.PUT, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
- }
- /**
- * To test \"client\" model
- * To test \"client\" model
- * 200 - successful operation
- * @param client client model (required)
- * @return Client
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public Client testClientModel(Client client) throws RestClientException {
- return testClientModelWithHttpInfo(client).getBody();
- }
-
- /**
- * To test \"client\" model
- * To test \"client\" model
- *
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 testClientModelWithHttpInfo(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 testClientModel");
- }
-
-
- 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("/fake", HttpMethod.PATCH, Collections.emptyMap(), localVarQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAccept, localVarContentType, localVarAuthNames, localReturnType);
- }
- /**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * 400 - Invalid username supplied
- *
404 - User not found
- * @param number None (required)
- * @param _double None (required)
- * @param patternWithoutDelimiter None (required)
- * @param _byte None (required)
- * @param integer None (optional)
- * @param int32 None (optional)
- * @param int64 None (optional)
- * @param _float None (optional)
- * @param string None (optional)
- * @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
- * @param password None (optional)
- * @param paramCallback None (optional)
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public void testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws RestClientException {
- testEndpointParametersWithHttpInfo(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
- }
-
- /**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- *
400 - Invalid username supplied
- *
404 - User not found
- * @param number None (required)
- * @param _double None (required)
- * @param patternWithoutDelimiter None (required)
- * @param _byte None (required)
- * @param integer None (optional)
- * @param int32 None (optional)
- * @param int64 None (optional)
- * @param _float None (optional)
- * @param string None (optional)
- * @param binary None (optional)
- * @param date None (optional)
- * @param dateTime None (optional)
- * @param password None (optional)
- * @param paramCallback None (optional)
- * @return ResponseEntity<Void>
- * @throws RestClientException if an error occurs while attempting to invoke the API
- */
- public ResponseEntity testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws RestClientException {
- Object localVarPostBody = null;
-
- // verify the required parameter 'number' is set
- if (number == null) {
- throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'number' when calling testEndpointParameters");
- }
-
- // verify the required parameter '_double' is set
- if (_double == null) {
- throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter '_double' when calling testEndpointParameters");
- }
-
- // verify the required parameter 'patternWithoutDelimiter' is set
- if (patternWithoutDelimiter == null) {
- throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter 'patternWithoutDelimiter' when calling testEndpointParameters");
- }
-
- // verify the required parameter '_byte' is set
- if (_byte == null) {
- throw new HttpClientErrorException(HttpStatus.BAD_REQUEST, "Missing the required parameter '_byte' when calling testEndpointParameters");
- }
-
-
- final MultiValueMap localVarQueryParams = new LinkedMultiValueMap();
- final HttpHeaders localVarHeaderParams = new HttpHeaders();
- final MultiValueMap localVarCookieParams = new LinkedMultiValueMap();
- final MultiValueMap localVarFormParams = new LinkedMultiValueMap();
-
- if (integer != null)
- localVarFormParams.add("integer", integer);
- if (int32 != null)
- localVarFormParams.add("int32", int32);
- if (int64 != null)
- localVarFormParams.add("int64", int64);
- if (number != null)
- localVarFormParams.add("number", number);
- if (_float != null)
- localVarFormParams.add("float", _float);
- if (_double != null)
- localVarFormParams.add("double", _double);
- if (string != null)
- localVarFormParams.add("string", string);
- if (patternWithoutDelimiter != null)
- localVarFormParams.add("pattern_without_delimiter", patternWithoutDelimiter);
- if (_byte != null)
- localVarFormParams.add("byte", _byte);
- if (binary != null)
- localVarFormParams.add("binary", new FileSystemResource(binary));
- if (date != null)
- localVarFormParams.add("date", date);
- if (dateTime != null)
- localVarFormParams.add("dateTime", dateTime);
- if (password != null)
- localVarFormParams.add("password", password);
- if (paramCallback != null)
- localVarFormParams.add("callback", paramCallback);
-
- final String[] localVarAccepts = { };
- final List