From 333f1b3ee6d0353d2b7a6d9d24841502068ae225 Mon Sep 17 00:00:00 2001
From: Mattias-Sehlstedt <60173714+Mattias-Sehlstedt@users.noreply.github.com>
Date: Wed, 5 Mar 2025 21:22:57 +0100
Subject: [PATCH 1/7] Align indentation
---
.../Java/libraries/webclient/api.mustache | 78 +--
.../org/openapitools/client/api/FakeApi.java | 474 +++++++++---------
.../org/openapitools/client/api/PetApi.java | 284 +++++------
.../org/openapitools/client/api/UserApi.java | 148 +++---
4 files changed, 492 insertions(+), 492 deletions(-)
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/webclient/api.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/webclient/api.mustache
index 47964e30a9c0..595a771a7870 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/webclient/api.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/webclient/api.mustache
@@ -85,53 +85,53 @@ public class {{classname}} {
{{/allParams}}
}
- /**
- * {{summary}}
- * {{notes}}
- {{#responses}} *
{{code}}{{#message}} - {{.}}{{/message}}
- {{/responses}} * @param requestParameters The {{operationId}} request parameters as object
- {{#returnType}} * @return {{.}}
- {{/returnType}} * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ /**
+ * {{summary}}
+ * {{notes}}
+ {{#responses}} *
{{code}}{{#message}} - {{.}}{{/message}}
+ {{/responses}} * @param requestParameters The {{operationId}} request parameters as object
+ {{#returnType}} * @return {{.}}
+ {{/returnType}} * @throws WebClientResponseException if an error occurs while attempting to invoke the API
{{#externalDocs}}
- * {{description}}
- * @see {{summary}} Documentation
+ * {{description}}
+ * @see {{summary}} Documentation
{{/externalDocs}}
- */
- public {{#returnType}}{{#vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#uniqueItems}}Set{{/uniqueItems}}{{^uniqueItems}}List{{/uniqueItems}}<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}Flux<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}Mono<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}} {{/returnType}}{{^returnType}}{{#vendorExtensions.x-webclient-blocking}}void{{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}Mono{{/vendorExtensions.x-webclient-blocking}} {{/returnType}}{{operationId}}({{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request requestParameters) throws WebClientResponseException {
- {{^returnType}}{{^vendorExtensions.x-webclient-blocking}}return {{/vendorExtensions.x-webclient-blocking}}{{/returnType}}{{#returnType}}return {{/returnType}}this.{{operationId}}({{#allParams}}requestParameters.{{paramName}}(){{^-last}}, {{/-last}}{{/allParams}});
- }
+ */
+ public {{#returnType}}{{#vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}{{#uniqueItems}}Set{{/uniqueItems}}{{^uniqueItems}}List{{/uniqueItems}}<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}Flux<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnBaseType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnBaseType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}Mono<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/vendorExtensions.x-webclient-blocking}} {{/returnType}}{{^returnType}}{{#vendorExtensions.x-webclient-blocking}}void{{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}Mono{{/vendorExtensions.x-webclient-blocking}} {{/returnType}}{{operationId}}({{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request requestParameters) throws WebClientResponseException {
+ {{^returnType}}{{^vendorExtensions.x-webclient-blocking}}return {{/vendorExtensions.x-webclient-blocking}}{{/returnType}}{{#returnType}}return {{/returnType}}this.{{operationId}}({{#allParams}}requestParameters.{{paramName}}(){{^-last}}, {{/-last}}{{/allParams}});
+ }
- /**
- * {{summary}}
- * {{notes}}
- {{#responses}} * {{code}}{{#message}} - {{.}}{{/message}}
- {{/responses}} * @param requestParameters The {{operationId}} request parameters as object
- {{#returnType}} * @return ResponseEntity<{{.}}>
- {{/returnType}} * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ /**
+ * {{summary}}
+ * {{notes}}
+ {{#responses}} *
{{code}}{{#message}} - {{.}}{{/message}}
+ {{/responses}} * @param requestParameters The {{operationId}} request parameters as object
+ {{#returnType}} * @return ResponseEntity<{{.}}>
+ {{/returnType}} * @throws WebClientResponseException if an error occurs while attempting to invoke the API
{{#externalDocs}}
- * {{description}}
- * @see {{summary}} Documentation
+ * {{description}}
+ * @see {{summary}} Documentation
{{/externalDocs}}
- */
- public {{#vendorExtensions.x-webclient-blocking}}{{#returnType}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}ResponseEntity>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}ResponseEntity<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/returnType}}{{^returnType}}ResponseEntity{{/returnType}} {{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}{{#returnType}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}Mono>>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}Mono>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/returnType}}{{^returnType}}Mono>{{/returnType}} {{/vendorExtensions.x-webclient-blocking}}{{operationId}}WithHttpInfo({{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request requestParameters) throws WebClientResponseException {
- return this.{{operationId}}WithHttpInfo({{#allParams}}requestParameters.{{paramName}}(){{^-last}}, {{/-last}}{{/allParams}});
- }
+ */
+ public {{#vendorExtensions.x-webclient-blocking}}{{#returnType}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}ResponseEntity>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}ResponseEntity<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/returnType}}{{^returnType}}ResponseEntity{{/returnType}} {{/vendorExtensions.x-webclient-blocking}}{{^vendorExtensions.x-webclient-blocking}}{{#returnType}}{{#vendorExtensions.x-webclient-return-except-list-of-string}}Mono>>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{^vendorExtensions.x-webclient-return-except-list-of-string}}Mono>{{/vendorExtensions.x-webclient-return-except-list-of-string}}{{/returnType}}{{^returnType}}Mono>{{/returnType}} {{/vendorExtensions.x-webclient-blocking}}{{operationId}}WithHttpInfo({{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request requestParameters) throws WebClientResponseException {
+ return this.{{operationId}}WithHttpInfo({{#allParams}}requestParameters.{{paramName}}(){{^-last}}, {{/-last}}{{/allParams}});
+ }
- /**
- * {{summary}}
- * {{notes}}
- {{#responses}} * {{code}}{{#message}} - {{.}}{{/message}}
- {{/responses}} * @param requestParameters The {{operationId}} request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ /**
+ * {{summary}}
+ * {{notes}}
+ {{#responses}} *
{{code}}{{#message}} - {{.}}{{/message}}
+ {{/responses}} * @param requestParameters The {{operationId}} request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
{{#externalDocs}}
- * {{description}}
- * @see {{summary}} Documentation
+ * {{description}}
+ * @see {{summary}} Documentation
{{/externalDocs}}
- */
- public ResponseSpec {{operationId}}WithResponseSpec({{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request requestParameters) throws WebClientResponseException {
- return this.{{operationId}}WithResponseSpec({{#allParams}}requestParameters.{{paramName}}(){{^-last}}, {{/-last}}{{/allParams}});
- }
+ */
+ public ResponseSpec {{operationId}}WithResponseSpec({{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request requestParameters) throws WebClientResponseException {
+ return this.{{operationId}}WithResponseSpec({{#allParams}}requestParameters.{{paramName}}(){{^-last}}, {{/-last}}{{/allParams}});
+ }
{{/hasSingleParam}}{{/hasParams}}{{/singleRequestParameter}}
/**
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java
index bfa4b2cf91cd..ca10966ab145 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -230,39 +230,39 @@ public FakeHttpSignatureTestRequest header1(String header1) {
}
- /**
- * test http signature authentication
- *
- *
200 - The instance started successfully
- * @param requestParameters The fakeHttpSignatureTest request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono fakeHttpSignatureTest(FakeHttpSignatureTestRequest requestParameters) throws WebClientResponseException {
- return this.fakeHttpSignatureTest(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
- }
-
- /**
- * test http signature authentication
- *
- * 200 - The instance started successfully
- * @param requestParameters The fakeHttpSignatureTest request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> fakeHttpSignatureTestWithHttpInfo(FakeHttpSignatureTestRequest requestParameters) throws WebClientResponseException {
- return this.fakeHttpSignatureTestWithHttpInfo(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
- }
-
- /**
- * test http signature authentication
- *
- * 200 - The instance started successfully
- * @param requestParameters The fakeHttpSignatureTest request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec fakeHttpSignatureTestWithResponseSpec(FakeHttpSignatureTestRequest requestParameters) throws WebClientResponseException {
- return this.fakeHttpSignatureTestWithResponseSpec(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
- }
+ /**
+ * test http signature authentication
+ *
+ *
200 - The instance started successfully
+ * @param requestParameters The fakeHttpSignatureTest request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono fakeHttpSignatureTest(FakeHttpSignatureTestRequest requestParameters) throws WebClientResponseException {
+ return this.fakeHttpSignatureTest(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
+ }
+
+ /**
+ * test http signature authentication
+ *
+ * 200 - The instance started successfully
+ * @param requestParameters The fakeHttpSignatureTest request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> fakeHttpSignatureTestWithHttpInfo(FakeHttpSignatureTestRequest requestParameters) throws WebClientResponseException {
+ return this.fakeHttpSignatureTestWithHttpInfo(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
+ }
+
+ /**
+ * test http signature authentication
+ *
+ * 200 - The instance started successfully
+ * @param requestParameters The fakeHttpSignatureTest request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec fakeHttpSignatureTestWithResponseSpec(FakeHttpSignatureTestRequest requestParameters) throws WebClientResponseException {
+ return this.fakeHttpSignatureTestWithResponseSpec(requestParameters.pet(), requestParameters.query1(), requestParameters.header1());
+ }
/**
@@ -946,39 +946,39 @@ public TestBodyWithQueryParamsRequest user(User user) {
}
- /**
- *
- *
- *
200 - Success
- * @param requestParameters The testBodyWithQueryParams request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono testBodyWithQueryParams(TestBodyWithQueryParamsRequest requestParameters) throws WebClientResponseException {
- return this.testBodyWithQueryParams(requestParameters.query(), requestParameters.user());
- }
-
- /**
- *
- *
- * 200 - Success
- * @param requestParameters The testBodyWithQueryParams request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> testBodyWithQueryParamsWithHttpInfo(TestBodyWithQueryParamsRequest requestParameters) throws WebClientResponseException {
- return this.testBodyWithQueryParamsWithHttpInfo(requestParameters.query(), requestParameters.user());
- }
-
- /**
- *
- *
- * 200 - Success
- * @param requestParameters The testBodyWithQueryParams request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec testBodyWithQueryParamsWithResponseSpec(TestBodyWithQueryParamsRequest requestParameters) throws WebClientResponseException {
- return this.testBodyWithQueryParamsWithResponseSpec(requestParameters.query(), requestParameters.user());
- }
+ /**
+ *
+ *
+ *
200 - Success
+ * @param requestParameters The testBodyWithQueryParams request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono testBodyWithQueryParams(TestBodyWithQueryParamsRequest requestParameters) throws WebClientResponseException {
+ return this.testBodyWithQueryParams(requestParameters.query(), requestParameters.user());
+ }
+
+ /**
+ *
+ *
+ * 200 - Success
+ * @param requestParameters The testBodyWithQueryParams request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> testBodyWithQueryParamsWithHttpInfo(TestBodyWithQueryParamsRequest requestParameters) throws WebClientResponseException {
+ return this.testBodyWithQueryParamsWithHttpInfo(requestParameters.query(), requestParameters.user());
+ }
+
+ /**
+ *
+ *
+ * 200 - Success
+ * @param requestParameters The testBodyWithQueryParams request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec testBodyWithQueryParamsWithResponseSpec(TestBodyWithQueryParamsRequest requestParameters) throws WebClientResponseException {
+ return this.testBodyWithQueryParamsWithResponseSpec(requestParameters.query(), requestParameters.user());
+ }
/**
@@ -1285,42 +1285,42 @@ public TestEndpointParametersRequest paramCallback(String paramCallback) {
}
- /**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- *
400 - Invalid username supplied
- *
404 - User not found
- * @param requestParameters The testEndpointParameters request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono testEndpointParameters(TestEndpointParametersRequest requestParameters) throws WebClientResponseException {
- return this.testEndpointParameters(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
- }
-
- /**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * 400 - Invalid username supplied
- *
404 - User not found
- * @param requestParameters The testEndpointParameters request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> testEndpointParametersWithHttpInfo(TestEndpointParametersRequest requestParameters) throws WebClientResponseException {
- return this.testEndpointParametersWithHttpInfo(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
- }
-
- /**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * 400 - Invalid username supplied
- *
404 - User not found
- * @param requestParameters The testEndpointParameters request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec testEndpointParametersWithResponseSpec(TestEndpointParametersRequest requestParameters) throws WebClientResponseException {
- return this.testEndpointParametersWithResponseSpec(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
- }
+ /**
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ *
400 - Invalid username supplied
+ *
404 - User not found
+ * @param requestParameters The testEndpointParameters request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono testEndpointParameters(TestEndpointParametersRequest requestParameters) throws WebClientResponseException {
+ return this.testEndpointParameters(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
+ }
+
+ /**
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * 400 - Invalid username supplied
+ *
404 - User not found
+ * @param requestParameters The testEndpointParameters request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> testEndpointParametersWithHttpInfo(TestEndpointParametersRequest requestParameters) throws WebClientResponseException {
+ return this.testEndpointParametersWithHttpInfo(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
+ }
+
+ /**
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * 400 - Invalid username supplied
+ *
404 - User not found
+ * @param requestParameters The testEndpointParameters request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec testEndpointParametersWithResponseSpec(TestEndpointParametersRequest requestParameters) throws WebClientResponseException {
+ return this.testEndpointParametersWithResponseSpec(requestParameters.number(), requestParameters._double(), requestParameters.patternWithoutDelimiter(), requestParameters._byte(), requestParameters.integer(), requestParameters.int32(), requestParameters.int64(), requestParameters._float(), requestParameters.string(), requestParameters.binary(), requestParameters.date(), requestParameters.dateTime(), requestParameters.password(), requestParameters.paramCallback());
+ }
/**
@@ -1589,42 +1589,42 @@ public TestEnumParametersRequest enumFormString(String enumFormString) {
}
- /**
- * To test enum parameters
- * To test enum parameters
- *
400 - Invalid request
- *
404 - Not found
- * @param requestParameters The testEnumParameters request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono testEnumParameters(TestEnumParametersRequest requestParameters) throws WebClientResponseException {
- return this.testEnumParameters(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
- }
-
- /**
- * To test enum parameters
- * To test enum parameters
- * 400 - Invalid request
- *
404 - Not found
- * @param requestParameters The testEnumParameters request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> testEnumParametersWithHttpInfo(TestEnumParametersRequest requestParameters) throws WebClientResponseException {
- return this.testEnumParametersWithHttpInfo(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
- }
-
- /**
- * To test enum parameters
- * To test enum parameters
- * 400 - Invalid request
- *
404 - Not found
- * @param requestParameters The testEnumParameters request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec testEnumParametersWithResponseSpec(TestEnumParametersRequest requestParameters) throws WebClientResponseException {
- return this.testEnumParametersWithResponseSpec(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
- }
+ /**
+ * To test enum parameters
+ * To test enum parameters
+ *
400 - Invalid request
+ *
404 - Not found
+ * @param requestParameters The testEnumParameters request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono testEnumParameters(TestEnumParametersRequest requestParameters) throws WebClientResponseException {
+ return this.testEnumParameters(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
+ }
+
+ /**
+ * To test enum parameters
+ * To test enum parameters
+ * 400 - Invalid request
+ *
404 - Not found
+ * @param requestParameters The testEnumParameters request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> testEnumParametersWithHttpInfo(TestEnumParametersRequest requestParameters) throws WebClientResponseException {
+ return this.testEnumParametersWithHttpInfo(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
+ }
+
+ /**
+ * To test enum parameters
+ * To test enum parameters
+ * 400 - Invalid request
+ *
404 - Not found
+ * @param requestParameters The testEnumParameters request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec testEnumParametersWithResponseSpec(TestEnumParametersRequest requestParameters) throws WebClientResponseException {
+ return this.testEnumParametersWithResponseSpec(requestParameters.enumHeaderStringArray(), requestParameters.enumHeaderString(), requestParameters.enumQueryStringArray(), requestParameters.enumQueryString(), requestParameters.enumQueryInteger(), requestParameters.enumQueryDouble(), requestParameters.enumQueryModelArray(), requestParameters.enumFormStringArray(), requestParameters.enumFormString());
+ }
/**
@@ -1814,39 +1814,39 @@ public TestGroupParametersRequest int64Group(Long int64Group) {
}
- /**
- * Fake endpoint to test group parameters (optional)
- * Fake endpoint to test group parameters (optional)
- *
400 - Something wrong
- * @param requestParameters The testGroupParameters request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono testGroupParameters(TestGroupParametersRequest requestParameters) throws WebClientResponseException {
- return this.testGroupParameters(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
- }
-
- /**
- * Fake endpoint to test group parameters (optional)
- * Fake endpoint to test group parameters (optional)
- * 400 - Something wrong
- * @param requestParameters The testGroupParameters request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> testGroupParametersWithHttpInfo(TestGroupParametersRequest requestParameters) throws WebClientResponseException {
- return this.testGroupParametersWithHttpInfo(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
- }
-
- /**
- * Fake endpoint to test group parameters (optional)
- * Fake endpoint to test group parameters (optional)
- * 400 - Something wrong
- * @param requestParameters The testGroupParameters request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec testGroupParametersWithResponseSpec(TestGroupParametersRequest requestParameters) throws WebClientResponseException {
- return this.testGroupParametersWithResponseSpec(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
- }
+ /**
+ * Fake endpoint to test group parameters (optional)
+ * Fake endpoint to test group parameters (optional)
+ *
400 - Something wrong
+ * @param requestParameters The testGroupParameters request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono testGroupParameters(TestGroupParametersRequest requestParameters) throws WebClientResponseException {
+ return this.testGroupParameters(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
+ }
+
+ /**
+ * Fake endpoint to test group parameters (optional)
+ * Fake endpoint to test group parameters (optional)
+ * 400 - Something wrong
+ * @param requestParameters The testGroupParameters request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> testGroupParametersWithHttpInfo(TestGroupParametersRequest requestParameters) throws WebClientResponseException {
+ return this.testGroupParametersWithHttpInfo(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
+ }
+
+ /**
+ * Fake endpoint to test group parameters (optional)
+ * Fake endpoint to test group parameters (optional)
+ * 400 - Something wrong
+ * @param requestParameters The testGroupParameters request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec testGroupParametersWithResponseSpec(TestGroupParametersRequest requestParameters) throws WebClientResponseException {
+ return this.testGroupParametersWithResponseSpec(requestParameters.requiredStringGroup(), requestParameters.requiredBooleanGroup(), requestParameters.requiredInt64Group(), requestParameters.stringGroup(), requestParameters.booleanGroup(), requestParameters.int64Group());
+ }
/**
@@ -2124,39 +2124,39 @@ public TestJsonFormDataRequest param2(String param2) {
}
- /**
- * test json serialization of form data
- *
- *
200 - successful operation
- * @param requestParameters The testJsonFormData request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono testJsonFormData(TestJsonFormDataRequest requestParameters) throws WebClientResponseException {
- return this.testJsonFormData(requestParameters.param(), requestParameters.param2());
- }
-
- /**
- * test json serialization of form data
- *
- * 200 - successful operation
- * @param requestParameters The testJsonFormData request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> testJsonFormDataWithHttpInfo(TestJsonFormDataRequest requestParameters) throws WebClientResponseException {
- return this.testJsonFormDataWithHttpInfo(requestParameters.param(), requestParameters.param2());
- }
-
- /**
- * test json serialization of form data
- *
- * 200 - successful operation
- * @param requestParameters The testJsonFormData request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec testJsonFormDataWithResponseSpec(TestJsonFormDataRequest requestParameters) throws WebClientResponseException {
- return this.testJsonFormDataWithResponseSpec(requestParameters.param(), requestParameters.param2());
- }
+ /**
+ * test json serialization of form data
+ *
+ *
200 - successful operation
+ * @param requestParameters The testJsonFormData request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono testJsonFormData(TestJsonFormDataRequest requestParameters) throws WebClientResponseException {
+ return this.testJsonFormData(requestParameters.param(), requestParameters.param2());
+ }
+
+ /**
+ * test json serialization of form data
+ *
+ * 200 - successful operation
+ * @param requestParameters The testJsonFormData request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> testJsonFormDataWithHttpInfo(TestJsonFormDataRequest requestParameters) throws WebClientResponseException {
+ return this.testJsonFormDataWithHttpInfo(requestParameters.param(), requestParameters.param2());
+ }
+
+ /**
+ * test json serialization of form data
+ *
+ * 200 - successful operation
+ * @param requestParameters The testJsonFormData request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec testJsonFormDataWithResponseSpec(TestJsonFormDataRequest requestParameters) throws WebClientResponseException {
+ return this.testJsonFormDataWithResponseSpec(requestParameters.param(), requestParameters.param2());
+ }
/**
@@ -2391,39 +2391,39 @@ public TestQueryParameterCollectionFormatRequest language(Map la
}
- /**
- *
- * To test the collection format in query parameters
- * 200 - Success
- * @param requestParameters The testQueryParameterCollectionFormat request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono testQueryParameterCollectionFormat(TestQueryParameterCollectionFormatRequest requestParameters) throws WebClientResponseException {
- return this.testQueryParameterCollectionFormat(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
- }
-
- /**
- *
- * To test the collection format in query parameters
- * 200 - Success
- * @param requestParameters The testQueryParameterCollectionFormat request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> testQueryParameterCollectionFormatWithHttpInfo(TestQueryParameterCollectionFormatRequest requestParameters) throws WebClientResponseException {
- return this.testQueryParameterCollectionFormatWithHttpInfo(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
- }
-
- /**
- *
- * To test the collection format in query parameters
- * 200 - Success
- * @param requestParameters The testQueryParameterCollectionFormat request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(TestQueryParameterCollectionFormatRequest requestParameters) throws WebClientResponseException {
- return this.testQueryParameterCollectionFormatWithResponseSpec(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
- }
+ /**
+ *
+ * To test the collection format in query parameters
+ *
200 - Success
+ * @param requestParameters The testQueryParameterCollectionFormat request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono testQueryParameterCollectionFormat(TestQueryParameterCollectionFormatRequest requestParameters) throws WebClientResponseException {
+ return this.testQueryParameterCollectionFormat(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
+ }
+
+ /**
+ *
+ * To test the collection format in query parameters
+ * 200 - Success
+ * @param requestParameters The testQueryParameterCollectionFormat request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> testQueryParameterCollectionFormatWithHttpInfo(TestQueryParameterCollectionFormatRequest requestParameters) throws WebClientResponseException {
+ return this.testQueryParameterCollectionFormatWithHttpInfo(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
+ }
+
+ /**
+ *
+ * To test the collection format in query parameters
+ * 200 - Success
+ * @param requestParameters The testQueryParameterCollectionFormat request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(TestQueryParameterCollectionFormatRequest requestParameters) throws WebClientResponseException {
+ return this.testQueryParameterCollectionFormatWithResponseSpec(requestParameters.pipe(), requestParameters.ioutil(), requestParameters.http(), requestParameters.url(), requestParameters.context(), requestParameters.allowEmpty(), requestParameters.language());
+ }
/**
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java
index 760c0f12ce5b..95584217515a 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java
@@ -153,42 +153,42 @@ public DeletePetRequest apiKey(String apiKey) {
}
- /**
- * Deletes a pet
- *
- *
200 - Successful operation
- *
400 - Invalid pet value
- * @param requestParameters The deletePet request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono deletePet(DeletePetRequest requestParameters) throws WebClientResponseException {
- return this.deletePet(requestParameters.petId(), requestParameters.apiKey());
- }
-
- /**
- * Deletes a pet
- *
- * 200 - Successful operation
- *
400 - Invalid pet value
- * @param requestParameters The deletePet request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws WebClientResponseException {
- return this.deletePetWithHttpInfo(requestParameters.petId(), requestParameters.apiKey());
- }
-
- /**
- * Deletes a pet
- *
- * 200 - Successful operation
- *
400 - Invalid pet value
- * @param requestParameters The deletePet request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws WebClientResponseException {
- return this.deletePetWithResponseSpec(requestParameters.petId(), requestParameters.apiKey());
- }
+ /**
+ * Deletes a pet
+ *
+ *
200 - Successful operation
+ *
400 - Invalid pet value
+ * @param requestParameters The deletePet request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono deletePet(DeletePetRequest requestParameters) throws WebClientResponseException {
+ return this.deletePet(requestParameters.petId(), requestParameters.apiKey());
+ }
+
+ /**
+ * Deletes a pet
+ *
+ * 200 - Successful operation
+ *
400 - Invalid pet value
+ * @param requestParameters The deletePet request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> deletePetWithHttpInfo(DeletePetRequest requestParameters) throws WebClientResponseException {
+ return this.deletePetWithHttpInfo(requestParameters.petId(), requestParameters.apiKey());
+ }
+
+ /**
+ * Deletes a pet
+ *
+ * 200 - Successful operation
+ *
400 - Invalid pet value
+ * @param requestParameters The deletePet request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec deletePetWithResponseSpec(DeletePetRequest requestParameters) throws WebClientResponseException {
+ return this.deletePetWithResponseSpec(requestParameters.petId(), requestParameters.apiKey());
+ }
/**
@@ -636,42 +636,42 @@ public UpdatePetWithFormRequest status(String status) {
}
- /**
- * Updates a pet in the store with form data
- *
- *
200 - Successful operation
- *
405 - Invalid input
- * @param requestParameters The updatePetWithForm request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono updatePetWithForm(UpdatePetWithFormRequest requestParameters) throws WebClientResponseException {
- return this.updatePetWithForm(requestParameters.petId(), requestParameters.name(), requestParameters.status());
- }
-
- /**
- * Updates a pet in the store with form data
- *
- * 200 - Successful operation
- *
405 - Invalid input
- * @param requestParameters The updatePetWithForm request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> updatePetWithFormWithHttpInfo(UpdatePetWithFormRequest requestParameters) throws WebClientResponseException {
- return this.updatePetWithFormWithHttpInfo(requestParameters.petId(), requestParameters.name(), requestParameters.status());
- }
-
- /**
- * Updates a pet in the store with form data
- *
- * 200 - Successful operation
- *
405 - Invalid input
- * @param requestParameters The updatePetWithForm request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec updatePetWithFormWithResponseSpec(UpdatePetWithFormRequest requestParameters) throws WebClientResponseException {
- return this.updatePetWithFormWithResponseSpec(requestParameters.petId(), requestParameters.name(), requestParameters.status());
- }
+ /**
+ * Updates a pet in the store with form data
+ *
+ *
200 - Successful operation
+ *
405 - Invalid input
+ * @param requestParameters The updatePetWithForm request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono updatePetWithForm(UpdatePetWithFormRequest requestParameters) throws WebClientResponseException {
+ return this.updatePetWithForm(requestParameters.petId(), requestParameters.name(), requestParameters.status());
+ }
+
+ /**
+ * Updates a pet in the store with form data
+ *
+ * 200 - Successful operation
+ *
405 - Invalid input
+ * @param requestParameters The updatePetWithForm request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> updatePetWithFormWithHttpInfo(UpdatePetWithFormRequest requestParameters) throws WebClientResponseException {
+ return this.updatePetWithFormWithHttpInfo(requestParameters.petId(), requestParameters.name(), requestParameters.status());
+ }
+
+ /**
+ * Updates a pet in the store with form data
+ *
+ * 200 - Successful operation
+ *
405 - Invalid input
+ * @param requestParameters The updatePetWithForm request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec updatePetWithFormWithResponseSpec(UpdatePetWithFormRequest requestParameters) throws WebClientResponseException {
+ return this.updatePetWithFormWithResponseSpec(requestParameters.petId(), requestParameters.name(), requestParameters.status());
+ }
/**
@@ -802,41 +802,41 @@ public UploadFileRequest _file(File _file) {
}
- /**
- * uploads an image
- *
- *
200 - successful operation
- * @param requestParameters The uploadFile request parameters as object
- * @return ModelApiResponse
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono uploadFile(UploadFileRequest requestParameters) throws WebClientResponseException {
- return this.uploadFile(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
- }
-
- /**
- * uploads an image
- *
- * 200 - successful operation
- * @param requestParameters The uploadFile request parameters as object
- * @return ResponseEntity<ModelApiResponse>
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> uploadFileWithHttpInfo(UploadFileRequest requestParameters) throws WebClientResponseException {
- return this.uploadFileWithHttpInfo(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
- }
-
- /**
- * uploads an image
- *
- * 200 - successful operation
- * @param requestParameters The uploadFile request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec uploadFileWithResponseSpec(UploadFileRequest requestParameters) throws WebClientResponseException {
- return this.uploadFileWithResponseSpec(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
- }
+ /**
+ * uploads an image
+ *
+ *
200 - successful operation
+ * @param requestParameters The uploadFile request parameters as object
+ * @return ModelApiResponse
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono uploadFile(UploadFileRequest requestParameters) throws WebClientResponseException {
+ return this.uploadFile(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
+ }
+
+ /**
+ * uploads an image
+ *
+ * 200 - successful operation
+ * @param requestParameters The uploadFile request parameters as object
+ * @return ResponseEntity<ModelApiResponse>
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> uploadFileWithHttpInfo(UploadFileRequest requestParameters) throws WebClientResponseException {
+ return this.uploadFileWithHttpInfo(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
+ }
+
+ /**
+ * uploads an image
+ *
+ * 200 - successful operation
+ * @param requestParameters The uploadFile request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec uploadFileWithResponseSpec(UploadFileRequest requestParameters) throws WebClientResponseException {
+ return this.uploadFileWithResponseSpec(requestParameters.petId(), requestParameters.additionalMetadata(), requestParameters._file());
+ }
/**
@@ -968,41 +968,41 @@ public UploadFileWithRequiredFileRequest additionalMetadata(String additionalMet
}
- /**
- * uploads an image (required)
- *
- *
200 - successful operation
- * @param requestParameters The uploadFileWithRequiredFile request parameters as object
- * @return ModelApiResponse
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono uploadFileWithRequiredFile(UploadFileWithRequiredFileRequest requestParameters) throws WebClientResponseException {
- return this.uploadFileWithRequiredFile(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
- }
-
- /**
- * uploads an image (required)
- *
- * 200 - successful operation
- * @param requestParameters The uploadFileWithRequiredFile request parameters as object
- * @return ResponseEntity<ModelApiResponse>
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> uploadFileWithRequiredFileWithHttpInfo(UploadFileWithRequiredFileRequest requestParameters) throws WebClientResponseException {
- return this.uploadFileWithRequiredFileWithHttpInfo(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
- }
-
- /**
- * uploads an image (required)
- *
- * 200 - successful operation
- * @param requestParameters The uploadFileWithRequiredFile request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec uploadFileWithRequiredFileWithResponseSpec(UploadFileWithRequiredFileRequest requestParameters) throws WebClientResponseException {
- return this.uploadFileWithRequiredFileWithResponseSpec(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
- }
+ /**
+ * uploads an image (required)
+ *
+ *
200 - successful operation
+ * @param requestParameters The uploadFileWithRequiredFile request parameters as object
+ * @return ModelApiResponse
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono uploadFileWithRequiredFile(UploadFileWithRequiredFileRequest requestParameters) throws WebClientResponseException {
+ return this.uploadFileWithRequiredFile(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
+ }
+
+ /**
+ * uploads an image (required)
+ *
+ * 200 - successful operation
+ * @param requestParameters The uploadFileWithRequiredFile request parameters as object
+ * @return ResponseEntity<ModelApiResponse>
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> uploadFileWithRequiredFileWithHttpInfo(UploadFileWithRequiredFileRequest requestParameters) throws WebClientResponseException {
+ return this.uploadFileWithRequiredFileWithHttpInfo(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
+ }
+
+ /**
+ * uploads an image (required)
+ *
+ * 200 - successful operation
+ * @param requestParameters The uploadFileWithRequiredFile request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec uploadFileWithRequiredFileWithResponseSpec(UploadFileWithRequiredFileRequest requestParameters) throws WebClientResponseException {
+ return this.uploadFileWithRequiredFileWithResponseSpec(requestParameters.petId(), requestParameters.requiredFile(), requestParameters.additionalMetadata());
+ }
/**
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java
index 81b1939a5958..795dc8058f41 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java
@@ -444,44 +444,44 @@ public LoginUserRequest password(String password) {
}
- /**
- * Logs user into the system
- *
- *
200 - successful operation
- *
400 - Invalid username/password supplied
- * @param requestParameters The loginUser request parameters as object
- * @return String
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono loginUser(LoginUserRequest requestParameters) throws WebClientResponseException {
- return this.loginUser(requestParameters.username(), requestParameters.password());
- }
-
- /**
- * Logs user into the system
- *
- * 200 - successful operation
- *
400 - Invalid username/password supplied
- * @param requestParameters The loginUser request parameters as object
- * @return ResponseEntity<String>
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> loginUserWithHttpInfo(LoginUserRequest requestParameters) throws WebClientResponseException {
- return this.loginUserWithHttpInfo(requestParameters.username(), requestParameters.password());
- }
-
- /**
- * Logs user into the system
- *
- * 200 - successful operation
- *
400 - Invalid username/password supplied
- * @param requestParameters The loginUser request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec loginUserWithResponseSpec(LoginUserRequest requestParameters) throws WebClientResponseException {
- return this.loginUserWithResponseSpec(requestParameters.username(), requestParameters.password());
- }
+ /**
+ * Logs user into the system
+ *
+ *
200 - successful operation
+ *
400 - Invalid username/password supplied
+ * @param requestParameters The loginUser request parameters as object
+ * @return String
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono loginUser(LoginUserRequest requestParameters) throws WebClientResponseException {
+ return this.loginUser(requestParameters.username(), requestParameters.password());
+ }
+
+ /**
+ * Logs user into the system
+ *
+ * 200 - successful operation
+ *
400 - Invalid username/password supplied
+ * @param requestParameters The loginUser request parameters as object
+ * @return ResponseEntity<String>
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> loginUserWithHttpInfo(LoginUserRequest requestParameters) throws WebClientResponseException {
+ return this.loginUserWithHttpInfo(requestParameters.username(), requestParameters.password());
+ }
+
+ /**
+ * Logs user into the system
+ *
+ * 200 - successful operation
+ *
400 - Invalid username/password supplied
+ * @param requestParameters The loginUser request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec loginUserWithResponseSpec(LoginUserRequest requestParameters) throws WebClientResponseException {
+ return this.loginUserWithResponseSpec(requestParameters.username(), requestParameters.password());
+ }
/**
@@ -661,42 +661,42 @@ public UpdateUserRequest user(User user) {
}
- /**
- * Updated user
- * This can only be done by the logged in user.
- *
400 - Invalid user supplied
- *
404 - User not found
- * @param requestParameters The updateUser request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono updateUser(UpdateUserRequest requestParameters) throws WebClientResponseException {
- return this.updateUser(requestParameters.username(), requestParameters.user());
- }
-
- /**
- * Updated user
- * This can only be done by the logged in user.
- * 400 - Invalid user supplied
- *
404 - User not found
- * @param requestParameters The updateUser request parameters as object
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public Mono> updateUserWithHttpInfo(UpdateUserRequest requestParameters) throws WebClientResponseException {
- return this.updateUserWithHttpInfo(requestParameters.username(), requestParameters.user());
- }
-
- /**
- * Updated user
- * This can only be done by the logged in user.
- * 400 - Invalid user supplied
- *
404 - User not found
- * @param requestParameters The updateUser request parameters as object
- * @return ResponseSpec
- * @throws WebClientResponseException if an error occurs while attempting to invoke the API
- */
- public ResponseSpec updateUserWithResponseSpec(UpdateUserRequest requestParameters) throws WebClientResponseException {
- return this.updateUserWithResponseSpec(requestParameters.username(), requestParameters.user());
- }
+ /**
+ * Updated user
+ * This can only be done by the logged in user.
+ *
400 - Invalid user supplied
+ *
404 - User not found
+ * @param requestParameters The updateUser request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono updateUser(UpdateUserRequest requestParameters) throws WebClientResponseException {
+ return this.updateUser(requestParameters.username(), requestParameters.user());
+ }
+
+ /**
+ * Updated user
+ * This can only be done by the logged in user.
+ * 400 - Invalid user supplied
+ *
404 - User not found
+ * @param requestParameters The updateUser request parameters as object
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public Mono> updateUserWithHttpInfo(UpdateUserRequest requestParameters) throws WebClientResponseException {
+ return this.updateUserWithHttpInfo(requestParameters.username(), requestParameters.user());
+ }
+
+ /**
+ * Updated user
+ * This can only be done by the logged in user.
+ * 400 - Invalid user supplied
+ *
404 - User not found
+ * @param requestParameters The updateUser request parameters as object
+ * @return ResponseSpec
+ * @throws WebClientResponseException if an error occurs while attempting to invoke the API
+ */
+ public ResponseSpec updateUserWithResponseSpec(UpdateUserRequest requestParameters) throws WebClientResponseException {
+ return this.updateUserWithResponseSpec(requestParameters.username(), requestParameters.user());
+ }
/**
From cca7e4ded165b22359aa214f5558d562499e4357 Mon Sep 17 00:00:00 2001
From: Mattias-Sehlstedt <60173714+Mattias-Sehlstedt@users.noreply.github.com>
Date: Wed, 5 Mar 2025 21:35:36 +0100
Subject: [PATCH 2/7] Add equals and hashcode to singleRequestParameter static
class
---
.../Java/libraries/restclient/api.mustache | 30 +++
.../Java/libraries/webclient/api.mustache | 30 +++
.../org/openapitools/client/api/FakeApi.java | 2 +
.../org/openapitools/client/api/PetApi.java | 2 +
.../org/openapitools/client/api/UserApi.java | 2 +
.../org/openapitools/client/api/FakeApi.java | 198 +++++++++++++++---
.../org/openapitools/client/api/PetApi.java | 97 +++++++--
.../org/openapitools/client/api/UserApi.java | 42 +++-
8 files changed, 364 insertions(+), 39 deletions(-)
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/restclient/api.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/restclient/api.mustache
index 3398a53d38c1..ea9df8c13737 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/restclient/api.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/restclient/api.mustache
@@ -9,6 +9,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
{{#useBeanValidation}}
@@ -89,6 +91,34 @@ public class {{classname}} {
}
{{/allParams}}
+ @Override
+ public boolean equals(Object o) {
+ {{#useReflectionEqualsHashCode}}
+ return EqualsBuilder.reflectionEquals(this, o, false, null, true);
+ {{/useReflectionEqualsHashCode}}
+ {{^useReflectionEqualsHashCode}}
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }{{#hasParams}}
+ {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request request = ({{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request) o;
+ return {{#allParams}}{{#vendorExtensions.x-is-jackson-optional-nullable}}equalsNullable(this.{{paramName}}, request.{{paramName}}()){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{#isByteArray}}Arrays{{/isByteArray}}{{^isByteArray}}Objects{{/isByteArray}}.equals(this.{{paramName}}, request.{{paramName}}()){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^-last}} &&
+ {{/-last}}{{/allParams}};{{/hasParams}}{{^hasParams}}
+ return true;{{/hasParams}}
+ {{/useReflectionEqualsHashCode}}
+ }
+
+ @Override
+ public int hashCode() {
+ {{#useReflectionEqualsHashCode}}
+ return HashCodeBuilder.reflectionHashCode(this);
+ {{/useReflectionEqualsHashCode}}
+ {{^useReflectionEqualsHashCode}}
+ return Objects.hash({{#allParams}}{{#vendorExtensions.x-is-jackson-optional-nullable}}hashCodeNullable({{paramName}}){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{^isByteArray}}{{paramName}}{{/isByteArray}}{{#isByteArray}}Arrays.hashCode({{paramName}}){{/isByteArray}}{{/vendorExtensions.x-is-jackson-optional-nullable}}{{^-last}}, {{/-last}}{{/allParams}});
+ {{/useReflectionEqualsHashCode}}
+ }
}
{{/staticRequest}}
diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/webclient/api.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/webclient/api.mustache
index 595a771a7870..7eec3cab2018 100644
--- a/modules/openapi-generator/src/main/resources/Java/libraries/webclient/api.mustache
+++ b/modules/openapi-generator/src/main/resources/Java/libraries/webclient/api.mustache
@@ -9,6 +9,8 @@ import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
{{#useBeanValidation}}
@@ -83,6 +85,34 @@ public class {{classname}} {
}
{{/allParams}}
+ @Override
+ public boolean equals(Object o) {
+ {{#useReflectionEqualsHashCode}}
+ return EqualsBuilder.reflectionEquals(this, o, false, null, true);
+ {{/useReflectionEqualsHashCode}}
+ {{^useReflectionEqualsHashCode}}
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }{{#hasParams}}
+ {{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request request = ({{#lambda.titlecase}}{{operationId}}{{/lambda.titlecase}}Request) o;
+ return {{#allParams}}{{#vendorExtensions.x-is-jackson-optional-nullable}}equalsNullable(this.{{paramName}}, request.{{paramName}}()){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{#isByteArray}}Arrays{{/isByteArray}}{{^isByteArray}}Objects{{/isByteArray}}.equals(this.{{paramName}}, request.{{paramName}}()){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^-last}} &&
+ {{/-last}}{{/allParams}};{{/hasParams}}{{^hasParams}}
+ return true;{{/hasParams}}
+ {{/useReflectionEqualsHashCode}}
+ }
+
+ @Override
+ public int hashCode() {
+ {{#useReflectionEqualsHashCode}}
+ return HashCodeBuilder.reflectionHashCode(this);
+ {{/useReflectionEqualsHashCode}}
+ {{^useReflectionEqualsHashCode}}
+ return Objects.hash({{#allParams}}{{#vendorExtensions.x-is-jackson-optional-nullable}}hashCodeNullable({{paramName}}){{/vendorExtensions.x-is-jackson-optional-nullable}}{{^vendorExtensions.x-is-jackson-optional-nullable}}{{^isByteArray}}{{paramName}}{{/isByteArray}}{{#isByteArray}}Arrays.hashCode({{paramName}}){{/isByteArray}}{{/vendorExtensions.x-is-jackson-optional-nullable}}{{^-last}}, {{/-last}}{{/allParams}});
+ {{/useReflectionEqualsHashCode}}
+ }
}
/**
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 424f6102a06d..da8bd98b5199 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
@@ -22,6 +22,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 11ff980de484..2a089d77f3e1 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
@@ -11,6 +11,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 1fea9b7c2603..30e0df646a6e 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
@@ -9,6 +9,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java
index ca10966ab145..446a8fe6dfa1 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -22,6 +22,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
@@ -228,11 +230,29 @@ public FakeHttpSignatureTestRequest header1(String header1) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ FakeHttpSignatureTestRequest request = (FakeHttpSignatureTestRequest) o;
+ return Objects.equals(this.pet, request.pet()) &&
+ Objects.equals(this.query1, request.query1()) &&
+ Objects.equals(this.header1, request.header1());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(pet, query1, header1);
+ }
}
/**
* test http signature authentication
- *
+ *
*
200 - The instance started successfully
* @param requestParameters The fakeHttpSignatureTest request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -243,7 +263,7 @@ public Mono fakeHttpSignatureTest(FakeHttpSignatureTestRequest requestPara
/**
* test http signature authentication
- *
+ *
* 200 - The instance started successfully
* @param requestParameters The fakeHttpSignatureTest request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -254,7 +274,7 @@ public Mono> fakeHttpSignatureTestWithHttpInfo(FakeHttpSign
/**
* test http signature authentication
- *
+ *
* 200 - The instance started successfully
* @param requestParameters The fakeHttpSignatureTest request parameters as object
* @return ResponseSpec
@@ -944,11 +964,28 @@ public TestBodyWithQueryParamsRequest user(User user) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TestBodyWithQueryParamsRequest request = (TestBodyWithQueryParamsRequest) o;
+ return Objects.equals(this.query, request.query()) &&
+ Objects.equals(this.user, request.user());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(query, user);
+ }
}
/**
- *
- *
+ *
+ *
*
200 - Success
* @param requestParameters The testBodyWithQueryParams request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -958,8 +995,8 @@ public Mono testBodyWithQueryParams(TestBodyWithQueryParamsRequest request
}
/**
- *
- *
+ *
+ *
* 200 - Success
* @param requestParameters The testBodyWithQueryParams request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -969,8 +1006,8 @@ public Mono> testBodyWithQueryParamsWithHttpInfo(TestBodyWi
}
/**
- *
- *
+ *
+ *
* 200 - Success
* @param requestParameters The testBodyWithQueryParams request parameters as object
* @return ResponseSpec
@@ -1283,11 +1320,40 @@ public TestEndpointParametersRequest paramCallback(String paramCallback) {
return this;
}
- }
-
- /**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TestEndpointParametersRequest request = (TestEndpointParametersRequest) o;
+ return Objects.equals(this.number, request.number()) &&
+ Objects.equals(this._double, request._double()) &&
+ Objects.equals(this.patternWithoutDelimiter, request.patternWithoutDelimiter()) &&
+ Arrays.equals(this._byte, request._byte()) &&
+ Objects.equals(this.integer, request.integer()) &&
+ Objects.equals(this.int32, request.int32()) &&
+ Objects.equals(this.int64, request.int64()) &&
+ Objects.equals(this._float, request._float()) &&
+ Objects.equals(this.string, request.string()) &&
+ Objects.equals(this.binary, request.binary()) &&
+ Objects.equals(this.date, request.date()) &&
+ Objects.equals(this.dateTime, request.dateTime()) &&
+ Objects.equals(this.password, request.password()) &&
+ Objects.equals(this.paramCallback, request.paramCallback());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(number, _double, patternWithoutDelimiter, Arrays.hashCode(_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 requestParameters The testEndpointParameters request parameters as object
@@ -1298,8 +1364,8 @@ public Mono testEndpointParameters(TestEndpointParametersRequest requestPa
}
/**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
* 400 - Invalid username supplied
*
404 - User not found
* @param requestParameters The testEndpointParameters request parameters as object
@@ -1310,8 +1376,8 @@ public Mono> testEndpointParametersWithHttpInfo(TestEndpoin
}
/**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
* 400 - Invalid username supplied
*
404 - User not found
* @param requestParameters The testEndpointParameters request parameters as object
@@ -1587,6 +1653,30 @@ public TestEnumParametersRequest enumFormString(String enumFormString) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TestEnumParametersRequest request = (TestEnumParametersRequest) o;
+ return Objects.equals(this.enumHeaderStringArray, request.enumHeaderStringArray()) &&
+ Objects.equals(this.enumHeaderString, request.enumHeaderString()) &&
+ Objects.equals(this.enumQueryStringArray, request.enumQueryStringArray()) &&
+ Objects.equals(this.enumQueryString, request.enumQueryString()) &&
+ Objects.equals(this.enumQueryInteger, request.enumQueryInteger()) &&
+ Objects.equals(this.enumQueryDouble, request.enumQueryDouble()) &&
+ Objects.equals(this.enumQueryModelArray, request.enumQueryModelArray()) &&
+ Objects.equals(this.enumFormStringArray, request.enumFormStringArray()) &&
+ Objects.equals(this.enumFormString, request.enumFormString());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString);
+ }
}
/**
@@ -1812,6 +1902,27 @@ public TestGroupParametersRequest int64Group(Long int64Group) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TestGroupParametersRequest request = (TestGroupParametersRequest) o;
+ return Objects.equals(this.requiredStringGroup, request.requiredStringGroup()) &&
+ Objects.equals(this.requiredBooleanGroup, request.requiredBooleanGroup()) &&
+ Objects.equals(this.requiredInt64Group, request.requiredInt64Group()) &&
+ Objects.equals(this.stringGroup, request.stringGroup()) &&
+ Objects.equals(this.booleanGroup, request.booleanGroup()) &&
+ Objects.equals(this.int64Group, request.int64Group());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
+ }
}
/**
@@ -2122,11 +2233,28 @@ public TestJsonFormDataRequest param2(String param2) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TestJsonFormDataRequest request = (TestJsonFormDataRequest) o;
+ return Objects.equals(this.param, request.param()) &&
+ Objects.equals(this.param2, request.param2());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(param, param2);
+ }
}
/**
* test json serialization of form data
- *
+ *
*
200 - successful operation
* @param requestParameters The testJsonFormData request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -2137,7 +2265,7 @@ public Mono testJsonFormData(TestJsonFormDataRequest requestParameters) th
/**
* test json serialization of form data
- *
+ *
* 200 - successful operation
* @param requestParameters The testJsonFormData request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -2148,7 +2276,7 @@ public Mono> testJsonFormDataWithHttpInfo(TestJsonFormDataR
/**
* test json serialization of form data
- *
+ *
* 200 - successful operation
* @param requestParameters The testJsonFormData request parameters as object
* @return ResponseSpec
@@ -2389,10 +2517,32 @@ public TestQueryParameterCollectionFormatRequest language(Map la
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ TestQueryParameterCollectionFormatRequest request = (TestQueryParameterCollectionFormatRequest) o;
+ return Objects.equals(this.pipe, request.pipe()) &&
+ Objects.equals(this.ioutil, request.ioutil()) &&
+ Objects.equals(this.http, request.http()) &&
+ Objects.equals(this.url, request.url()) &&
+ Objects.equals(this.context, request.context()) &&
+ Objects.equals(this.allowEmpty, request.allowEmpty()) &&
+ Objects.equals(this.language, request.language());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(pipe, ioutil, http, url, context, allowEmpty, language);
+ }
}
/**
- *
+ *
* To test the collection format in query parameters
* 200 - Success
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
@@ -2403,7 +2553,7 @@ public Mono testQueryParameterCollectionFormat(TestQueryParameterCollectio
}
/**
- *
+ *
* To test the collection format in query parameters
* 200 - Success
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
@@ -2414,7 +2564,7 @@ public Mono> testQueryParameterCollectionFormatWithHttpInfo
}
/**
- *
+ *
* To test the collection format in query parameters
* 200 - Success
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java
index 95584217515a..6ea30fe21d07 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java
@@ -11,6 +11,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
@@ -151,11 +153,28 @@ public DeletePetRequest apiKey(String apiKey) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ DeletePetRequest request = (DeletePetRequest) o;
+ return Objects.equals(this.petId, request.petId()) &&
+ Objects.equals(this.apiKey, request.apiKey());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(petId, apiKey);
+ }
}
/**
* Deletes a pet
- *
+ *
*
200 - Successful operation
*
400 - Invalid pet value
* @param requestParameters The deletePet request parameters as object
@@ -167,7 +186,7 @@ public Mono deletePet(DeletePetRequest requestParameters) throws WebClient
/**
* Deletes a pet
- *
+ *
* 200 - Successful operation
*
400 - Invalid pet value
* @param requestParameters The deletePet request parameters as object
@@ -179,7 +198,7 @@ public Mono> deletePetWithHttpInfo(DeletePetRequest request
/**
* Deletes a pet
- *
+ *
* 200 - Successful operation
*
400 - Invalid pet value
* @param requestParameters The deletePet request parameters as object
@@ -634,11 +653,29 @@ public UpdatePetWithFormRequest status(String status) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ UpdatePetWithFormRequest request = (UpdatePetWithFormRequest) o;
+ return Objects.equals(this.petId, request.petId()) &&
+ Objects.equals(this.name, request.name()) &&
+ Objects.equals(this.status, request.status());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(petId, name, status);
+ }
}
/**
* Updates a pet in the store with form data
- *
+ *
*
200 - Successful operation
*
405 - Invalid input
* @param requestParameters The updatePetWithForm request parameters as object
@@ -650,7 +687,7 @@ public Mono updatePetWithForm(UpdatePetWithFormRequest requestParameters)
/**
* Updates a pet in the store with form data
- *
+ *
* 200 - Successful operation
*
405 - Invalid input
* @param requestParameters The updatePetWithForm request parameters as object
@@ -662,7 +699,7 @@ public Mono> updatePetWithFormWithHttpInfo(UpdatePetWithFor
/**
* Updates a pet in the store with form data
- *
+ *
* 200 - Successful operation
*
405 - Invalid input
* @param requestParameters The updatePetWithForm request parameters as object
@@ -800,11 +837,29 @@ public UploadFileRequest _file(File _file) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ UploadFileRequest request = (UploadFileRequest) o;
+ return Objects.equals(this.petId, request.petId()) &&
+ Objects.equals(this.additionalMetadata, request.additionalMetadata()) &&
+ Objects.equals(this._file, request._file());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(petId, additionalMetadata, _file);
+ }
}
/**
* uploads an image
- *
+ *
*
200 - successful operation
* @param requestParameters The uploadFile request parameters as object
* @return ModelApiResponse
@@ -816,7 +871,7 @@ public Mono uploadFile(UploadFileRequest requestParameters) th
/**
* uploads an image
- *
+ *
* 200 - successful operation
* @param requestParameters The uploadFile request parameters as object
* @return ResponseEntity<ModelApiResponse>
@@ -828,7 +883,7 @@ public Mono> uploadFileWithHttpInfo(UploadFileR
/**
* uploads an image
- *
+ *
* 200 - successful operation
* @param requestParameters The uploadFile request parameters as object
* @return ResponseSpec
@@ -966,11 +1021,29 @@ public UploadFileWithRequiredFileRequest additionalMetadata(String additionalMet
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ UploadFileWithRequiredFileRequest request = (UploadFileWithRequiredFileRequest) o;
+ return Objects.equals(this.petId, request.petId()) &&
+ Objects.equals(this.requiredFile, request.requiredFile()) &&
+ Objects.equals(this.additionalMetadata, request.additionalMetadata());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(petId, requiredFile, additionalMetadata);
+ }
}
/**
* uploads an image (required)
- *
+ *
*
200 - successful operation
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
* @return ModelApiResponse
@@ -982,7 +1055,7 @@ public Mono uploadFileWithRequiredFile(UploadFileWithRequiredF
/**
* uploads an image (required)
- *
+ *
* 200 - successful operation
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
* @return ResponseEntity<ModelApiResponse>
@@ -994,7 +1067,7 @@ public Mono> uploadFileWithRequiredFileWithHttp
/**
* uploads an image (required)
- *
+ *
* 200 - successful operation
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
* @return ResponseSpec
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java
index 795dc8058f41..cc00710f213b 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java
@@ -9,6 +9,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
@@ -442,11 +444,28 @@ public LoginUserRequest password(String password) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ LoginUserRequest request = (LoginUserRequest) o;
+ return Objects.equals(this.username, request.username()) &&
+ Objects.equals(this.password, request.password());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(username, password);
+ }
}
/**
* Logs user into the system
- *
+ *
*
200 - successful operation
*
400 - Invalid username/password supplied
* @param requestParameters The loginUser request parameters as object
@@ -459,7 +478,7 @@ public Mono loginUser(LoginUserRequest requestParameters) throws WebClie
/**
* Logs user into the system
- *
+ *
* 200 - successful operation
*
400 - Invalid username/password supplied
* @param requestParameters The loginUser request parameters as object
@@ -472,7 +491,7 @@ public Mono> loginUserWithHttpInfo(LoginUserRequest reque
/**
* Logs user into the system
- *
+ *
* 200 - successful operation
*
400 - Invalid username/password supplied
* @param requestParameters The loginUser request parameters as object
@@ -659,6 +678,23 @@ public UpdateUserRequest user(User user) {
return this;
}
+ @Override
+ public boolean equals(Object o) {
+ if (this == o) {
+ return true;
+ }
+ if (o == null || getClass() != o.getClass()) {
+ return false;
+ }
+ UpdateUserRequest request = (UpdateUserRequest) o;
+ return Objects.equals(this.username, request.username()) &&
+ Objects.equals(this.user, request.user());
+ }
+
+ @Override
+ public int hashCode() {
+ return Objects.hash(username, user);
+ }
}
/**
From 1a6fb0bc477b810cd136aac56c052e6535b586c0 Mon Sep 17 00:00:00 2001
From: Mattias-Sehlstedt <60173714+Mattias-Sehlstedt@users.noreply.github.com>
Date: Sat, 8 Mar 2025 17:57:56 +0100
Subject: [PATCH 3/7] Add missing sample updates that were affected by new
imports
---
.../org/openapitools/client/api/AuthApi.java | 2 +
.../org/openapitools/client/api/BodyApi.java | 2 +
.../org/openapitools/client/api/FormApi.java | 2 +
.../openapitools/client/api/HeaderApi.java | 2 +
.../org/openapitools/client/api/PathApi.java | 2 +
.../org/openapitools/client/api/QueryApi.java | 2 +
.../openapitools/client/api/ResourceApi.java | 2 +
.../openapitools/client/api/ResourceApi.java | 2 +
.../openapitools/client/api/DefaultApi.java | 2 +
.../client/api/AnotherFakeApi.java | 2 +
.../openapitools/client/api/DefaultApi.java | 2 +
.../org/openapitools/client/api/FakeApi.java | 2 +
.../client/api/FakeClassnameTags123Api.java | 2 +
.../org/openapitools/client/api/PetApi.java | 2 +
.../org/openapitools/client/api/StoreApi.java | 2 +
.../org/openapitools/client/api/UserApi.java | 2 +
.../client/api/AnotherFakeApi.java | 2 +
.../openapitools/client/api/DefaultApi.java | 2 +
.../client/api/FakeClassnameTags123Api.java | 2 +
.../org/openapitools/client/api/StoreApi.java | 2 +
.../client/api/AnotherFakeApi.java | 2 +
.../openapitools/client/api/DefaultApi.java | 2 +
.../org/openapitools/client/api/FakeApi.java | 2 +
.../client/api/FakeClassnameTags123Api.java | 2 +
.../org/openapitools/client/api/PetApi.java | 2 +
.../org/openapitools/client/api/StoreApi.java | 2 +
.../org/openapitools/client/api/UserApi.java | 2 +
.../client/api/AnotherFakeApi.java | 2 +
.../openapitools/client/api/DefaultApi.java | 2 +
.../org/openapitools/client/api/FakeApi.java | 2 +
.../client/api/FakeClassnameTags123Api.java | 2 +
.../org/openapitools/client/api/PetApi.java | 2 +
.../org/openapitools/client/api/StoreApi.java | 2 +
.../org/openapitools/client/api/UserApi.java | 2 +
.../openapitools/client/api/DefaultApi.java | 2 +
.../client/api/AnotherFakeApi.java | 2 +
.../openapitools/client/api/DefaultApi.java | 2 +
.../org/openapitools/client/api/FakeApi.java | 2 +
.../client/api/FakeClassnameTags123Api.java | 2 +
.../org/openapitools/client/api/PetApi.java | 2 +
.../org/openapitools/client/api/StoreApi.java | 2 +
.../org/openapitools/client/api/UserApi.java | 2 +
.../client/api/AnotherFakeApi.java | 2 +
.../openapitools/client/api/DefaultApi.java | 2 +
.../org/openapitools/client/api/FakeApi.java | 42 +++++++++----------
.../client/api/FakeClassnameTags123Api.java | 2 +
.../org/openapitools/client/api/PetApi.java | 24 +++++------
.../org/openapitools/client/api/StoreApi.java | 2 +
.../org/openapitools/client/api/UserApi.java | 6 +--
.../client/api/AnotherFakeApi.java | 2 +
.../openapitools/client/api/DefaultApi.java | 2 +
.../org/openapitools/client/api/FakeApi.java | 2 +
.../client/api/FakeClassnameTags123Api.java | 2 +
.../org/openapitools/client/api/PetApi.java | 2 +
.../org/openapitools/client/api/StoreApi.java | 2 +
.../org/openapitools/client/api/UserApi.java | 2 +
56 files changed, 142 insertions(+), 36 deletions(-)
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 f3e1305d19b4..305733645dff 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
@@ -7,6 +7,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 8e6fc67c6304..5c56b5cb738d 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
@@ -11,6 +11,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 434625d6f3dd..dc4b591dc0da 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 fb97bfb5bc45..500495851400 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 0db2835af266..fd9e1d7bd32a 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 48a36f9626c6..7fc47f678ce6 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
@@ -14,6 +14,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 8540cad6b43a..4b7c338f7aac 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 918f85eff429..fc8166a00714 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 59f492853689..71234a559797 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 036a164bb628..f2ec8316d6af 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 744baa8f95c6..9997b4b4719d 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 810c24d80533..d336d0f2298c 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
@@ -22,6 +22,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 3a2f5a886d10..0b1ef725949f 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 ab45a8d57a81..277a0e71786a 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
@@ -11,6 +11,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 fec8c232cdec..555a7b270027 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 a03e3f7c2b93..496d4b1726a3 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
@@ -9,6 +9,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 036a164bb628..f2ec8316d6af 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 744baa8f95c6..9997b4b4719d 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 3a2f5a886d10..0b1ef725949f 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 fec8c232cdec..555a7b270027 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 036a164bb628..f2ec8316d6af 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 744baa8f95c6..9997b4b4719d 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 810c24d80533..d336d0f2298c 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
@@ -22,6 +22,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 3a2f5a886d10..0b1ef725949f 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 ab45a8d57a81..277a0e71786a 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
@@ -11,6 +11,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 fec8c232cdec..555a7b270027 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 a03e3f7c2b93..496d4b1726a3 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
@@ -9,6 +9,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 8d3359b67e18..5fc2e97c4db4 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 ab8a0a97fd1c..7c974105d3cb 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 ce05b185f0f9..95862f1f215f 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
@@ -22,6 +22,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 7a27fcc7ac0e..179bbed012b5 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 f284056f2901..7d175b9096b8 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
@@ -11,6 +11,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 073336e10cee..49b78cae4353 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 467402a0ca22..fd77f0f2d63f 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
@@ -9,6 +9,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 fdff2158bb17..a3d749999c91 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 1912ed42e94f..789e4da2ad37 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 0efb49aea7b1..85959040871f 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 a1b6637bc73c..a72ac90f0b4e 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
@@ -22,6 +22,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 bd7f7d9c833a..be832a83439f 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 0450ce585614..b37958d441a4 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
@@ -11,6 +11,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 173f62da73f2..6283baa1afae 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 105229ec9222..5cc4c2122c68 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
@@ -9,6 +9,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/AnotherFakeApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
index 1912ed42e94f..789e4da2ad37 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/DefaultApi.java
index 0efb49aea7b1..85959040871f 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/DefaultApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/DefaultApi.java
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java
index 446a8fe6dfa1..a9e69f56cbd8 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -252,7 +252,7 @@ public int hashCode() {
/**
* test http signature authentication
- *
+ *
*
200 - The instance started successfully
* @param requestParameters The fakeHttpSignatureTest request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -263,7 +263,7 @@ public Mono fakeHttpSignatureTest(FakeHttpSignatureTestRequest requestPara
/**
* test http signature authentication
- *
+ *
* 200 - The instance started successfully
* @param requestParameters The fakeHttpSignatureTest request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -274,7 +274,7 @@ public Mono> fakeHttpSignatureTestWithHttpInfo(FakeHttpSign
/**
* test http signature authentication
- *
+ *
* 200 - The instance started successfully
* @param requestParameters The fakeHttpSignatureTest request parameters as object
* @return ResponseSpec
@@ -984,8 +984,8 @@ public int hashCode() {
}
/**
- *
- *
+ *
+ *
*
200 - Success
* @param requestParameters The testBodyWithQueryParams request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -995,8 +995,8 @@ public Mono testBodyWithQueryParams(TestBodyWithQueryParamsRequest request
}
/**
- *
- *
+ *
+ *
* 200 - Success
* @param requestParameters The testBodyWithQueryParams request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -1006,8 +1006,8 @@ public Mono> testBodyWithQueryParamsWithHttpInfo(TestBodyWi
}
/**
- *
- *
+ *
+ *
* 200 - Success
* @param requestParameters The testBodyWithQueryParams request parameters as object
* @return ResponseSpec
@@ -1352,8 +1352,8 @@ public int hashCode() {
}
/**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
*
400 - Invalid username supplied
*
404 - User not found
* @param requestParameters The testEndpointParameters request parameters as object
@@ -1364,8 +1364,8 @@ public Mono testEndpointParameters(TestEndpointParametersRequest requestPa
}
/**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
* 400 - Invalid username supplied
*
404 - User not found
* @param requestParameters The testEndpointParameters request parameters as object
@@ -1376,8 +1376,8 @@ public Mono> testEndpointParametersWithHttpInfo(TestEndpoin
}
/**
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
- * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+ * Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
* 400 - Invalid username supplied
*
404 - User not found
* @param requestParameters The testEndpointParameters request parameters as object
@@ -2254,7 +2254,7 @@ public int hashCode() {
/**
* test json serialization of form data
- *
+ *
*
200 - successful operation
* @param requestParameters The testJsonFormData request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -2265,7 +2265,7 @@ public Mono testJsonFormData(TestJsonFormDataRequest requestParameters) th
/**
* test json serialization of form data
- *
+ *
* 200 - successful operation
* @param requestParameters The testJsonFormData request parameters as object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
@@ -2276,7 +2276,7 @@ public Mono> testJsonFormDataWithHttpInfo(TestJsonFormDataR
/**
* test json serialization of form data
- *
+ *
* 200 - successful operation
* @param requestParameters The testJsonFormData request parameters as object
* @return ResponseSpec
@@ -2542,7 +2542,7 @@ public int hashCode() {
}
/**
- *
+ *
* To test the collection format in query parameters
*
200 - Success
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
@@ -2553,7 +2553,7 @@ public Mono testQueryParameterCollectionFormat(TestQueryParameterCollectio
}
/**
- *
+ *
* To test the collection format in query parameters
* 200 - Success
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
@@ -2564,7 +2564,7 @@ public Mono> testQueryParameterCollectionFormatWithHttpInfo
}
/**
- *
+ *
* To test the collection format in query parameters
* 200 - Success
* @param requestParameters The testQueryParameterCollectionFormat request parameters as object
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java
index bd7f7d9c833a..be832a83439f 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java
index 6ea30fe21d07..a2013f875ce5 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/PetApi.java
@@ -174,7 +174,7 @@ public int hashCode() {
/**
* Deletes a pet
- *
+ *
*
200 - Successful operation
*
400 - Invalid pet value
* @param requestParameters The deletePet request parameters as object
@@ -186,7 +186,7 @@ public Mono deletePet(DeletePetRequest requestParameters) throws WebClient
/**
* Deletes a pet
- *
+ *
* 200 - Successful operation
*
400 - Invalid pet value
* @param requestParameters The deletePet request parameters as object
@@ -198,7 +198,7 @@ public Mono> deletePetWithHttpInfo(DeletePetRequest request
/**
* Deletes a pet
- *
+ *
* 200 - Successful operation
*
400 - Invalid pet value
* @param requestParameters The deletePet request parameters as object
@@ -675,7 +675,7 @@ public int hashCode() {
/**
* Updates a pet in the store with form data
- *
+ *
*
200 - Successful operation
*
405 - Invalid input
* @param requestParameters The updatePetWithForm request parameters as object
@@ -687,7 +687,7 @@ public Mono updatePetWithForm(UpdatePetWithFormRequest requestParameters)
/**
* Updates a pet in the store with form data
- *
+ *
* 200 - Successful operation
*
405 - Invalid input
* @param requestParameters The updatePetWithForm request parameters as object
@@ -699,7 +699,7 @@ public Mono> updatePetWithFormWithHttpInfo(UpdatePetWithFor
/**
* Updates a pet in the store with form data
- *
+ *
* 200 - Successful operation
*
405 - Invalid input
* @param requestParameters The updatePetWithForm request parameters as object
@@ -859,7 +859,7 @@ public int hashCode() {
/**
* uploads an image
- *
+ *
*
200 - successful operation
* @param requestParameters The uploadFile request parameters as object
* @return ModelApiResponse
@@ -871,7 +871,7 @@ public Mono uploadFile(UploadFileRequest requestParameters) th
/**
* uploads an image
- *
+ *
* 200 - successful operation
* @param requestParameters The uploadFile request parameters as object
* @return ResponseEntity<ModelApiResponse>
@@ -883,7 +883,7 @@ public Mono> uploadFileWithHttpInfo(UploadFileR
/**
* uploads an image
- *
+ *
* 200 - successful operation
* @param requestParameters The uploadFile request parameters as object
* @return ResponseSpec
@@ -1043,7 +1043,7 @@ public int hashCode() {
/**
* uploads an image (required)
- *
+ *
*
200 - successful operation
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
* @return ModelApiResponse
@@ -1055,7 +1055,7 @@ public Mono uploadFileWithRequiredFile(UploadFileWithRequiredF
/**
* uploads an image (required)
- *
+ *
* 200 - successful operation
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
* @return ResponseEntity<ModelApiResponse>
@@ -1067,7 +1067,7 @@ public Mono> uploadFileWithRequiredFileWithHttp
/**
* uploads an image (required)
- *
+ *
* 200 - successful operation
* @param requestParameters The uploadFileWithRequiredFile request parameters as object
* @return ResponseSpec
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/StoreApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/StoreApi.java
index 173f62da73f2..6283baa1afae 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/StoreApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/StoreApi.java
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
diff --git a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java
index cc00710f213b..f1fdcf258e6b 100644
--- a/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java
+++ b/samples/client/petstore/java/webclient-useSingleRequestParameter/src/main/java/org/openapitools/client/api/UserApi.java
@@ -465,7 +465,7 @@ public int hashCode() {
/**
* Logs user into the system
- *
+ *
*
200 - successful operation
*
400 - Invalid username/password supplied
* @param requestParameters The loginUser request parameters as object
@@ -478,7 +478,7 @@ public Mono loginUser(LoginUserRequest requestParameters) throws WebClie
/**
* Logs user into the system
- *
+ *
* 200 - successful operation
*
400 - Invalid username/password supplied
* @param requestParameters The loginUser request parameters as object
@@ -491,7 +491,7 @@ public Mono> loginUserWithHttpInfo(LoginUserRequest reque
/**
* Logs user into the system
- *
+ *
* 200 - successful operation
*
400 - Invalid username/password supplied
* @param requestParameters The loginUser request parameters as object
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 1912ed42e94f..789e4da2ad37 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 0efb49aea7b1..85959040871f 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 a1b6637bc73c..a72ac90f0b4e 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
@@ -22,6 +22,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 bd7f7d9c833a..be832a83439f 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 0450ce585614..b37958d441a4 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
@@ -11,6 +11,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 173f62da73f2..6283baa1afae 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
@@ -8,6 +8,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
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 105229ec9222..5cc4c2122c68 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
@@ -9,6 +9,8 @@
import java.util.List;
import java.util.Locale;
import java.util.Map;
+import java.util.Objects;
+import java.util.Arrays;
import java.util.stream.Collectors;
import org.springframework.beans.factory.annotation.Autowired;
From c8e87716d19b1d2302088f224e0e1be3e3b0b3f2 Mon Sep 17 00:00:00 2001
From: martin-mfg <2026226+martin-mfg@users.noreply.github.com>
Date: Sat, 29 Mar 2025 16:14:56 +0100
Subject: [PATCH 4/7] add restclient sample
---
.../workflows/samples-java-client-jdk17.yaml | 1 +
...ient-useSingleRequestParameter-static.yaml | 9 +
.../.github/workflows/maven.yml | 30 +
.../.gitignore | 21 +
.../.openapi-generator-ignore | 23 +
.../.openapi-generator/FILES | 202 ++
.../.openapi-generator/VERSION | 1 +
.../.travis.yml | 22 +
.../README.md | 278 ++
.../api/openapi.yaml | 2363 ++++++++++++++
.../build.gradle | 136 +
.../build.sbt | 1 +
.../docs/AdditionalPropertiesClass.md | 14 +
.../docs/AllOfWithSingleRef.md | 14 +
.../docs/Animal.md | 14 +
.../docs/AnotherFakeApi.md | 75 +
.../docs/ArrayOfArrayOfNumberOnly.md | 13 +
.../docs/ArrayOfNumberOnly.md | 13 +
.../docs/ArrayTest.md | 15 +
.../docs/Capitalization.md | 18 +
.../docs/Cat.md | 13 +
.../docs/Category.md | 14 +
.../docs/ChildWithNullable.md | 13 +
.../docs/ClassModel.md | 14 +
.../docs/Client.md | 13 +
.../docs/DefaultApi.md | 69 +
.../docs/DeprecatedObject.md | 13 +
.../docs/Dog.md | 13 +
.../docs/EnumArrays.md | 32 +
.../docs/EnumClass.md | 15 +
.../docs/EnumTest.md | 58 +
.../docs/FakeApi.md | 1541 +++++++++
.../docs/FakeBigDecimalMap200Response.md | 14 +
.../docs/FakeClassnameTags123Api.md | 82 +
.../docs/FileSchemaTestClass.md | 14 +
.../docs/Foo.md | 13 +
.../docs/FooGetDefaultResponse.md | 13 +
.../docs/FormatTest.md | 28 +
.../docs/HasOnlyReadOnly.md | 14 +
.../docs/HealthCheckResult.md | 14 +
.../docs/MapTest.md | 25 +
...dPropertiesAndAdditionalPropertiesClass.md | 15 +
.../docs/Model200Response.md | 15 +
.../docs/ModelApiResponse.md | 15 +
.../docs/ModelFile.md | 14 +
.../docs/ModelList.md | 13 +
.../docs/ModelReturn.md | 14 +
.../docs/Name.md | 17 +
.../docs/NullableClass.md | 24 +
.../docs/NumberOnly.md | 13 +
.../docs/ObjectWithDeprecatedFields.md | 16 +
.../docs/Order.md | 28 +
.../docs/OuterComposite.md | 15 +
.../docs/OuterEnum.md | 15 +
.../docs/OuterEnumDefaultValue.md | 15 +
.../docs/OuterEnumInteger.md | 15 +
.../docs/OuterEnumIntegerDefaultValue.md | 15 +
.../docs/OuterObjectWithEnumProperty.md | 13 +
.../docs/ParentWithNullable.md | 22 +
.../docs/Pet.md | 28 +
.../docs/PetApi.md | 678 ++++
.../docs/ReadOnlyFirst.md | 14 +
.../docs/SingleRefType.md | 13 +
.../docs/SpecialModelName.md | 13 +
.../docs/StoreApi.md | 282 ++
.../docs/Tag.md | 14 +
...lineFreeformAdditionalPropertiesRequest.md | 13 +
.../docs/User.md | 20 +
.../docs/UserApi.md | 543 ++++
.../git_push.sh | 57 +
.../gradle.properties | 6 +
.../gradle/wrapper/gradle-wrapper.jar | Bin 0 -> 43453 bytes
.../gradle/wrapper/gradle-wrapper.properties | 7 +
.../gradlew | 249 ++
.../gradlew.bat | 92 +
.../pom.xml | 285 ++
.../settings.gradle | 1 +
.../src/main/AndroidManifest.xml | 3 +
.../org/openapitools/client/ApiClient.java | 753 +++++
.../client/JavaTimeFormatter.java | 64 +
.../client/RFC3339DateFormat.java | 58 +
.../client/RFC3339InstantDeserializer.java | 100 +
.../client/RFC3339JavaTimeModule.java | 31 +
.../client/ServerConfiguration.java | 72 +
.../openapitools/client/ServerVariable.java | 37 +
.../org/openapitools/client/StringUtil.java | 83 +
.../client/api/AnotherFakeApi.java | 123 +
.../openapitools/client/api/DefaultApi.java | 113 +
.../org/openapitools/client/api/FakeApi.java | 2744 +++++++++++++++++
.../client/api/FakeClassnameTags123Api.java | 123 +
.../org/openapitools/client/api/PetApi.java | 1163 +++++++
.../org/openapitools/client/api/StoreApi.java | 346 +++
.../org/openapitools/client/api/UserApi.java | 811 +++++
.../openapitools/client/auth/ApiKeyAuth.java | 75 +
.../client/auth/Authentication.java | 27 +
.../client/auth/HttpBasicAuth.java | 51 +
.../client/auth/HttpBearerAuth.java | 69 +
.../org/openapitools/client/auth/OAuth.java | 61 +
.../openapitools/client/auth/OAuthFlow.java | 18 +
.../model/AdditionalPropertiesClass.java | 154 +
.../client/model/AllOfWithSingleRef.java | 137 +
.../org/openapitools/client/model/Animal.java | 149 +
.../model/ArrayOfArrayOfNumberOnly.java | 116 +
.../client/model/ArrayOfNumberOnly.java | 116 +
.../openapitools/client/model/ArrayTest.java | 196 ++
.../client/model/Capitalization.java | 264 ++
.../org/openapitools/client/model/Cat.java | 129 +
.../openapitools/client/model/Category.java | 136 +
.../client/model/ChildWithNullable.java | 141 +
.../openapitools/client/model/ClassModel.java | 104 +
.../org/openapitools/client/model/Client.java | 104 +
.../client/model/DeprecatedObject.java | 106 +
.../org/openapitools/client/model/Dog.java | 129 +
.../openapitools/client/model/EnumArrays.java | 217 ++
.../openapitools/client/model/EnumClass.java | 61 +
.../openapitools/client/model/EnumTest.java | 500 +++
.../model/FakeBigDecimalMap200Response.java | 148 +
.../client/model/FileSchemaTestClass.java | 148 +
.../org/openapitools/client/model/Foo.java | 104 +
.../client/model/FooGetDefaultResponse.java | 106 +
.../openapitools/client/model/FormatTest.java | 600 ++++
.../client/model/HasOnlyReadOnly.java | 127 +
.../client/model/HealthCheckResult.java | 127 +
.../openapitools/client/model/MapTest.java | 269 ++
...ropertiesAndAdditionalPropertiesClass.java | 181 ++
.../client/model/Model200Response.java | 137 +
.../client/model/ModelApiResponse.java | 169 +
.../openapitools/client/model/ModelFile.java | 105 +
.../openapitools/client/model/ModelList.java | 105 +
.../client/model/ModelReturn.java | 105 +
.../org/openapitools/client/model/Name.java | 190 ++
.../client/model/NullableClass.java | 626 ++++
.../openapitools/client/model/NumberOnly.java | 105 +
.../model/ObjectWithDeprecatedFields.java | 219 ++
.../org/openapitools/client/model/Order.java | 302 ++
.../client/model/OuterComposite.java | 169 +
.../openapitools/client/model/OuterEnum.java | 61 +
.../client/model/OuterEnumDefaultValue.java | 61 +
.../client/model/OuterEnumInteger.java | 61 +
.../model/OuterEnumIntegerDefaultValue.java | 61 +
.../model/OuterObjectWithEnumProperty.java | 105 +
.../client/model/ParentWithNullable.java | 204 ++
.../org/openapitools/client/model/Pet.java | 326 ++
.../client/model/ReadOnlyFirst.java | 135 +
.../client/model/SingleRefType.java | 59 +
.../client/model/SpecialModelName.java | 105 +
.../org/openapitools/client/model/Tag.java | 136 +
...neFreeformAdditionalPropertiesRequest.java | 110 +
.../org/openapitools/client/model/User.java | 328 ++
.../client/api/AnotherFakeApiTest.java | 48 +
.../client/api/DefaultApiTest.java | 47 +
.../openapitools/client/api/FakeApiTest.java | 369 +++
.../api/FakeClassnameTags123ApiTest.java | 48 +
.../openapitools/client/api/PetApiTest.java | 162 +
.../openapitools/client/api/StoreApiTest.java | 86 +
.../openapitools/client/api/UserApiTest.java | 141 +
.../model/AdditionalPropertiesClassTest.java | 57 +
.../client/model/AllOfWithSingleRefTest.java | 56 +
.../openapitools/client/model/AnimalTest.java | 58 +
.../model/ArrayOfArrayOfNumberOnlyTest.java | 51 +
.../client/model/ArrayOfNumberOnlyTest.java | 51 +
.../client/model/ArrayTestTest.java | 67 +
.../client/model/CapitalizationTest.java | 87 +
.../openapitools/client/model/CatTest.java | 67 +
.../client/model/CategoryTest.java | 55 +
.../client/model/ChildWithNullableTest.java | 68 +
.../client/model/ClassModelTest.java | 47 +
.../openapitools/client/model/ClientTest.java | 47 +
.../client/model/DeprecatedObjectTest.java | 47 +
.../openapitools/client/model/DogTest.java | 67 +
.../client/model/EnumArraysTest.java | 58 +
.../client/model/EnumClassTest.java | 32 +
.../client/model/EnumTestTest.java | 111 +
.../FakeBigDecimalMap200ResponseTest.java | 58 +
.../client/model/FileSchemaTestClassTest.java | 59 +
.../model/FooGetDefaultResponseTest.java | 48 +
.../openapitools/client/model/FooTest.java | 47 +
.../client/model/FormatTestTest.java | 172 ++
.../client/model/HasOnlyReadOnlyTest.java | 55 +
.../client/model/HealthCheckResultTest.java | 51 +
.../client/model/MapTestTest.java | 73 +
...rtiesAndAdditionalPropertiesClassTest.java | 68 +
.../client/model/Model200ResponseTest.java | 55 +
.../client/model/ModelApiResponseTest.java | 63 +
.../client/model/ModelFileTest.java | 47 +
.../client/model/ModelListTest.java | 47 +
.../client/model/ModelReturnTest.java | 47 +
.../openapitools/client/model/NameTest.java | 71 +
.../client/model/NullableClassTest.java | 147 +
.../client/model/NumberOnlyTest.java | 48 +
.../model/ObjectWithDeprecatedFieldsTest.java | 76 +
.../openapitools/client/model/OrderTest.java | 88 +
.../client/model/OuterCompositeTest.java | 64 +
.../model/OuterEnumDefaultValueTest.java | 32 +
.../OuterEnumIntegerDefaultValueTest.java | 32 +
.../client/model/OuterEnumIntegerTest.java | 32 +
.../client/model/OuterEnumTest.java | 32 +
.../OuterObjectWithEnumPropertyTest.java | 48 +
.../client/model/ParentWithNullableTest.java | 62 +
.../openapitools/client/model/PetTest.java | 95 +
.../client/model/ReadOnlyFirstTest.java | 55 +
.../client/model/SingleRefTypeTest.java | 32 +
.../client/model/SpecialModelNameTest.java | 47 +
.../openapitools/client/model/TagTest.java | 55 +
...eeformAdditionalPropertiesRequestTest.java | 49 +
.../openapitools/client/model/UserTest.java | 103 +
206 files changed, 27360 insertions(+)
create mode 100644 bin/configs/java-restclient-useSingleRequestParameter-static.yaml
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/.github/workflows/maven.yml
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/.gitignore
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator-ignore
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator/FILES
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator/VERSION
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/.travis.yml
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/README.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/api/openapi.yaml
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/build.gradle
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/build.sbt
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AdditionalPropertiesClass.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AllOfWithSingleRef.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Animal.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AnotherFakeApi.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayOfArrayOfNumberOnly.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayOfNumberOnly.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayTest.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Capitalization.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Cat.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Category.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ChildWithNullable.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ClassModel.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Client.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/DefaultApi.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/DeprecatedObject.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Dog.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumArrays.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumClass.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumTest.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeApi.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeBigDecimalMap200Response.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeClassnameTags123Api.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FileSchemaTestClass.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Foo.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FooGetDefaultResponse.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FormatTest.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/HasOnlyReadOnly.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/HealthCheckResult.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/MapTest.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/MixedPropertiesAndAdditionalPropertiesClass.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Model200Response.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelApiResponse.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelFile.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelList.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelReturn.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Name.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/NullableClass.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/NumberOnly.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ObjectWithDeprecatedFields.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Order.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterComposite.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnum.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumDefaultValue.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumInteger.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumIntegerDefaultValue.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterObjectWithEnumProperty.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ParentWithNullable.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Pet.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/PetApi.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ReadOnlyFirst.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/SingleRefType.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/SpecialModelName.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/StoreApi.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Tag.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/TestInlineFreeformAdditionalPropertiesRequest.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/User.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/UserApi.md
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/git_push.sh
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradle.properties
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradle/wrapper/gradle-wrapper.jar
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradle/wrapper/gradle-wrapper.properties
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradlew
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradlew.bat
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/pom.xml
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/settings.gradle
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/AndroidManifest.xml
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/ApiClient.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/JavaTimeFormatter.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/RFC3339DateFormat.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/RFC3339InstantDeserializer.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/RFC3339JavaTimeModule.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/ServerConfiguration.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/ServerVariable.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/StringUtil.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/AnotherFakeApi.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/DefaultApi.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/FakeApi.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/PetApi.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/StoreApi.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/UserApi.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/auth/ApiKeyAuth.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/auth/Authentication.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/auth/HttpBasicAuth.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/auth/HttpBearerAuth.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/auth/OAuth.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/auth/OAuthFlow.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Animal.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ArrayTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Capitalization.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Cat.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Category.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ChildWithNullable.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ClassModel.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Client.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/DeprecatedObject.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Dog.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/EnumArrays.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/EnumClass.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/EnumTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/FileSchemaTestClass.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Foo.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/FormatTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/HealthCheckResult.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/MapTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Model200Response.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ModelApiResponse.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ModelFile.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ModelList.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ModelReturn.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Name.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/NullableClass.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/NumberOnly.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Order.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/OuterComposite.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/OuterEnum.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/OuterEnumInteger.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ParentWithNullable.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Pet.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/ReadOnlyFirst.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/SingleRefType.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/SpecialModelName.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/Tag.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/model/User.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/api/DefaultApiTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/api/FakeApiTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/api/PetApiTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/api/StoreApiTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/api/UserApiTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/AnimalTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ArrayTestTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/CapitalizationTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/CatTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/CategoryTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ChildWithNullableTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ClassModelTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ClientTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/DogTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/EnumArraysTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/EnumClassTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/EnumTestTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/FooTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/FormatTestTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/HealthCheckResultTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/MapTestTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/Model200ResponseTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ModelApiResponseTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ModelFileTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ModelListTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ModelReturnTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/NameTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/NullableClassTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/NumberOnlyTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/OrderTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/OuterCompositeTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/OuterEnumTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ParentWithNullableTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/PetTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/SingleRefTypeTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/SpecialModelNameTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/TagTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java
create mode 100644 samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/test/java/org/openapitools/client/model/UserTest.java
diff --git a/.github/workflows/samples-java-client-jdk17.yaml b/.github/workflows/samples-java-client-jdk17.yaml
index f7a5a1fbb300..a41fa17a9453 100644
--- a/.github/workflows/samples-java-client-jdk17.yaml
+++ b/.github/workflows/samples-java-client-jdk17.yaml
@@ -28,6 +28,7 @@ jobs:
- samples/client/petstore/java/restclient-nullable-arrays
- samples/client/petstore/java/restclient-swagger2
- samples/client/petstore/java/restclient-useSingleRequestParameter
+ - samples/client/petstore/java/restclient-useSingleRequestParameter-static
- samples/client/petstore/java/webclient-useSingleRequestParameter
steps:
- uses: actions/checkout@v4
diff --git a/bin/configs/java-restclient-useSingleRequestParameter-static.yaml b/bin/configs/java-restclient-useSingleRequestParameter-static.yaml
new file mode 100644
index 000000000000..256bf5ebcb6e
--- /dev/null
+++ b/bin/configs/java-restclient-useSingleRequestParameter-static.yaml
@@ -0,0 +1,9 @@
+generatorName: java
+outputDir: samples/client/petstore/java/restclient-useSingleRequestParameter-static
+library: restclient
+inputSpec: modules/openapi-generator/src/test/resources/3_0/petstore-with-fake-endpoints-models-for-testing.yaml
+templateDir: modules/openapi-generator/src/main/resources/Java
+additionalProperties:
+ artifactId: singleparam-restclient-static
+ hideGenerationTimestamp: "true"
+ useSingleRequestParameter: static
\ No newline at end of file
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.github/workflows/maven.yml b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.github/workflows/maven.yml
new file mode 100644
index 000000000000..460f78bfd1b2
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.github/workflows/maven.yml
@@ -0,0 +1,30 @@
+# This workflow will build a Java project with Maven, and cache/restore any dependencies to improve the workflow execution time
+# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
+#
+# This file is auto-generated by OpenAPI Generator (https://openapi-generator.tech)
+
+name: Java CI with Maven
+
+on:
+ push:
+ branches: [ main, master ]
+ pull_request:
+ branches: [ main, master ]
+
+jobs:
+ build:
+ name: Build OpenAPI Petstore
+ runs-on: ubuntu-latest
+ strategy:
+ matrix:
+ java: [ 17, 21 ]
+ steps:
+ - uses: actions/checkout@v4
+ - name: Set up JDK
+ uses: actions/setup-java@v4
+ with:
+ java-version: ${{ matrix.java }}
+ distribution: 'temurin'
+ cache: maven
+ - name: Build with Maven
+ run: mvn -B package --no-transfer-progress --file pom.xml
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.gitignore b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.gitignore
new file mode 100644
index 000000000000..a530464afa1b
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.gitignore
@@ -0,0 +1,21 @@
+*.class
+
+# Mobile Tools for Java (J2ME)
+.mtj.tmp/
+
+# Package Files #
+*.jar
+*.war
+*.ear
+
+# exclude jar for gradle wrapper
+!gradle/wrapper/*.jar
+
+# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml
+hs_err_pid*
+
+# build files
+**/target
+target
+.gradle
+build
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator-ignore b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator-ignore
new file mode 100644
index 000000000000..7484ee590a38
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator-ignore
@@ -0,0 +1,23 @@
+# OpenAPI Generator Ignore
+# Generated by openapi-generator https://github.com/openapitools/openapi-generator
+
+# Use this file to prevent files from being overwritten by the generator.
+# The patterns follow closely to .gitignore or .dockerignore.
+
+# As an example, the C# client generator defines ApiClient.cs.
+# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
+#ApiClient.cs
+
+# You can match any string of characters against a directory, file or extension with a single asterisk (*):
+#foo/*/qux
+# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
+
+# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
+#foo/**/qux
+# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
+
+# You can also negate patterns with an exclamation (!).
+# For example, you can ignore all files in a docs folder with the file extension .md:
+#docs/*.md
+# Then explicitly reverse the ignore rule for a single file:
+#!docs/README.md
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator/FILES b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator/FILES
new file mode 100644
index 000000000000..e1784b93b68d
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator/FILES
@@ -0,0 +1,202 @@
+.github/workflows/maven.yml
+.gitignore
+.openapi-generator-ignore
+.travis.yml
+README.md
+api/openapi.yaml
+build.gradle
+build.sbt
+docs/AdditionalPropertiesClass.md
+docs/AllOfWithSingleRef.md
+docs/Animal.md
+docs/AnotherFakeApi.md
+docs/ArrayOfArrayOfNumberOnly.md
+docs/ArrayOfNumberOnly.md
+docs/ArrayTest.md
+docs/Capitalization.md
+docs/Cat.md
+docs/Category.md
+docs/ChildWithNullable.md
+docs/ClassModel.md
+docs/Client.md
+docs/DefaultApi.md
+docs/DeprecatedObject.md
+docs/Dog.md
+docs/EnumArrays.md
+docs/EnumClass.md
+docs/EnumTest.md
+docs/FakeApi.md
+docs/FakeBigDecimalMap200Response.md
+docs/FakeClassnameTags123Api.md
+docs/FileSchemaTestClass.md
+docs/Foo.md
+docs/FooGetDefaultResponse.md
+docs/FormatTest.md
+docs/HasOnlyReadOnly.md
+docs/HealthCheckResult.md
+docs/MapTest.md
+docs/MixedPropertiesAndAdditionalPropertiesClass.md
+docs/Model200Response.md
+docs/ModelApiResponse.md
+docs/ModelFile.md
+docs/ModelList.md
+docs/ModelReturn.md
+docs/Name.md
+docs/NullableClass.md
+docs/NumberOnly.md
+docs/ObjectWithDeprecatedFields.md
+docs/Order.md
+docs/OuterComposite.md
+docs/OuterEnum.md
+docs/OuterEnumDefaultValue.md
+docs/OuterEnumInteger.md
+docs/OuterEnumIntegerDefaultValue.md
+docs/OuterObjectWithEnumProperty.md
+docs/ParentWithNullable.md
+docs/Pet.md
+docs/PetApi.md
+docs/ReadOnlyFirst.md
+docs/SingleRefType.md
+docs/SpecialModelName.md
+docs/StoreApi.md
+docs/Tag.md
+docs/TestInlineFreeformAdditionalPropertiesRequest.md
+docs/User.md
+docs/UserApi.md
+git_push.sh
+gradle.properties
+gradle/wrapper/gradle-wrapper.jar
+gradle/wrapper/gradle-wrapper.properties
+gradlew
+gradlew.bat
+pom.xml
+settings.gradle
+src/main/AndroidManifest.xml
+src/main/java/org/openapitools/client/ApiClient.java
+src/main/java/org/openapitools/client/JavaTimeFormatter.java
+src/main/java/org/openapitools/client/RFC3339DateFormat.java
+src/main/java/org/openapitools/client/RFC3339InstantDeserializer.java
+src/main/java/org/openapitools/client/RFC3339JavaTimeModule.java
+src/main/java/org/openapitools/client/ServerConfiguration.java
+src/main/java/org/openapitools/client/ServerVariable.java
+src/main/java/org/openapitools/client/StringUtil.java
+src/main/java/org/openapitools/client/api/AnotherFakeApi.java
+src/main/java/org/openapitools/client/api/DefaultApi.java
+src/main/java/org/openapitools/client/api/FakeApi.java
+src/main/java/org/openapitools/client/api/FakeClassnameTags123Api.java
+src/main/java/org/openapitools/client/api/PetApi.java
+src/main/java/org/openapitools/client/api/StoreApi.java
+src/main/java/org/openapitools/client/api/UserApi.java
+src/main/java/org/openapitools/client/auth/ApiKeyAuth.java
+src/main/java/org/openapitools/client/auth/Authentication.java
+src/main/java/org/openapitools/client/auth/HttpBasicAuth.java
+src/main/java/org/openapitools/client/auth/HttpBearerAuth.java
+src/main/java/org/openapitools/client/auth/OAuth.java
+src/main/java/org/openapitools/client/auth/OAuthFlow.java
+src/main/java/org/openapitools/client/model/AdditionalPropertiesClass.java
+src/main/java/org/openapitools/client/model/AllOfWithSingleRef.java
+src/main/java/org/openapitools/client/model/Animal.java
+src/main/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnly.java
+src/main/java/org/openapitools/client/model/ArrayOfNumberOnly.java
+src/main/java/org/openapitools/client/model/ArrayTest.java
+src/main/java/org/openapitools/client/model/Capitalization.java
+src/main/java/org/openapitools/client/model/Cat.java
+src/main/java/org/openapitools/client/model/Category.java
+src/main/java/org/openapitools/client/model/ChildWithNullable.java
+src/main/java/org/openapitools/client/model/ClassModel.java
+src/main/java/org/openapitools/client/model/Client.java
+src/main/java/org/openapitools/client/model/DeprecatedObject.java
+src/main/java/org/openapitools/client/model/Dog.java
+src/main/java/org/openapitools/client/model/EnumArrays.java
+src/main/java/org/openapitools/client/model/EnumClass.java
+src/main/java/org/openapitools/client/model/EnumTest.java
+src/main/java/org/openapitools/client/model/FakeBigDecimalMap200Response.java
+src/main/java/org/openapitools/client/model/FileSchemaTestClass.java
+src/main/java/org/openapitools/client/model/Foo.java
+src/main/java/org/openapitools/client/model/FooGetDefaultResponse.java
+src/main/java/org/openapitools/client/model/FormatTest.java
+src/main/java/org/openapitools/client/model/HasOnlyReadOnly.java
+src/main/java/org/openapitools/client/model/HealthCheckResult.java
+src/main/java/org/openapitools/client/model/MapTest.java
+src/main/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClass.java
+src/main/java/org/openapitools/client/model/Model200Response.java
+src/main/java/org/openapitools/client/model/ModelApiResponse.java
+src/main/java/org/openapitools/client/model/ModelFile.java
+src/main/java/org/openapitools/client/model/ModelList.java
+src/main/java/org/openapitools/client/model/ModelReturn.java
+src/main/java/org/openapitools/client/model/Name.java
+src/main/java/org/openapitools/client/model/NullableClass.java
+src/main/java/org/openapitools/client/model/NumberOnly.java
+src/main/java/org/openapitools/client/model/ObjectWithDeprecatedFields.java
+src/main/java/org/openapitools/client/model/Order.java
+src/main/java/org/openapitools/client/model/OuterComposite.java
+src/main/java/org/openapitools/client/model/OuterEnum.java
+src/main/java/org/openapitools/client/model/OuterEnumDefaultValue.java
+src/main/java/org/openapitools/client/model/OuterEnumInteger.java
+src/main/java/org/openapitools/client/model/OuterEnumIntegerDefaultValue.java
+src/main/java/org/openapitools/client/model/OuterObjectWithEnumProperty.java
+src/main/java/org/openapitools/client/model/ParentWithNullable.java
+src/main/java/org/openapitools/client/model/Pet.java
+src/main/java/org/openapitools/client/model/ReadOnlyFirst.java
+src/main/java/org/openapitools/client/model/SingleRefType.java
+src/main/java/org/openapitools/client/model/SpecialModelName.java
+src/main/java/org/openapitools/client/model/Tag.java
+src/main/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequest.java
+src/main/java/org/openapitools/client/model/User.java
+src/test/java/org/openapitools/client/api/AnotherFakeApiTest.java
+src/test/java/org/openapitools/client/api/DefaultApiTest.java
+src/test/java/org/openapitools/client/api/FakeApiTest.java
+src/test/java/org/openapitools/client/api/FakeClassnameTags123ApiTest.java
+src/test/java/org/openapitools/client/api/PetApiTest.java
+src/test/java/org/openapitools/client/api/StoreApiTest.java
+src/test/java/org/openapitools/client/api/UserApiTest.java
+src/test/java/org/openapitools/client/model/AdditionalPropertiesClassTest.java
+src/test/java/org/openapitools/client/model/AllOfWithSingleRefTest.java
+src/test/java/org/openapitools/client/model/AnimalTest.java
+src/test/java/org/openapitools/client/model/ArrayOfArrayOfNumberOnlyTest.java
+src/test/java/org/openapitools/client/model/ArrayOfNumberOnlyTest.java
+src/test/java/org/openapitools/client/model/ArrayTestTest.java
+src/test/java/org/openapitools/client/model/CapitalizationTest.java
+src/test/java/org/openapitools/client/model/CatTest.java
+src/test/java/org/openapitools/client/model/CategoryTest.java
+src/test/java/org/openapitools/client/model/ChildWithNullableTest.java
+src/test/java/org/openapitools/client/model/ClassModelTest.java
+src/test/java/org/openapitools/client/model/ClientTest.java
+src/test/java/org/openapitools/client/model/DeprecatedObjectTest.java
+src/test/java/org/openapitools/client/model/DogTest.java
+src/test/java/org/openapitools/client/model/EnumArraysTest.java
+src/test/java/org/openapitools/client/model/EnumClassTest.java
+src/test/java/org/openapitools/client/model/EnumTestTest.java
+src/test/java/org/openapitools/client/model/FakeBigDecimalMap200ResponseTest.java
+src/test/java/org/openapitools/client/model/FileSchemaTestClassTest.java
+src/test/java/org/openapitools/client/model/FooGetDefaultResponseTest.java
+src/test/java/org/openapitools/client/model/FooTest.java
+src/test/java/org/openapitools/client/model/FormatTestTest.java
+src/test/java/org/openapitools/client/model/HasOnlyReadOnlyTest.java
+src/test/java/org/openapitools/client/model/HealthCheckResultTest.java
+src/test/java/org/openapitools/client/model/MapTestTest.java
+src/test/java/org/openapitools/client/model/MixedPropertiesAndAdditionalPropertiesClassTest.java
+src/test/java/org/openapitools/client/model/Model200ResponseTest.java
+src/test/java/org/openapitools/client/model/ModelApiResponseTest.java
+src/test/java/org/openapitools/client/model/ModelFileTest.java
+src/test/java/org/openapitools/client/model/ModelListTest.java
+src/test/java/org/openapitools/client/model/ModelReturnTest.java
+src/test/java/org/openapitools/client/model/NameTest.java
+src/test/java/org/openapitools/client/model/NullableClassTest.java
+src/test/java/org/openapitools/client/model/NumberOnlyTest.java
+src/test/java/org/openapitools/client/model/ObjectWithDeprecatedFieldsTest.java
+src/test/java/org/openapitools/client/model/OrderTest.java
+src/test/java/org/openapitools/client/model/OuterCompositeTest.java
+src/test/java/org/openapitools/client/model/OuterEnumDefaultValueTest.java
+src/test/java/org/openapitools/client/model/OuterEnumIntegerDefaultValueTest.java
+src/test/java/org/openapitools/client/model/OuterEnumIntegerTest.java
+src/test/java/org/openapitools/client/model/OuterEnumTest.java
+src/test/java/org/openapitools/client/model/OuterObjectWithEnumPropertyTest.java
+src/test/java/org/openapitools/client/model/ParentWithNullableTest.java
+src/test/java/org/openapitools/client/model/PetTest.java
+src/test/java/org/openapitools/client/model/ReadOnlyFirstTest.java
+src/test/java/org/openapitools/client/model/SingleRefTypeTest.java
+src/test/java/org/openapitools/client/model/SpecialModelNameTest.java
+src/test/java/org/openapitools/client/model/TagTest.java
+src/test/java/org/openapitools/client/model/TestInlineFreeformAdditionalPropertiesRequestTest.java
+src/test/java/org/openapitools/client/model/UserTest.java
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator/VERSION b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator/VERSION
new file mode 100644
index 000000000000..96cfbb19ae28
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.openapi-generator/VERSION
@@ -0,0 +1 @@
+7.13.0-SNAPSHOT
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.travis.yml b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.travis.yml
new file mode 100644
index 000000000000..1b6741c083c7
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/.travis.yml
@@ -0,0 +1,22 @@
+#
+# Generated by OpenAPI Generator: https://openapi-generator.tech
+#
+# Ref: https://docs.travis-ci.com/user/languages/java/
+#
+language: java
+jdk:
+ - openjdk12
+ - openjdk11
+ - openjdk10
+ - openjdk9
+ - openjdk8
+before_install:
+ # ensure gradlew has proper permission
+ - chmod a+x ./gradlew
+script:
+ # test using maven
+ #- mvn test
+ # test using gradle
+ - gradle test
+ # test using sbt
+ # - sbt test
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/README.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/README.md
new file mode 100644
index 000000000000..3bc70a4959bb
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/README.md
@@ -0,0 +1,278 @@
+# singleparam-restclient-static
+
+OpenAPI Petstore
+
+- API version: 1.0.0
+
+- Generator version: 7.13.0-SNAPSHOT
+
+This spec is mainly for testing Petstore server and contains fake endpoints, models. Please do not use this for any other purpose. Special characters: \" \\
+
+
+*Automatically generated by the [OpenAPI Generator](https://openapi-generator.tech)*
+
+## Requirements
+
+Building the API client library requires:
+
+1. Java 17+
+2. Maven/Gradle
+
+## Installation
+
+To install the API client library to your local Maven repository, simply execute:
+
+```shell
+mvn clean install
+```
+
+To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
+
+```shell
+mvn clean deploy
+```
+
+Refer to the [OSSRH Guide](http://central.sonatype.org/pages/ossrh-guide.html) for more information.
+
+### Maven users
+
+Add this dependency to your project's POM:
+
+```xml
+
+ org.openapitools
+ singleparam-restclient-static
+ 1.0.0
+ compile
+
+```
+
+### Gradle users
+
+Add this dependency to your project's build file:
+
+```groovy
+ repositories {
+ mavenCentral() // Needed if the 'singleparam-restclient-static' jar has been published to maven central.
+ mavenLocal() // Needed if the 'singleparam-restclient-static' jar has been published to the local maven repo.
+ }
+
+ dependencies {
+ implementation "org.openapitools:singleparam-restclient-static:1.0.0"
+ }
+```
+
+### Others
+
+At first generate the JAR by executing:
+
+```shell
+mvn clean package
+```
+
+Then manually install the following JARs:
+
+- `target/singleparam-restclient-static-1.0.0.jar`
+- `target/lib/*.jar`
+
+## Getting Started
+
+Please follow the [installation](#installation) instruction and execute the following Java code:
+
+```java
+
+import org.openapitools.client.*;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.model.*;
+import org.openapitools.client.api.AnotherFakeApi;
+
+public class AnotherFakeApiExample {
+
+ public static void main(String[] args) {
+ ApiClient defaultClient = new ApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
+ Client client = new Client(); // Client | client model
+ try {
+ Client result = apiInstance.call123testSpecialTags(client);
+ System.out.println(result);
+ } catch (HttpStatusCodeException e) {
+ System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
+ System.err.println("Status code: " + e.getStatusCode().value());
+ System.err.println("Reason: " + e.getResponseBodyAsString());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+
+```
+
+## Documentation for API Endpoints
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+Class | Method | HTTP request | Description
+------------ | ------------- | ------------- | -------------
+*AnotherFakeApi* | [**call123testSpecialTags**](docs/AnotherFakeApi.md#call123testSpecialTags) | **PATCH** /another-fake/dummy | To test special tags
+*DefaultApi* | [**fooGet**](docs/DefaultApi.md#fooGet) | **GET** /foo |
+*FakeApi* | [**fakeBigDecimalMap**](docs/FakeApi.md#fakeBigDecimalMap) | **GET** /fake/BigDecimalMap |
+*FakeApi* | [**fakeHealthGet**](docs/FakeApi.md#fakeHealthGet) | **GET** /fake/health | Health check endpoint
+*FakeApi* | [**fakeHttpSignatureTest**](docs/FakeApi.md#fakeHttpSignatureTest) | **GET** /fake/http-signature-test | test http signature authentication
+*FakeApi* | [**fakeOuterBooleanSerialize**](docs/FakeApi.md#fakeOuterBooleanSerialize) | **POST** /fake/outer/boolean |
+*FakeApi* | [**fakeOuterCompositeSerialize**](docs/FakeApi.md#fakeOuterCompositeSerialize) | **POST** /fake/outer/composite |
+*FakeApi* | [**fakeOuterNumberSerialize**](docs/FakeApi.md#fakeOuterNumberSerialize) | **POST** /fake/outer/number |
+*FakeApi* | [**fakeOuterStringSerialize**](docs/FakeApi.md#fakeOuterStringSerialize) | **POST** /fake/outer/string |
+*FakeApi* | [**fakePropertyEnumIntegerSerialize**](docs/FakeApi.md#fakePropertyEnumIntegerSerialize) | **POST** /fake/property/enum-int |
+*FakeApi* | [**testAdditionalPropertiesReference**](docs/FakeApi.md#testAdditionalPropertiesReference) | **POST** /fake/additionalProperties-reference | test referenced additionalProperties
+*FakeApi* | [**testBodyWithBinary**](docs/FakeApi.md#testBodyWithBinary) | **PUT** /fake/body-with-binary |
+*FakeApi* | [**testBodyWithFileSchema**](docs/FakeApi.md#testBodyWithFileSchema) | **PUT** /fake/body-with-file-schema |
+*FakeApi* | [**testBodyWithQueryParams**](docs/FakeApi.md#testBodyWithQueryParams) | **PUT** /fake/body-with-query-params |
+*FakeApi* | [**testClientModel**](docs/FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model
+*FakeApi* | [**testEndpointParameters**](docs/FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
+*FakeApi* | [**testEnumParameters**](docs/FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters
+*FakeApi* | [**testGroupParameters**](docs/FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional)
+*FakeApi* | [**testInlineAdditionalProperties**](docs/FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties
+*FakeApi* | [**testInlineFreeformAdditionalProperties**](docs/FakeApi.md#testInlineFreeformAdditionalProperties) | **POST** /fake/inline-freeform-additionalProperties | test inline free-form additionalProperties
+*FakeApi* | [**testJsonFormData**](docs/FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data
+*FakeApi* | [**testNullable**](docs/FakeApi.md#testNullable) | **POST** /fake/nullable | test nullable parent property
+*FakeApi* | [**testQueryParameterCollectionFormat**](docs/FakeApi.md#testQueryParameterCollectionFormat) | **PUT** /fake/test-query-parameters |
+*FakeApi* | [**testStringMapReference**](docs/FakeApi.md#testStringMapReference) | **POST** /fake/stringMap-reference | test referenced string map
+*FakeClassnameTags123Api* | [**testClassname**](docs/FakeClassnameTags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case
+*PetApi* | [**addPet**](docs/PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
+*PetApi* | [**deletePet**](docs/PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
+*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
+*PetApi* | [**findPetsByTags**](docs/PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
+*PetApi* | [**getPetById**](docs/PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
+*PetApi* | [**updatePet**](docs/PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
+*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
+*PetApi* | [**uploadFile**](docs/PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
+*PetApi* | [**uploadFileWithRequiredFile**](docs/PetApi.md#uploadFileWithRequiredFile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required)
+*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteOrder) | **DELETE** /store/order/{order_id} | Delete purchase order by ID
+*StoreApi* | [**getInventory**](docs/StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
+*StoreApi* | [**getOrderById**](docs/StoreApi.md#getOrderById) | **GET** /store/order/{order_id} | Find purchase order by ID
+*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
+*UserApi* | [**createUser**](docs/UserApi.md#createUser) | **POST** /user | Create user
+*UserApi* | [**createUsersWithArrayInput**](docs/UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array
+*UserApi* | [**createUsersWithListInput**](docs/UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array
+*UserApi* | [**deleteUser**](docs/UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user
+*UserApi* | [**getUserByName**](docs/UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name
+*UserApi* | [**loginUser**](docs/UserApi.md#loginUser) | **GET** /user/login | Logs user into the system
+*UserApi* | [**logoutUser**](docs/UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session
+*UserApi* | [**updateUser**](docs/UserApi.md#updateUser) | **PUT** /user/{username} | Updated user
+
+
+## Documentation for Models
+
+ - [AdditionalPropertiesClass](docs/AdditionalPropertiesClass.md)
+ - [AllOfWithSingleRef](docs/AllOfWithSingleRef.md)
+ - [Animal](docs/Animal.md)
+ - [ArrayOfArrayOfNumberOnly](docs/ArrayOfArrayOfNumberOnly.md)
+ - [ArrayOfNumberOnly](docs/ArrayOfNumberOnly.md)
+ - [ArrayTest](docs/ArrayTest.md)
+ - [Capitalization](docs/Capitalization.md)
+ - [Cat](docs/Cat.md)
+ - [Category](docs/Category.md)
+ - [ChildWithNullable](docs/ChildWithNullable.md)
+ - [ClassModel](docs/ClassModel.md)
+ - [Client](docs/Client.md)
+ - [DeprecatedObject](docs/DeprecatedObject.md)
+ - [Dog](docs/Dog.md)
+ - [EnumArrays](docs/EnumArrays.md)
+ - [EnumClass](docs/EnumClass.md)
+ - [EnumTest](docs/EnumTest.md)
+ - [FakeBigDecimalMap200Response](docs/FakeBigDecimalMap200Response.md)
+ - [FileSchemaTestClass](docs/FileSchemaTestClass.md)
+ - [Foo](docs/Foo.md)
+ - [FooGetDefaultResponse](docs/FooGetDefaultResponse.md)
+ - [FormatTest](docs/FormatTest.md)
+ - [HasOnlyReadOnly](docs/HasOnlyReadOnly.md)
+ - [HealthCheckResult](docs/HealthCheckResult.md)
+ - [MapTest](docs/MapTest.md)
+ - [MixedPropertiesAndAdditionalPropertiesClass](docs/MixedPropertiesAndAdditionalPropertiesClass.md)
+ - [Model200Response](docs/Model200Response.md)
+ - [ModelApiResponse](docs/ModelApiResponse.md)
+ - [ModelFile](docs/ModelFile.md)
+ - [ModelList](docs/ModelList.md)
+ - [ModelReturn](docs/ModelReturn.md)
+ - [Name](docs/Name.md)
+ - [NullableClass](docs/NullableClass.md)
+ - [NumberOnly](docs/NumberOnly.md)
+ - [ObjectWithDeprecatedFields](docs/ObjectWithDeprecatedFields.md)
+ - [Order](docs/Order.md)
+ - [OuterComposite](docs/OuterComposite.md)
+ - [OuterEnum](docs/OuterEnum.md)
+ - [OuterEnumDefaultValue](docs/OuterEnumDefaultValue.md)
+ - [OuterEnumInteger](docs/OuterEnumInteger.md)
+ - [OuterEnumIntegerDefaultValue](docs/OuterEnumIntegerDefaultValue.md)
+ - [OuterObjectWithEnumProperty](docs/OuterObjectWithEnumProperty.md)
+ - [ParentWithNullable](docs/ParentWithNullable.md)
+ - [Pet](docs/Pet.md)
+ - [ReadOnlyFirst](docs/ReadOnlyFirst.md)
+ - [SingleRefType](docs/SingleRefType.md)
+ - [SpecialModelName](docs/SpecialModelName.md)
+ - [Tag](docs/Tag.md)
+ - [TestInlineFreeformAdditionalPropertiesRequest](docs/TestInlineFreeformAdditionalPropertiesRequest.md)
+ - [User](docs/User.md)
+
+
+
+## Documentation for Authorization
+
+
+Authentication schemes defined for the API:
+
+### petstore_auth
+
+
+- **Type**: OAuth
+- **Flow**: implicit
+- **Authorization URL**: http://petstore.swagger.io/api/oauth/dialog
+- **Scopes**:
+ - write:pets: modify pets in your account
+ - read:pets: read your pets
+
+
+### api_key
+
+
+- **Type**: API key
+- **API key parameter name**: api_key
+- **Location**: HTTP header
+
+
+### api_key_query
+
+
+- **Type**: API key
+- **API key parameter name**: api_key_query
+- **Location**: URL query string
+
+
+### http_basic_test
+
+
+- **Type**: HTTP basic authentication
+
+
+### bearer_test
+
+
+- **Type**: HTTP Bearer Token authentication (JWT)
+
+
+### http_signature_test
+
+
+- **Type**: HTTP signature authentication
+
+
+## Recommendation
+
+It's recommended to create an instance of `ApiClient` per thread in a multithreaded environment to avoid any potential issues.
+
+## Author
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/api/openapi.yaml b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/api/openapi.yaml
new file mode 100644
index 000000000000..1eddf878948c
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/api/openapi.yaml
@@ -0,0 +1,2363 @@
+openapi: 3.0.0
+info:
+ description: "This spec is mainly for testing Petstore server and contains fake\
+ \ endpoints, models. Please do not use this for any other purpose. Special characters:\
+ \ \" \\"
+ license:
+ name: Apache-2.0
+ url: https://www.apache.org/licenses/LICENSE-2.0.html
+ title: OpenAPI Petstore
+ version: 1.0.0
+servers:
+- description: petstore server
+ url: "http://{server}.swagger.io:{port}/v2"
+ variables:
+ server:
+ default: petstore
+ enum:
+ - petstore
+ - qa-petstore
+ - dev-petstore
+ port:
+ default: "80"
+ enum:
+ - "80"
+ - "8080"
+- description: The local server
+ url: "https://localhost:8080/{version}"
+ variables:
+ version:
+ default: v2
+ enum:
+ - v1
+ - v2
+- description: The local server without variables
+ url: https://127.0.0.1/no_varaible
+tags:
+- description: Everything about your Pets
+ name: pet
+- description: Access to Petstore orders
+ name: store
+- description: Operations about user
+ name: user
+paths:
+ /foo:
+ get:
+ responses:
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/_foo_get_default_response'
+ description: response
+ x-accepts:
+ - application/json
+ /pet:
+ post:
+ description: ""
+ operationId: addPet
+ requestBody:
+ $ref: '#/components/requestBodies/Pet'
+ responses:
+ "200":
+ description: Successful operation
+ "405":
+ description: Invalid input
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Add a new pet to the store
+ tags:
+ - pet
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ put:
+ description: ""
+ operationId: updatePet
+ requestBody:
+ $ref: '#/components/requestBodies/Pet'
+ responses:
+ "200":
+ description: Successful operation
+ "400":
+ description: Invalid ID supplied
+ "404":
+ description: Pet not found
+ "405":
+ description: Validation exception
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Update an existing pet
+ tags:
+ - pet
+ x-webclient-blocking: true
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ servers:
+ - url: http://petstore.swagger.io/v2
+ - url: http://path-server-test.petstore.local/v2
+ - description: test server with variables
+ url: "http://{server}.swagger.io:{port}/v2"
+ variables:
+ server:
+ default: petstore
+ description: target server
+ enum:
+ - petstore
+ - qa-petstore
+ - dev-petstore
+ port:
+ default: "80"
+ enum:
+ - "80"
+ - "8080"
+ /pet/findByStatus:
+ get:
+ description: Multiple status values can be provided with comma separated strings
+ operationId: findPetsByStatus
+ parameters:
+ - deprecated: true
+ description: Status values that need to be considered for filter
+ explode: false
+ in: query
+ name: status
+ required: true
+ schema:
+ items:
+ default: available
+ enum:
+ - available
+ - pending
+ - sold
+ type: string
+ type: array
+ style: form
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ items:
+ $ref: '#/components/schemas/Pet'
+ type: array
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/Pet'
+ type: array
+ description: successful operation
+ "400":
+ description: Invalid status value
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Finds Pets by status
+ tags:
+ - pet
+ x-webclient-blocking: true
+ x-accepts:
+ - application/json
+ - application/xml
+ /pet/findByTags:
+ get:
+ deprecated: true
+ description: "Multiple tags can be provided with comma separated strings. Use\
+ \ tag1, tag2, tag3 for testing."
+ operationId: findPetsByTags
+ parameters:
+ - description: Tags to filter by
+ explode: false
+ in: query
+ name: tags
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ uniqueItems: true
+ style: form
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ items:
+ $ref: '#/components/schemas/Pet'
+ type: array
+ uniqueItems: true
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/Pet'
+ type: array
+ uniqueItems: true
+ description: successful operation
+ "400":
+ description: Invalid tag value
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Finds Pets by tags
+ tags:
+ - pet
+ x-webclient-blocking: true
+ x-accepts:
+ - application/json
+ - application/xml
+ /pet/{petId}:
+ delete:
+ description: ""
+ operationId: deletePet
+ parameters:
+ - explode: false
+ in: header
+ name: api_key
+ required: false
+ schema:
+ type: string
+ style: simple
+ - description: Pet id to delete
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ responses:
+ "200":
+ description: Successful operation
+ "400":
+ description: Invalid pet value
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Deletes a pet
+ tags:
+ - pet
+ x-accepts:
+ - application/json
+ get:
+ description: Returns a single pet
+ operationId: getPetById
+ parameters:
+ - description: ID of pet to return
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/Pet'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Pet'
+ description: successful operation
+ "400":
+ description: Invalid ID supplied
+ "404":
+ description: Pet not found
+ security:
+ - api_key: []
+ summary: Find pet by ID
+ tags:
+ - pet
+ x-webclient-blocking: true
+ x-accepts:
+ - application/json
+ - application/xml
+ post:
+ description: ""
+ operationId: updatePetWithForm
+ parameters:
+ - description: ID of pet that needs to be updated
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ $ref: '#/components/schemas/updatePetWithForm_request'
+ responses:
+ "200":
+ description: Successful operation
+ "405":
+ description: Invalid input
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: Updates a pet in the store with form data
+ tags:
+ - pet
+ x-content-type: application/x-www-form-urlencoded
+ x-accepts:
+ - application/json
+ /pet/{petId}/uploadImage:
+ post:
+ description: ""
+ operationId: uploadFile
+ parameters:
+ - description: ID of pet to update
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ requestBody:
+ content:
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/uploadFile_request'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiResponse'
+ description: successful operation
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: uploads an image
+ tags:
+ - pet
+ x-content-type: multipart/form-data
+ x-accepts:
+ - application/json
+ /store/inventory:
+ get:
+ description: Returns a map of status codes to quantities
+ operationId: getInventory
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ additionalProperties:
+ format: int32
+ type: integer
+ type: object
+ description: successful operation
+ security:
+ - api_key: []
+ summary: Returns pet inventories by status
+ tags:
+ - store
+ x-webclient-blocking: false
+ x-accepts:
+ - application/json
+ /store/order:
+ post:
+ description: ""
+ operationId: placeOrder
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Order'
+ description: order placed for purchasing the pet
+ required: true
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/Order'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Order'
+ description: successful operation
+ "400":
+ description: Invalid Order
+ summary: Place an order for a pet
+ tags:
+ - store
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ - application/xml
+ /store/order/{order_id}:
+ delete:
+ description: For valid response try integer IDs with value < 1000. Anything
+ above 1000 or nonintegers will generate API errors
+ operationId: deleteOrder
+ parameters:
+ - description: ID of the order that needs to be deleted
+ explode: false
+ in: path
+ name: order_id
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "400":
+ description: Invalid ID supplied
+ "404":
+ description: Order not found
+ summary: Delete purchase order by ID
+ tags:
+ - store
+ x-accepts:
+ - application/json
+ get:
+ description: For valid response try integer IDs with value <= 5 or > 10. Other
+ values will generate exceptions
+ operationId: getOrderById
+ parameters:
+ - description: ID of pet that needs to be fetched
+ explode: false
+ in: path
+ name: order_id
+ required: true
+ schema:
+ format: int64
+ maximum: 5
+ minimum: 1
+ type: integer
+ style: simple
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/Order'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Order'
+ description: successful operation
+ "400":
+ description: Invalid ID supplied
+ "404":
+ description: Order not found
+ summary: Find purchase order by ID
+ tags:
+ - store
+ x-accepts:
+ - application/json
+ - application/xml
+ /user:
+ post:
+ description: This can only be done by the logged in user.
+ operationId: createUser
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/User'
+ description: Created user object
+ required: true
+ responses:
+ default:
+ description: successful operation
+ summary: Create user
+ tags:
+ - user
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /user/createWithArray:
+ post:
+ description: ""
+ operationId: createUsersWithArrayInput
+ requestBody:
+ $ref: '#/components/requestBodies/UserArray'
+ responses:
+ default:
+ description: successful operation
+ summary: Creates list of users with given input array
+ tags:
+ - user
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /user/createWithList:
+ post:
+ description: ""
+ operationId: createUsersWithListInput
+ requestBody:
+ $ref: '#/components/requestBodies/UserArray'
+ responses:
+ default:
+ description: successful operation
+ summary: Creates list of users with given input array
+ tags:
+ - user
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /user/login:
+ get:
+ description: ""
+ operationId: loginUser
+ parameters:
+ - description: The user name for login
+ explode: true
+ in: query
+ name: username
+ required: true
+ schema:
+ type: string
+ style: form
+ - description: The password for login in clear text
+ explode: true
+ in: query
+ name: password
+ required: true
+ schema:
+ type: string
+ style: form
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ type: string
+ application/json:
+ schema:
+ type: string
+ description: successful operation
+ headers:
+ X-Rate-Limit:
+ description: calls per hour allowed by the user
+ explode: false
+ schema:
+ format: int32
+ type: integer
+ style: simple
+ X-Expires-After:
+ description: date in UTC when token expires
+ explode: false
+ schema:
+ format: date-time
+ type: string
+ style: simple
+ "400":
+ description: Invalid username/password supplied
+ summary: Logs user into the system
+ tags:
+ - user
+ x-accepts:
+ - application/json
+ - application/xml
+ /user/logout:
+ get:
+ description: ""
+ operationId: logoutUser
+ responses:
+ default:
+ description: successful operation
+ summary: Logs out current logged in user session
+ tags:
+ - user
+ x-accepts:
+ - application/json
+ /user/{username}:
+ delete:
+ description: This can only be done by the logged in user.
+ operationId: deleteUser
+ parameters:
+ - description: The name that needs to be deleted
+ explode: false
+ in: path
+ name: username
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "400":
+ description: Invalid username supplied
+ "404":
+ description: User not found
+ summary: Delete user
+ tags:
+ - user
+ x-accepts:
+ - application/json
+ get:
+ description: ""
+ operationId: getUserByName
+ parameters:
+ - description: The name that needs to be fetched. Use user1 for testing.
+ explode: false
+ in: path
+ name: username
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/User'
+ application/json:
+ schema:
+ $ref: '#/components/schemas/User'
+ description: successful operation
+ "400":
+ description: Invalid username supplied
+ "404":
+ description: User not found
+ summary: Get user by user name
+ tags:
+ - user
+ x-accepts:
+ - application/json
+ - application/xml
+ put:
+ description: This can only be done by the logged in user.
+ operationId: updateUser
+ parameters:
+ - description: name that need to be deleted
+ explode: false
+ in: path
+ name: username
+ required: true
+ schema:
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/User'
+ description: Updated user object
+ required: true
+ responses:
+ "400":
+ description: Invalid user supplied
+ "404":
+ description: User not found
+ summary: Updated user
+ tags:
+ - user
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /fake_classname_test:
+ patch:
+ description: To test class name in snake case
+ operationId: testClassname
+ requestBody:
+ $ref: '#/components/requestBodies/Client'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Client'
+ description: successful operation
+ security:
+ - api_key_query: []
+ summary: To test class name in snake case
+ tags:
+ - fake_classname_tags 123#$%^
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /fake:
+ delete:
+ description: Fake endpoint to test group parameters (optional)
+ operationId: testGroupParameters
+ parameters:
+ - description: Required String in group parameters
+ explode: true
+ in: query
+ name: required_string_group
+ required: true
+ schema:
+ type: integer
+ style: form
+ - description: Required Boolean in group parameters
+ explode: false
+ in: header
+ name: required_boolean_group
+ required: true
+ schema:
+ type: boolean
+ style: simple
+ - description: Required Integer in group parameters
+ explode: true
+ in: query
+ name: required_int64_group
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: form
+ - description: String in group parameters
+ explode: true
+ in: query
+ name: string_group
+ required: false
+ schema:
+ type: integer
+ style: form
+ - description: Boolean in group parameters
+ explode: false
+ in: header
+ name: boolean_group
+ required: false
+ schema:
+ type: boolean
+ style: simple
+ - description: Integer in group parameters
+ explode: true
+ in: query
+ name: int64_group
+ required: false
+ schema:
+ format: int64
+ type: integer
+ style: form
+ responses:
+ "400":
+ description: Something wrong
+ security:
+ - bearer_test: []
+ summary: Fake endpoint to test group parameters (optional)
+ tags:
+ - fake
+ x-group-parameters: true
+ x-accepts:
+ - application/json
+ get:
+ description: To test enum parameters
+ operationId: testEnumParameters
+ parameters:
+ - description: Header parameter enum test (string array)
+ explode: false
+ in: header
+ name: enum_header_string_array
+ required: false
+ schema:
+ items:
+ default: $
+ enum:
+ - '>'
+ - $
+ type: string
+ type: array
+ style: simple
+ - description: Header parameter enum test (string)
+ explode: false
+ in: header
+ name: enum_header_string
+ required: false
+ schema:
+ default: -efg
+ enum:
+ - _abc
+ - -efg
+ - (xyz)
+ type: string
+ style: simple
+ - description: Query parameter enum test (string array)
+ explode: true
+ in: query
+ name: enum_query_string_array
+ required: false
+ schema:
+ items:
+ default: $
+ enum:
+ - '>'
+ - $
+ type: string
+ type: array
+ style: form
+ - description: Query parameter enum test (string)
+ explode: true
+ in: query
+ name: enum_query_string
+ required: false
+ schema:
+ default: -efg
+ enum:
+ - _abc
+ - -efg
+ - (xyz)
+ type: string
+ style: form
+ - description: Query parameter enum test (double)
+ explode: true
+ in: query
+ name: enum_query_integer
+ required: false
+ schema:
+ enum:
+ - 1
+ - -2
+ format: int32
+ type: integer
+ style: form
+ - description: Query parameter enum test (double)
+ explode: true
+ in: query
+ name: enum_query_double
+ required: false
+ schema:
+ enum:
+ - 1.1
+ - -1.2
+ format: double
+ type: number
+ style: form
+ - explode: true
+ in: query
+ name: enum_query_model_array
+ required: false
+ schema:
+ items:
+ $ref: '#/components/schemas/EnumClass'
+ type: array
+ style: form
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ $ref: '#/components/schemas/testEnumParameters_request'
+ responses:
+ "400":
+ description: Invalid request
+ "404":
+ description: Not found
+ summary: To test enum parameters
+ tags:
+ - fake
+ x-content-type: application/x-www-form-urlencoded
+ x-accepts:
+ - application/json
+ patch:
+ description: To test "client" model
+ operationId: testClientModel
+ requestBody:
+ $ref: '#/components/requestBodies/Client'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Client'
+ description: successful operation
+ summary: To test "client" model
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ post:
+ description: |
+ Fake endpoint for testing various parameters
+ 假端點
+ 偽のエンドポイント
+ 가짜 엔드 포인트
+ operationId: testEndpointParameters
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ $ref: '#/components/schemas/testEndpointParameters_request'
+ responses:
+ "400":
+ description: Invalid username supplied
+ "404":
+ description: User not found
+ security:
+ - http_basic_test: []
+ summary: |
+ Fake endpoint for testing various parameters
+ 假端點
+ 偽のエンドポイント
+ 가짜 엔드 포인트
+ tags:
+ - fake
+ x-content-type: application/x-www-form-urlencoded
+ x-accepts:
+ - application/json
+ /fake/outer/number:
+ post:
+ description: Test serialization of outer number types
+ operationId: fakeOuterNumberSerialize
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OuterNumber'
+ description: Input number as post body
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/OuterNumber'
+ description: Output number
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - '*/*'
+ /fake/property/enum-int:
+ post:
+ description: Test serialization of enum (int) properties with examples
+ operationId: fakePropertyEnumIntegerSerialize
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OuterObjectWithEnumProperty'
+ description: Input enum (int) as post body
+ required: true
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/OuterObjectWithEnumProperty'
+ description: Output enum (int)
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - '*/*'
+ /fake/outer/string:
+ post:
+ description: Test serialization of outer string types
+ operationId: fakeOuterStringSerialize
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OuterString'
+ description: Input string as post body
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/OuterString'
+ description: Output string
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - '*/*'
+ /fake/outer/boolean:
+ post:
+ description: Test serialization of outer boolean types
+ operationId: fakeOuterBooleanSerialize
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OuterBoolean'
+ description: Input boolean as post body
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/OuterBoolean'
+ description: Output boolean
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - '*/*'
+ /fake/outer/composite:
+ post:
+ description: Test serialization of object with outer number type
+ operationId: fakeOuterCompositeSerialize
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/OuterComposite'
+ description: Input composite as post body
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/OuterComposite'
+ description: Output composite
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - '*/*'
+ /fake/BigDecimalMap:
+ get:
+ description: "for Java apache and Java native, test toUrlQueryString for maps\
+ \ with BegDecimal keys"
+ operationId: fakeBigDecimalMap
+ responses:
+ "200":
+ content:
+ '*/*':
+ schema:
+ $ref: '#/components/schemas/fakeBigDecimalMap_200_response'
+ description: successful operation
+ tags:
+ - fake
+ x-accepts:
+ - '*/*'
+ /fake/jsonFormData:
+ get:
+ description: ""
+ operationId: testJsonFormData
+ requestBody:
+ content:
+ application/x-www-form-urlencoded:
+ schema:
+ $ref: '#/components/schemas/testJsonFormData_request'
+ responses:
+ "200":
+ description: successful operation
+ summary: test json serialization of form data
+ tags:
+ - fake
+ x-content-type: application/x-www-form-urlencoded
+ x-accepts:
+ - application/json
+ /fake/additionalProperties-reference:
+ post:
+ description: ""
+ operationId: testAdditionalPropertiesReference
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FreeFormObject'
+ description: request body
+ required: true
+ responses:
+ "200":
+ description: successful operation
+ summary: test referenced additionalProperties
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /fake/stringMap-reference:
+ post:
+ description: ""
+ operationId: testStringMapReference
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/MapOfString'
+ description: request body
+ required: true
+ responses:
+ "200":
+ description: successful operation
+ summary: test referenced string map
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /fake/inline-additionalProperties:
+ post:
+ description: ""
+ operationId: testInlineAdditionalProperties
+ requestBody:
+ content:
+ application/json:
+ schema:
+ additionalProperties:
+ type: string
+ type: object
+ description: request body
+ required: true
+ responses:
+ "200":
+ description: successful operation
+ summary: test inline additionalProperties
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /fake/inline-freeform-additionalProperties:
+ post:
+ description: ""
+ operationId: testInlineFreeformAdditionalProperties
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/testInlineFreeformAdditionalProperties_request'
+ description: request body
+ required: true
+ responses:
+ "200":
+ description: successful operation
+ summary: test inline free-form additionalProperties
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /fake/nullable:
+ post:
+ description: ""
+ operationId: testNullable
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ChildWithNullable'
+ description: request body
+ required: true
+ responses:
+ "200":
+ description: successful operation
+ summary: test nullable parent property
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /fake/body-with-query-params:
+ put:
+ operationId: testBodyWithQueryParams
+ parameters:
+ - explode: true
+ in: query
+ name: query
+ required: true
+ schema:
+ type: string
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/User'
+ required: true
+ responses:
+ "200":
+ description: Success
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /another-fake/dummy:
+ patch:
+ description: To test special tags and operation ID starting with number
+ operationId: 123_test_@#$%_special_tags
+ requestBody:
+ $ref: '#/components/requestBodies/Client'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Client'
+ description: successful operation
+ summary: To test special tags
+ tags:
+ - $another-fake?
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /fake/body-with-file-schema:
+ put:
+ description: "For this test, the body for this request must reference a schema\
+ \ named `File`."
+ operationId: testBodyWithFileSchema
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/FileSchemaTestClass'
+ required: true
+ responses:
+ "200":
+ description: Success
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /fake/body-with-binary:
+ put:
+ description: "For this test, the body has to be a binary file."
+ operationId: testBodyWithBinary
+ requestBody:
+ content:
+ image/png:
+ schema:
+ format: binary
+ nullable: true
+ type: string
+ description: image to upload
+ required: true
+ responses:
+ "200":
+ description: Success
+ tags:
+ - fake
+ x-content-type: image/png
+ x-accepts:
+ - application/json
+ /fake/test-query-parameters:
+ put:
+ description: To test the collection format in query parameters
+ operationId: testQueryParameterCollectionFormat
+ parameters:
+ - explode: false
+ in: query
+ name: pipe
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: pipeDelimited
+ - explode: false
+ in: query
+ name: ioutil
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: false
+ in: query
+ name: http
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: spaceDelimited
+ - explode: false
+ in: query
+ name: url
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: context
+ required: true
+ schema:
+ items:
+ type: string
+ type: array
+ style: form
+ - explode: true
+ in: query
+ name: language
+ required: false
+ schema:
+ additionalProperties:
+ format: string
+ type: string
+ type: object
+ style: form
+ - allowEmptyValue: true
+ explode: true
+ in: query
+ name: allowEmpty
+ required: true
+ schema:
+ type: string
+ style: form
+ responses:
+ "200":
+ description: Success
+ tags:
+ - fake
+ x-accepts:
+ - application/json
+ /fake/{petId}/uploadImageWithRequiredFile:
+ post:
+ description: ""
+ operationId: uploadFileWithRequiredFile
+ parameters:
+ - description: ID of pet to update
+ explode: false
+ in: path
+ name: petId
+ required: true
+ schema:
+ format: int64
+ type: integer
+ style: simple
+ requestBody:
+ content:
+ multipart/form-data:
+ schema:
+ $ref: '#/components/schemas/uploadFileWithRequiredFile_request'
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/ApiResponse'
+ description: successful operation
+ security:
+ - petstore_auth:
+ - write:pets
+ - read:pets
+ summary: uploads an image (required)
+ tags:
+ - pet
+ x-content-type: multipart/form-data
+ x-accepts:
+ - application/json
+ /fake/health:
+ get:
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/HealthCheckResult'
+ description: The instance started successfully
+ summary: Health check endpoint
+ tags:
+ - fake
+ x-accepts:
+ - application/json
+ /fake/http-signature-test:
+ get:
+ operationId: fake-http-signature-test
+ parameters:
+ - description: query parameter
+ explode: true
+ in: query
+ name: query_1
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: header parameter
+ explode: false
+ in: header
+ name: header_1
+ required: false
+ schema:
+ type: string
+ style: simple
+ requestBody:
+ $ref: '#/components/requestBodies/Pet'
+ responses:
+ "200":
+ description: The instance started successfully
+ security:
+ - http_signature_test: []
+ summary: test http signature authentication
+ tags:
+ - fake
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+components:
+ requestBodies:
+ UserArray:
+ content:
+ application/json:
+ schema:
+ items:
+ $ref: '#/components/schemas/User'
+ type: array
+ description: List of user object
+ required: true
+ Client:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Client'
+ description: client model
+ required: true
+ Pet:
+ content:
+ application/json:
+ schema:
+ $ref: '#/components/schemas/Pet'
+ application/xml:
+ schema:
+ $ref: '#/components/schemas/Pet'
+ description: Pet object that needs to be added to the store
+ required: true
+ schemas:
+ Foo:
+ example:
+ bar: bar
+ properties:
+ bar:
+ default: bar
+ type: string
+ type: object
+ Bar:
+ default: bar
+ type: string
+ Order:
+ example:
+ petId: 6
+ quantity: 1
+ id: 0
+ shipDate: 2000-01-23T04:56:07.000+00:00
+ complete: false
+ status: placed
+ properties:
+ id:
+ format: int64
+ type: integer
+ petId:
+ format: int64
+ type: integer
+ quantity:
+ format: int32
+ type: integer
+ shipDate:
+ format: date-time
+ type: string
+ status:
+ description: Order Status
+ enum:
+ - placed
+ - approved
+ - delivered
+ type: string
+ complete:
+ default: false
+ type: boolean
+ type: object
+ xml:
+ name: Order
+ Category:
+ example:
+ name: default-name
+ id: 6
+ properties:
+ id:
+ format: int64
+ type: integer
+ name:
+ default: default-name
+ type: string
+ required:
+ - name
+ type: object
+ xml:
+ name: Category
+ User:
+ example:
+ firstName: firstName
+ lastName: lastName
+ password: password
+ userStatus: 6
+ phone: phone
+ id: 0
+ email: email
+ username: username
+ properties:
+ id:
+ format: int64
+ type: integer
+ x-is-unique: true
+ username:
+ type: string
+ firstName:
+ type: string
+ lastName:
+ type: string
+ email:
+ type: string
+ password:
+ type: string
+ phone:
+ type: string
+ userStatus:
+ description: User Status
+ format: int32
+ type: integer
+ type: object
+ xml:
+ name: User
+ Tag:
+ example:
+ name: name
+ id: 1
+ properties:
+ id:
+ format: int64
+ type: integer
+ name:
+ type: string
+ type: object
+ xml:
+ name: Tag
+ Pet:
+ example:
+ photoUrls:
+ - photoUrls
+ - photoUrls
+ name: doggie
+ id: 0
+ category:
+ name: default-name
+ id: 6
+ tags:
+ - name: name
+ id: 1
+ - name: name
+ id: 1
+ status: available
+ properties:
+ id:
+ format: int64
+ type: integer
+ x-is-unique: true
+ category:
+ $ref: '#/components/schemas/Category'
+ name:
+ example: doggie
+ type: string
+ photoUrls:
+ items:
+ type: string
+ xml:
+ name: photoUrl
+ type: array
+ uniqueItems: true
+ xml:
+ wrapped: true
+ tags:
+ items:
+ $ref: '#/components/schemas/Tag'
+ type: array
+ xml:
+ name: tag
+ wrapped: true
+ status:
+ description: pet status in the store
+ enum:
+ - available
+ - pending
+ - sold
+ type: string
+ required:
+ - name
+ - photoUrls
+ type: object
+ xml:
+ name: Pet
+ ApiResponse:
+ example:
+ code: 0
+ type: type
+ message: message
+ properties:
+ code:
+ format: int32
+ type: integer
+ type:
+ type: string
+ message:
+ type: string
+ type: object
+ Return:
+ description: Model for testing reserved words
+ properties:
+ return:
+ format: int32
+ type: integer
+ xml:
+ name: Return
+ Name:
+ description: Model for testing model name same as property name
+ properties:
+ name:
+ format: int32
+ type: integer
+ snake_case:
+ format: int32
+ readOnly: true
+ type: integer
+ property:
+ type: string
+ "123Number":
+ readOnly: true
+ type: integer
+ required:
+ - name
+ xml:
+ name: Name
+ "200_response":
+ description: Model for testing model name starting with number
+ properties:
+ name:
+ format: int32
+ type: integer
+ class:
+ type: string
+ xml:
+ name: Name
+ ClassModel:
+ description: Model for testing model with "_class" property
+ properties:
+ _class:
+ type: string
+ Dog:
+ allOf:
+ - $ref: '#/components/schemas/Animal'
+ - properties:
+ breed:
+ type: string
+ type: object
+ Cat:
+ allOf:
+ - $ref: '#/components/schemas/Animal'
+ - properties:
+ declawed:
+ type: boolean
+ type: object
+ Animal:
+ discriminator:
+ mapping:
+ DOG: '#/components/schemas/Dog'
+ CAT: '#/components/schemas/Cat'
+ propertyName: className
+ properties:
+ className:
+ type: string
+ color:
+ default: red
+ type: string
+ required:
+ - className
+ type: object
+ AnimalFarm:
+ items:
+ $ref: '#/components/schemas/Animal'
+ type: array
+ format_test:
+ properties:
+ integer:
+ maximum: 100
+ minimum: 10
+ type: integer
+ int32:
+ format: int32
+ maximum: 200
+ minimum: 20
+ type: integer
+ int64:
+ format: int64
+ type: integer
+ number:
+ maximum: 543.2
+ minimum: 32.1
+ type: number
+ float:
+ format: float
+ maximum: 987.6
+ minimum: 54.3
+ type: number
+ double:
+ format: double
+ maximum: 123.4
+ minimum: 67.8
+ type: number
+ decimal:
+ format: number
+ type: string
+ string:
+ pattern: "/[a-z]/i"
+ type: string
+ byte:
+ format: byte
+ type: string
+ binary:
+ format: binary
+ type: string
+ date:
+ format: date
+ type: string
+ dateTime:
+ format: date-time
+ type: string
+ uuid:
+ example: 72f98069-206d-4f12-9f12-3d1e525a8e84
+ format: uuid
+ type: string
+ password:
+ format: password
+ maxLength: 64
+ minLength: 10
+ type: string
+ pattern_with_digits:
+ description: A string that is a 10 digit number. Can have leading zeros.
+ pattern: "^\\d{10}$"
+ type: string
+ pattern_with_digits_and_delimiter:
+ description: A string starting with 'image_' (case insensitive) and one
+ to three digits following i.e. Image_01.
+ pattern: "/^image_\\d{1,3}$/i"
+ type: string
+ required:
+ - byte
+ - date
+ - number
+ - password
+ type: object
+ EnumClass:
+ default: -efg
+ enum:
+ - _abc
+ - -efg
+ - (xyz)
+ type: string
+ Enum_Test:
+ properties:
+ enum_string:
+ enum:
+ - UPPER
+ - lower
+ - ""
+ type: string
+ enum_string_required:
+ enum:
+ - UPPER
+ - lower
+ - ""
+ type: string
+ enum_integer:
+ enum:
+ - 1
+ - -1
+ format: int32
+ type: integer
+ enum_number:
+ enum:
+ - 1.1
+ - -1.2
+ format: double
+ type: number
+ outerEnum:
+ $ref: '#/components/schemas/OuterEnum'
+ outerEnumInteger:
+ $ref: '#/components/schemas/OuterEnumInteger'
+ outerEnumDefaultValue:
+ $ref: '#/components/schemas/OuterEnumDefaultValue'
+ outerEnumIntegerDefaultValue:
+ $ref: '#/components/schemas/OuterEnumIntegerDefaultValue'
+ required:
+ - enum_string_required
+ type: object
+ AdditionalPropertiesClass:
+ properties:
+ map_property:
+ additionalProperties:
+ type: string
+ type: object
+ map_of_map_property:
+ additionalProperties:
+ additionalProperties:
+ type: string
+ type: object
+ type: object
+ type: object
+ MixedPropertiesAndAdditionalPropertiesClass:
+ properties:
+ uuid:
+ format: uuid
+ type: string
+ dateTime:
+ format: date-time
+ type: string
+ map:
+ additionalProperties:
+ $ref: '#/components/schemas/Animal'
+ type: object
+ type: object
+ List:
+ properties:
+ "123-list":
+ type: string
+ type: object
+ Client:
+ example:
+ client: client
+ properties:
+ client:
+ type: string
+ type: object
+ ReadOnlyFirst:
+ properties:
+ bar:
+ readOnly: true
+ type: string
+ baz:
+ type: string
+ type: object
+ hasOnlyReadOnly:
+ properties:
+ bar:
+ readOnly: true
+ type: string
+ foo:
+ readOnly: true
+ type: string
+ type: object
+ Capitalization:
+ properties:
+ smallCamel:
+ type: string
+ CapitalCamel:
+ type: string
+ small_Snake:
+ type: string
+ Capital_Snake:
+ type: string
+ SCA_ETH_Flow_Points:
+ type: string
+ ATT_NAME:
+ description: |
+ Name of the pet
+ type: string
+ type: object
+ MapTest:
+ properties:
+ map_map_of_string:
+ additionalProperties:
+ additionalProperties:
+ type: string
+ type: object
+ type: object
+ map_of_enum_string:
+ additionalProperties:
+ enum:
+ - UPPER
+ - lower
+ type: string
+ type: object
+ direct_map:
+ additionalProperties:
+ type: boolean
+ type: object
+ indirect_map:
+ additionalProperties:
+ type: boolean
+ type: object
+ type: object
+ ArrayTest:
+ properties:
+ array_of_string:
+ items:
+ type: string
+ maxItems: 3
+ minItems: 0
+ type: array
+ array_array_of_integer:
+ items:
+ items:
+ format: int64
+ type: integer
+ type: array
+ type: array
+ array_array_of_model:
+ items:
+ items:
+ $ref: '#/components/schemas/ReadOnlyFirst'
+ type: array
+ type: array
+ type: object
+ NumberOnly:
+ properties:
+ JustNumber:
+ type: number
+ type: object
+ ArrayOfNumberOnly:
+ properties:
+ ArrayNumber:
+ items:
+ type: number
+ type: array
+ type: object
+ ArrayOfArrayOfNumberOnly:
+ properties:
+ ArrayArrayNumber:
+ items:
+ items:
+ type: number
+ type: array
+ type: array
+ type: object
+ EnumArrays:
+ properties:
+ just_symbol:
+ enum:
+ - '>='
+ - $
+ type: string
+ array_enum:
+ items:
+ enum:
+ - fish
+ - crab
+ type: string
+ type: array
+ type: object
+ FreeFormObject:
+ additionalProperties: true
+ description: A schema consisting only of additional properties
+ type: object
+ MapOfString:
+ additionalProperties:
+ type: string
+ description: A schema consisting only of additional properties of type string
+ type: object
+ OuterEnum:
+ enum:
+ - placed
+ - approved
+ - delivered
+ nullable: true
+ type: string
+ OuterEnumInteger:
+ enum:
+ - 0
+ - 1
+ - 2
+ example: 2
+ type: integer
+ OuterEnumDefaultValue:
+ default: placed
+ enum:
+ - placed
+ - approved
+ - delivered
+ type: string
+ OuterEnumIntegerDefaultValue:
+ default: 0
+ enum:
+ - 0
+ - 1
+ - 2
+ type: integer
+ OuterComposite:
+ example:
+ my_string: my_string
+ my_number: 0.8008281904610115
+ my_boolean: true
+ properties:
+ my_number:
+ type: number
+ my_string:
+ type: string
+ my_boolean:
+ type: boolean
+ x-codegen-body-parameter-name: boolean_post_body
+ type: object
+ OuterNumber:
+ type: number
+ OuterString:
+ type: string
+ OuterBoolean:
+ type: boolean
+ x-codegen-body-parameter-name: boolean_post_body
+ ParentWithNullable:
+ discriminator:
+ propertyName: type
+ properties:
+ type:
+ enum:
+ - ChildWithNullable
+ type: string
+ nullableProperty:
+ nullable: true
+ type: string
+ type: object
+ ChildWithNullable:
+ allOf:
+ - $ref: '#/components/schemas/ParentWithNullable'
+ - properties:
+ otherProperty:
+ type: string
+ type: object
+ example:
+ otherProperty: otherProperty
+ nullableProperty: nullableProperty
+ type: ChildWithNullable
+ StringBooleanMap:
+ additionalProperties:
+ type: boolean
+ type: object
+ FileSchemaTestClass:
+ example:
+ file:
+ sourceURI: sourceURI
+ files:
+ - sourceURI: sourceURI
+ - sourceURI: sourceURI
+ properties:
+ file:
+ $ref: '#/components/schemas/File'
+ files:
+ items:
+ $ref: '#/components/schemas/File'
+ type: array
+ type: object
+ File:
+ description: Must be named `File` for test.
+ example:
+ sourceURI: sourceURI
+ properties:
+ sourceURI:
+ description: Test capitalization
+ type: string
+ type: object
+ _special_model.name_:
+ properties:
+ $special[property.name]:
+ format: int64
+ type: integer
+ xml:
+ name: "$special[model.name]"
+ HealthCheckResult:
+ description: Just a string to inform instance is up and running. Make it nullable
+ in hope to get it as pointer in generated model.
+ example:
+ NullableMessage: NullableMessage
+ properties:
+ NullableMessage:
+ nullable: true
+ type: string
+ type: object
+ NullableClass:
+ additionalProperties:
+ nullable: true
+ type: object
+ properties:
+ integer_prop:
+ nullable: true
+ type: integer
+ number_prop:
+ nullable: true
+ type: number
+ boolean_prop:
+ nullable: true
+ type: boolean
+ string_prop:
+ nullable: true
+ type: string
+ date_prop:
+ format: date
+ nullable: true
+ type: string
+ datetime_prop:
+ format: date-time
+ nullable: true
+ type: string
+ array_nullable_prop:
+ items:
+ type: object
+ nullable: true
+ type: array
+ array_and_items_nullable_prop:
+ items:
+ nullable: true
+ type: object
+ nullable: true
+ type: array
+ array_items_nullable:
+ items:
+ nullable: true
+ type: object
+ type: array
+ object_nullable_prop:
+ additionalProperties:
+ type: object
+ nullable: true
+ type: object
+ object_and_items_nullable_prop:
+ additionalProperties:
+ nullable: true
+ type: object
+ nullable: true
+ type: object
+ object_items_nullable:
+ additionalProperties:
+ nullable: true
+ type: object
+ type: object
+ type: object
+ OuterObjectWithEnumProperty:
+ example:
+ value: 2
+ properties:
+ value:
+ $ref: '#/components/schemas/OuterEnumInteger'
+ required:
+ - value
+ type: object
+ DeprecatedObject:
+ deprecated: true
+ properties:
+ name:
+ type: string
+ type: object
+ ObjectWithDeprecatedFields:
+ properties:
+ uuid:
+ type: string
+ id:
+ deprecated: true
+ type: number
+ deprecatedRef:
+ $ref: '#/components/schemas/DeprecatedObject'
+ bars:
+ deprecated: true
+ items:
+ $ref: '#/components/schemas/Bar'
+ type: array
+ type: object
+ AllOfWithSingleRef:
+ properties:
+ username:
+ type: string
+ SingleRefType:
+ allOf:
+ - $ref: '#/components/schemas/SingleRefType'
+ type: object
+ SingleRefType:
+ enum:
+ - admin
+ - user
+ title: SingleRefType
+ type: string
+ _foo_get_default_response:
+ example:
+ string:
+ bar: bar
+ properties:
+ string:
+ $ref: '#/components/schemas/Foo'
+ type: object
+ updatePetWithForm_request:
+ properties:
+ name:
+ description: Updated name of the pet
+ type: string
+ status:
+ description: Updated status of the pet
+ type: string
+ type: object
+ uploadFile_request:
+ properties:
+ additionalMetadata:
+ description: Additional data to pass to server
+ type: string
+ file:
+ description: file to upload
+ format: binary
+ type: string
+ type: object
+ testEnumParameters_request:
+ properties:
+ enum_form_string_array:
+ description: Form parameter enum test (string array)
+ items:
+ default: $
+ enum:
+ - '>'
+ - $
+ type: string
+ type: array
+ enum_form_string:
+ default: -efg
+ description: Form parameter enum test (string)
+ enum:
+ - _abc
+ - -efg
+ - (xyz)
+ type: string
+ type: object
+ testEndpointParameters_request:
+ properties:
+ integer:
+ description: None
+ maximum: 100
+ minimum: 10
+ type: integer
+ int32:
+ description: None
+ format: int32
+ maximum: 200
+ minimum: 20
+ type: integer
+ int64:
+ description: None
+ format: int64
+ type: integer
+ number:
+ description: None
+ maximum: 543.2
+ minimum: 32.1
+ type: number
+ float:
+ description: None
+ format: float
+ maximum: 987.6
+ type: number
+ double:
+ description: None
+ format: double
+ maximum: 123.4
+ minimum: 67.8
+ type: number
+ string:
+ description: None
+ pattern: "/[a-z]/i"
+ type: string
+ pattern_without_delimiter:
+ description: None
+ pattern: "^[A-Z].*"
+ type: string
+ byte:
+ description: None
+ format: byte
+ type: string
+ binary:
+ description: None
+ format: binary
+ type: string
+ date:
+ description: None
+ format: date
+ type: string
+ dateTime:
+ description: None
+ format: date-time
+ type: string
+ password:
+ description: None
+ format: password
+ maxLength: 64
+ minLength: 10
+ type: string
+ callback:
+ description: None
+ type: string
+ required:
+ - byte
+ - double
+ - number
+ - pattern_without_delimiter
+ type: object
+ fakeBigDecimalMap_200_response:
+ example:
+ someId: 0.8008281904610115
+ someMap:
+ key: 6.027456183070403
+ properties:
+ someId:
+ type: number
+ someMap:
+ additionalProperties:
+ type: number
+ type: object
+ type: object
+ testJsonFormData_request:
+ properties:
+ param:
+ description: field1
+ type: string
+ param2:
+ description: field2
+ type: string
+ required:
+ - param
+ - param2
+ type: object
+ testInlineFreeformAdditionalProperties_request:
+ additionalProperties: true
+ properties:
+ someProperty:
+ type: string
+ type: object
+ uploadFileWithRequiredFile_request:
+ properties:
+ additionalMetadata:
+ description: Additional data to pass to server
+ type: string
+ requiredFile:
+ description: file to upload
+ format: binary
+ type: string
+ required:
+ - requiredFile
+ type: object
+ securitySchemes:
+ petstore_auth:
+ flows:
+ implicit:
+ authorizationUrl: http://petstore.swagger.io/api/oauth/dialog
+ scopes:
+ write:pets: modify pets in your account
+ read:pets: read your pets
+ type: oauth2
+ api_key:
+ in: header
+ name: api_key
+ type: apiKey
+ api_key_query:
+ in: query
+ name: api_key_query
+ type: apiKey
+ http_basic_test:
+ scheme: basic
+ type: http
+ bearer_test:
+ bearerFormat: JWT
+ scheme: bearer
+ type: http
+ http_signature_test:
+ scheme: signature
+ type: http
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/build.gradle b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/build.gradle
new file mode 100644
index 000000000000..7bca4d48a8db
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/build.gradle
@@ -0,0 +1,136 @@
+apply plugin: 'idea'
+apply plugin: 'eclipse'
+
+group = 'org.openapitools'
+version = '1.0.0'
+
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+ dependencies {
+ classpath 'com.android.tools.build:gradle:1.5.+'
+ classpath 'com.github.dcendents:android-maven-gradle-plugin:1.3'
+ }
+}
+
+repositories {
+ mavenCentral()
+}
+
+
+if(hasProperty('target') && target == 'android') {
+
+ apply plugin: 'com.android.library'
+ apply plugin: 'com.github.dcendents.android-maven'
+
+ android {
+ compileSdkVersion 23
+ buildToolsVersion '23.0.2'
+ defaultConfig {
+ minSdkVersion 14
+ targetSdkVersion 22
+ }
+ compileOptions {
+ sourceCompatibility JavaVersion.VERSION_17
+ targetCompatibility JavaVersion.VERSION_17
+ }
+
+ // Rename the aar correctly
+ libraryVariants.all { variant ->
+ variant.outputs.each { output ->
+ def outputFile = output.outputFile
+ if (outputFile != null && outputFile.name.endsWith('.aar')) {
+ def fileName = "${project.name}-${variant.baseName}-${version}.aar"
+ output.outputFile = new File(outputFile.parent, fileName)
+ }
+ }
+ }
+
+ dependencies {
+ provided "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
+ }
+ }
+
+ afterEvaluate {
+ android.libraryVariants.all { variant ->
+ def task = project.tasks.create "jar${variant.name.capitalize()}", Jar
+ task.description = "Create jar artifact for ${variant.name}"
+ task.dependsOn variant.javaCompile
+ task.from variant.javaCompile.destinationDirectory
+ task.destinationDirectory = project.file("${project.buildDir}/outputs/jar")
+ task.archiveFileName = "${project.name}-${variant.baseName}-${version}.jar"
+ artifacts.add('archives', task);
+ }
+ }
+
+ task sourcesJar(type: Jar) {
+ from android.sourceSets.main.java.srcDirs
+ archiveClassifier = 'sources'
+ }
+
+ artifacts {
+ archives sourcesJar
+ }
+
+} else {
+
+ apply plugin: 'java'
+ apply plugin: 'maven-publish'
+
+ sourceCompatibility = JavaVersion.VERSION_17
+ targetCompatibility = JavaVersion.VERSION_17
+
+ publishing {
+ publications {
+ maven(MavenPublication) {
+ artifactId = 'singleparam-restclient-static'
+ from components.java
+ }
+ }
+ }
+
+ task execute(type:JavaExec) {
+ mainClass = System.getProperty('mainClass')
+ classpath = sourceSets.main.runtimeClasspath
+ }
+}
+
+ext {
+ jackson_version = "2.17.1"
+ jackson_databind_version = "2.17.1"
+ jackson_databind_nullable_version = "0.2.6"
+ spring_web_version = "6.1.6"
+ jakarta_annotation_version = "2.1.1"
+ jodatime_version = "2.9.9"
+ junit_version = "5.10.2"
+}
+
+dependencies {
+ implementation "com.google.code.findbugs:jsr305:3.0.2"
+ implementation "org.springframework:spring-web:$spring_web_version"
+ implementation "org.springframework:spring-context:$spring_web_version"
+ implementation "com.fasterxml.jackson.core:jackson-core:$jackson_version"
+ implementation "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"
+ implementation "com.fasterxml.jackson.core:jackson-databind:$jackson_databind_version"
+ implementation "com.fasterxml.jackson.jaxrs:jackson-jaxrs-json-provider:$jackson_version"
+ implementation "org.openapitools:jackson-databind-nullable:$jackson_databind_nullable_version"
+ implementation "com.fasterxml.jackson.datatype:jackson-datatype-jsr310:$jackson_version"
+ implementation "jakarta.annotation:jakarta.annotation-api:$jakarta_annotation_version"
+ testImplementation "org.junit.jupiter:junit-jupiter-api:$junit_version"
+ testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:$junit_version"
+}
+
+test {
+ // Enable JUnit 5 (Gradle 4.6+).
+ useJUnitPlatform()
+
+ // Always run tests, even when nothing changed.
+ dependsOn 'cleanTest'
+
+ // Show test results.
+ testLogging {
+ events "passed", "skipped", "failed"
+ }
+
+}
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/build.sbt b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/build.sbt
new file mode 100644
index 000000000000..464090415c47
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/build.sbt
@@ -0,0 +1 @@
+# TODO
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AdditionalPropertiesClass.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AdditionalPropertiesClass.md
new file mode 100644
index 000000000000..fe69a56eebf4
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AdditionalPropertiesClass.md
@@ -0,0 +1,14 @@
+
+
+# AdditionalPropertiesClass
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**mapProperty** | **Map<String, String>** | | [optional] |
+|**mapOfMapProperty** | **Map<String, Map<String, String>>** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AllOfWithSingleRef.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AllOfWithSingleRef.md
new file mode 100644
index 000000000000..4146d56a372b
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AllOfWithSingleRef.md
@@ -0,0 +1,14 @@
+
+
+# AllOfWithSingleRef
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**username** | **String** | | [optional] |
+|**singleRefType** | **SingleRefType** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Animal.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Animal.md
new file mode 100644
index 000000000000..d9b32f14c88a
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Animal.md
@@ -0,0 +1,14 @@
+
+
+# Animal
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**className** | **String** | | |
+|**color** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AnotherFakeApi.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AnotherFakeApi.md
new file mode 100644
index 000000000000..73c966d2d549
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/AnotherFakeApi.md
@@ -0,0 +1,75 @@
+# AnotherFakeApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**call123testSpecialTags**](AnotherFakeApi.md#call123testSpecialTags) | **PATCH** /another-fake/dummy | To test special tags |
+
+
+
+## call123testSpecialTags
+
+> Client call123testSpecialTags(client)
+
+To test special tags
+
+To test special tags and operation ID starting with number
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.AnotherFakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ AnotherFakeApi apiInstance = new AnotherFakeApi(defaultClient);
+ Client client = new Client(); // Client | client model
+ try {
+ Client result = apiInstance.call123testSpecialTags(client);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling AnotherFakeApi#call123testSpecialTags");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **client** | [**Client**](Client.md)| client model | |
+
+### Return type
+
+[**Client**](Client.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayOfArrayOfNumberOnly.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayOfArrayOfNumberOnly.md
new file mode 100644
index 000000000000..0188db3eb131
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayOfArrayOfNumberOnly.md
@@ -0,0 +1,13 @@
+
+
+# ArrayOfArrayOfNumberOnly
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**arrayArrayNumber** | **List<List<BigDecimal>>** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayOfNumberOnly.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayOfNumberOnly.md
new file mode 100644
index 000000000000..a5753530aada
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayOfNumberOnly.md
@@ -0,0 +1,13 @@
+
+
+# ArrayOfNumberOnly
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**arrayNumber** | **List<BigDecimal>** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayTest.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayTest.md
new file mode 100644
index 000000000000..36077c9df300
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ArrayTest.md
@@ -0,0 +1,15 @@
+
+
+# ArrayTest
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**arrayOfString** | **List<String>** | | [optional] |
+|**arrayArrayOfInteger** | **List<List<Long>>** | | [optional] |
+|**arrayArrayOfModel** | **List<List<ReadOnlyFirst>>** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Capitalization.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Capitalization.md
new file mode 100644
index 000000000000..82a812711de2
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Capitalization.md
@@ -0,0 +1,18 @@
+
+
+# Capitalization
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**smallCamel** | **String** | | [optional] |
+|**capitalCamel** | **String** | | [optional] |
+|**smallSnake** | **String** | | [optional] |
+|**capitalSnake** | **String** | | [optional] |
+|**scAETHFlowPoints** | **String** | | [optional] |
+|**ATT_NAME** | **String** | Name of the pet | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Cat.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Cat.md
new file mode 100644
index 000000000000..390dd519c8ce
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Cat.md
@@ -0,0 +1,13 @@
+
+
+# Cat
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**declawed** | **Boolean** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Category.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Category.md
new file mode 100644
index 000000000000..ab6d1ec334dc
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Category.md
@@ -0,0 +1,14 @@
+
+
+# Category
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **Long** | | [optional] |
+|**name** | **String** | | |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ChildWithNullable.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ChildWithNullable.md
new file mode 100644
index 000000000000..73c0dd6d4737
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ChildWithNullable.md
@@ -0,0 +1,13 @@
+
+
+# ChildWithNullable
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**otherProperty** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ClassModel.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ClassModel.md
new file mode 100644
index 000000000000..af46dea1f6c8
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ClassModel.md
@@ -0,0 +1,14 @@
+
+
+# ClassModel
+
+Model for testing model with \"_class\" property
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**propertyClass** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Client.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Client.md
new file mode 100644
index 000000000000..ef07b4ab8b9d
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Client.md
@@ -0,0 +1,13 @@
+
+
+# Client
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**client** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/DefaultApi.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/DefaultApi.md
new file mode 100644
index 000000000000..2c56e1f90e54
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/DefaultApi.md
@@ -0,0 +1,69 @@
+# DefaultApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**fooGet**](DefaultApi.md#fooGet) | **GET** /foo | |
+
+
+
+## fooGet
+
+> FooGetDefaultResponse fooGet()
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ try {
+ FooGetDefaultResponse result = apiInstance.fooGet();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#fooGet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**FooGetDefaultResponse**](FooGetDefaultResponse.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | response | - |
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/DeprecatedObject.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/DeprecatedObject.md
new file mode 100644
index 000000000000..48de1d624425
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/DeprecatedObject.md
@@ -0,0 +1,13 @@
+
+
+# DeprecatedObject
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**name** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Dog.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Dog.md
new file mode 100644
index 000000000000..972c981c0d05
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Dog.md
@@ -0,0 +1,13 @@
+
+
+# Dog
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**breed** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumArrays.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumArrays.md
new file mode 100644
index 000000000000..b2222d5beb25
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumArrays.md
@@ -0,0 +1,32 @@
+
+
+# EnumArrays
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**justSymbol** | [**JustSymbolEnum**](#JustSymbolEnum) | | [optional] |
+|**arrayEnum** | [**List<ArrayEnumEnum>**](#List<ArrayEnumEnum>) | | [optional] |
+
+
+
+## Enum: JustSymbolEnum
+
+| Name | Value |
+|---- | -----|
+| GREATER_THAN_OR_EQUAL_TO | ">=" |
+| DOLLAR | "$" |
+
+
+
+## Enum: List<ArrayEnumEnum>
+
+| Name | Value |
+|---- | -----|
+| FISH | "fish" |
+| CRAB | "crab" |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumClass.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumClass.md
new file mode 100644
index 000000000000..b314590a7591
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumClass.md
@@ -0,0 +1,15 @@
+
+
+# EnumClass
+
+## Enum
+
+
+* `_ABC` (value: `"_abc"`)
+
+* `_EFG` (value: `"-efg"`)
+
+* `_XYZ_` (value: `"(xyz)"`)
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumTest.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumTest.md
new file mode 100644
index 000000000000..380a2aef0bc3
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/EnumTest.md
@@ -0,0 +1,58 @@
+
+
+# EnumTest
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**enumString** | [**EnumStringEnum**](#EnumStringEnum) | | [optional] |
+|**enumStringRequired** | [**EnumStringRequiredEnum**](#EnumStringRequiredEnum) | | |
+|**enumInteger** | [**EnumIntegerEnum**](#EnumIntegerEnum) | | [optional] |
+|**enumNumber** | [**EnumNumberEnum**](#EnumNumberEnum) | | [optional] |
+|**outerEnum** | **OuterEnum** | | [optional] |
+|**outerEnumInteger** | **OuterEnumInteger** | | [optional] |
+|**outerEnumDefaultValue** | **OuterEnumDefaultValue** | | [optional] |
+|**outerEnumIntegerDefaultValue** | **OuterEnumIntegerDefaultValue** | | [optional] |
+
+
+
+## Enum: EnumStringEnum
+
+| Name | Value |
+|---- | -----|
+| UPPER | "UPPER" |
+| LOWER | "lower" |
+| EMPTY | "" |
+
+
+
+## Enum: EnumStringRequiredEnum
+
+| Name | Value |
+|---- | -----|
+| UPPER | "UPPER" |
+| LOWER | "lower" |
+| EMPTY | "" |
+
+
+
+## Enum: EnumIntegerEnum
+
+| Name | Value |
+|---- | -----|
+| NUMBER_1 | 1 |
+| NUMBER_MINUS_1 | -1 |
+
+
+
+## Enum: EnumNumberEnum
+
+| Name | Value |
+|---- | -----|
+| NUMBER_1_DOT_1 | 1.1 |
+| NUMBER_MINUS_1_DOT_2 | -1.2 |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeApi.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeApi.md
new file mode 100644
index 000000000000..37a949ea0508
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeApi.md
@@ -0,0 +1,1541 @@
+# FakeApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**fakeBigDecimalMap**](FakeApi.md#fakeBigDecimalMap) | **GET** /fake/BigDecimalMap | |
+| [**fakeHealthGet**](FakeApi.md#fakeHealthGet) | **GET** /fake/health | Health check endpoint |
+| [**fakeHttpSignatureTest**](FakeApi.md#fakeHttpSignatureTest) | **GET** /fake/http-signature-test | test http signature authentication |
+| [**fakeOuterBooleanSerialize**](FakeApi.md#fakeOuterBooleanSerialize) | **POST** /fake/outer/boolean | |
+| [**fakeOuterCompositeSerialize**](FakeApi.md#fakeOuterCompositeSerialize) | **POST** /fake/outer/composite | |
+| [**fakeOuterNumberSerialize**](FakeApi.md#fakeOuterNumberSerialize) | **POST** /fake/outer/number | |
+| [**fakeOuterStringSerialize**](FakeApi.md#fakeOuterStringSerialize) | **POST** /fake/outer/string | |
+| [**fakePropertyEnumIntegerSerialize**](FakeApi.md#fakePropertyEnumIntegerSerialize) | **POST** /fake/property/enum-int | |
+| [**testAdditionalPropertiesReference**](FakeApi.md#testAdditionalPropertiesReference) | **POST** /fake/additionalProperties-reference | test referenced additionalProperties |
+| [**testBodyWithBinary**](FakeApi.md#testBodyWithBinary) | **PUT** /fake/body-with-binary | |
+| [**testBodyWithFileSchema**](FakeApi.md#testBodyWithFileSchema) | **PUT** /fake/body-with-file-schema | |
+| [**testBodyWithQueryParams**](FakeApi.md#testBodyWithQueryParams) | **PUT** /fake/body-with-query-params | |
+| [**testClientModel**](FakeApi.md#testClientModel) | **PATCH** /fake | To test \"client\" model |
+| [**testEndpointParameters**](FakeApi.md#testEndpointParameters) | **POST** /fake | Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 |
+| [**testEnumParameters**](FakeApi.md#testEnumParameters) | **GET** /fake | To test enum parameters |
+| [**testGroupParameters**](FakeApi.md#testGroupParameters) | **DELETE** /fake | Fake endpoint to test group parameters (optional) |
+| [**testInlineAdditionalProperties**](FakeApi.md#testInlineAdditionalProperties) | **POST** /fake/inline-additionalProperties | test inline additionalProperties |
+| [**testInlineFreeformAdditionalProperties**](FakeApi.md#testInlineFreeformAdditionalProperties) | **POST** /fake/inline-freeform-additionalProperties | test inline free-form additionalProperties |
+| [**testJsonFormData**](FakeApi.md#testJsonFormData) | **GET** /fake/jsonFormData | test json serialization of form data |
+| [**testNullable**](FakeApi.md#testNullable) | **POST** /fake/nullable | test nullable parent property |
+| [**testQueryParameterCollectionFormat**](FakeApi.md#testQueryParameterCollectionFormat) | **PUT** /fake/test-query-parameters | |
+| [**testStringMapReference**](FakeApi.md#testStringMapReference) | **POST** /fake/stringMap-reference | test referenced string map |
+
+
+
+## fakeBigDecimalMap
+
+> FakeBigDecimalMap200Response fakeBigDecimalMap()
+
+
+
+for Java apache and Java native, test toUrlQueryString for maps with BegDecimal keys
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ try {
+ FakeBigDecimalMap200Response result = apiInstance.fakeBigDecimalMap();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#fakeBigDecimalMap");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**FakeBigDecimalMap200Response**](FakeBigDecimalMap200Response.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+
+## fakeHealthGet
+
+> HealthCheckResult fakeHealthGet()
+
+Health check endpoint
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ try {
+ HealthCheckResult result = apiInstance.fakeHealthGet();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#fakeHealthGet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+[**HealthCheckResult**](HealthCheckResult.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | The instance started successfully | - |
+
+
+## fakeHttpSignatureTest
+
+> fakeHttpSignatureTest(pet, query1, header1)
+
+test http signature authentication
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ Pet pet = new Pet(); // Pet | Pet object that needs to be added to the store
+ String query1 = "query1_example"; // String | query parameter
+ String header1 = "header1_example"; // String | header parameter
+ try {
+ apiInstance.fakeHttpSignatureTest(pet, query1, header1);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#fakeHttpSignatureTest");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
+| **query1** | **String**| query parameter | [optional] |
+| **header1** | **String**| header parameter | [optional] |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[http_signature_test](../README.md#http_signature_test)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, application/xml
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | The instance started successfully | - |
+
+
+## fakeOuterBooleanSerialize
+
+> Boolean fakeOuterBooleanSerialize(body)
+
+
+
+Test serialization of outer boolean types
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ Boolean body = true; // Boolean | Input boolean as post body
+ try {
+ Boolean result = apiInstance.fakeOuterBooleanSerialize(body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#fakeOuterBooleanSerialize");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **body** | **Boolean**| Input boolean as post body | [optional] |
+
+### Return type
+
+**Boolean**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Output boolean | - |
+
+
+## fakeOuterCompositeSerialize
+
+> OuterComposite fakeOuterCompositeSerialize(outerComposite)
+
+
+
+Test serialization of object with outer number type
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ OuterComposite outerComposite = new OuterComposite(); // OuterComposite | Input composite as post body
+ try {
+ OuterComposite result = apiInstance.fakeOuterCompositeSerialize(outerComposite);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#fakeOuterCompositeSerialize");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **outerComposite** | [**OuterComposite**](OuterComposite.md)| Input composite as post body | [optional] |
+
+### Return type
+
+[**OuterComposite**](OuterComposite.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Output composite | - |
+
+
+## fakeOuterNumberSerialize
+
+> BigDecimal fakeOuterNumberSerialize(body)
+
+
+
+Test serialization of outer number types
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ BigDecimal body = new BigDecimal(78); // BigDecimal | Input number as post body
+ try {
+ BigDecimal result = apiInstance.fakeOuterNumberSerialize(body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#fakeOuterNumberSerialize");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **body** | **BigDecimal**| Input number as post body | [optional] |
+
+### Return type
+
+[**BigDecimal**](BigDecimal.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Output number | - |
+
+
+## fakeOuterStringSerialize
+
+> String fakeOuterStringSerialize(body)
+
+
+
+Test serialization of outer string types
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ String body = "body_example"; // String | Input string as post body
+ try {
+ String result = apiInstance.fakeOuterStringSerialize(body);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#fakeOuterStringSerialize");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **body** | **String**| Input string as post body | [optional] |
+
+### Return type
+
+**String**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Output string | - |
+
+
+## fakePropertyEnumIntegerSerialize
+
+> OuterObjectWithEnumProperty fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty)
+
+
+
+Test serialization of enum (int) properties with examples
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ OuterObjectWithEnumProperty outerObjectWithEnumProperty = new OuterObjectWithEnumProperty(); // OuterObjectWithEnumProperty | Input enum (int) as post body
+ try {
+ OuterObjectWithEnumProperty result = apiInstance.fakePropertyEnumIntegerSerialize(outerObjectWithEnumProperty);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#fakePropertyEnumIntegerSerialize");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **outerObjectWithEnumProperty** | [**OuterObjectWithEnumProperty**](OuterObjectWithEnumProperty.md)| Input enum (int) as post body | |
+
+### Return type
+
+[**OuterObjectWithEnumProperty**](OuterObjectWithEnumProperty.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: */*
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Output enum (int) | - |
+
+
+## testAdditionalPropertiesReference
+
+> testAdditionalPropertiesReference(requestBody)
+
+test referenced additionalProperties
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ Map requestBody = null; // Map | request body
+ try {
+ apiInstance.testAdditionalPropertiesReference(requestBody);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testAdditionalPropertiesReference");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **requestBody** | [**Map<String, Object>**](Object.md)| request body | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+
+## testBodyWithBinary
+
+> testBodyWithBinary(body)
+
+
+
+For this test, the body has to be a binary file.
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ File body = new File("/path/to/file"); // File | image to upload
+ try {
+ apiInstance.testBodyWithBinary(body);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testBodyWithBinary");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **body** | **File**| image to upload | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: image/png
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+
+
+## testBodyWithFileSchema
+
+> testBodyWithFileSchema(fileSchemaTestClass)
+
+
+
+For this test, the body for this request must reference a schema named `File`.
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ FileSchemaTestClass fileSchemaTestClass = new FileSchemaTestClass(); // FileSchemaTestClass |
+ try {
+ apiInstance.testBodyWithFileSchema(fileSchemaTestClass);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testBodyWithFileSchema");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **fileSchemaTestClass** | [**FileSchemaTestClass**](FileSchemaTestClass.md)| | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+
+
+## testBodyWithQueryParams
+
+> testBodyWithQueryParams(query, user)
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ String query = "query_example"; // String |
+ User user = new User(); // User |
+ try {
+ apiInstance.testBodyWithQueryParams(query, user);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testBodyWithQueryParams");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **query** | **String**| | |
+| **user** | [**User**](User.md)| | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+
+
+## testClientModel
+
+> Client testClientModel(client)
+
+To test \"client\" model
+
+To test \"client\" model
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ Client client = new Client(); // Client | client model
+ try {
+ Client result = apiInstance.testClientModel(client);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testClientModel");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **client** | [**Client**](Client.md)| client model | |
+
+### Return type
+
+[**Client**](Client.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+
+## testEndpointParameters
+
+> testEndpointParameters(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 假端點 偽のエンドポイント 가짜 엔드 포인트
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure HTTP basic authorization: http_basic_test
+ HttpBasicAuth http_basic_test = (HttpBasicAuth) defaultClient.getAuthentication("http_basic_test");
+ http_basic_test.setUsername("YOUR USERNAME");
+ http_basic_test.setPassword("YOUR PASSWORD");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ BigDecimal number = new BigDecimal(78); // BigDecimal | None
+ Double _double = 3.4D; // Double | None
+ String patternWithoutDelimiter = "patternWithoutDelimiter_example"; // String | None
+ byte[] _byte = null; // byte[] | None
+ Integer integer = 56; // Integer | None
+ Integer int32 = 56; // Integer | None
+ Long int64 = 56L; // Long | None
+ Float _float = 3.4F; // Float | None
+ String string = "string_example"; // String | None
+ File binary = new File("/path/to/file"); // File | None
+ LocalDate date = LocalDate.now(); // LocalDate | None
+ OffsetDateTime dateTime = OffsetDateTime.now(); // OffsetDateTime | None
+ String password = "password_example"; // String | None
+ String paramCallback = "paramCallback_example"; // String | None
+ try {
+ apiInstance.testEndpointParameters(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testEndpointParameters");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **number** | **BigDecimal**| None | |
+| **_double** | **Double**| None | |
+| **patternWithoutDelimiter** | **String**| None | |
+| **_byte** | **byte[]**| None | |
+| **integer** | **Integer**| None | [optional] |
+| **int32** | **Integer**| None | [optional] |
+| **int64** | **Long**| None | [optional] |
+| **_float** | **Float**| None | [optional] |
+| **string** | **String**| None | [optional] |
+| **binary** | **File**| None | [optional] |
+| **date** | **LocalDate**| None | [optional] |
+| **dateTime** | **OffsetDateTime**| None | [optional] |
+| **password** | **String**| None | [optional] |
+| **paramCallback** | **String**| None | [optional] |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[http_basic_test](../README.md#http_basic_test)
+
+### HTTP request headers
+
+- **Content-Type**: application/x-www-form-urlencoded
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid username supplied | - |
+| **404** | User not found | - |
+
+
+## testEnumParameters
+
+> testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString)
+
+To test enum parameters
+
+To test enum parameters
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ List enumHeaderStringArray = Arrays.asList("$"); // List | Header parameter enum test (string array)
+ String enumHeaderString = "_abc"; // String | Header parameter enum test (string)
+ List enumQueryStringArray = Arrays.asList("$"); // List | Query parameter enum test (string array)
+ String enumQueryString = "_abc"; // String | Query parameter enum test (string)
+ Integer enumQueryInteger = 1; // Integer | Query parameter enum test (double)
+ Double enumQueryDouble = 1.1D; // Double | Query parameter enum test (double)
+ List enumQueryModelArray = Arrays.asList(-efg); // List |
+ List enumFormStringArray = Arrays.asList("$"); // List | Form parameter enum test (string array)
+ String enumFormString = "_abc"; // String | Form parameter enum test (string)
+ try {
+ apiInstance.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testEnumParameters");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **enumHeaderStringArray** | [**List<String>**](String.md)| Header parameter enum test (string array) | [optional] [enum: >, $] |
+| **enumHeaderString** | **String**| Header parameter enum test (string) | [optional] [default to -efg] [enum: _abc, -efg, (xyz)] |
+| **enumQueryStringArray** | [**List<String>**](String.md)| Query parameter enum test (string array) | [optional] [enum: >, $] |
+| **enumQueryString** | **String**| Query parameter enum test (string) | [optional] [default to -efg] [enum: _abc, -efg, (xyz)] |
+| **enumQueryInteger** | **Integer**| Query parameter enum test (double) | [optional] [enum: 1, -2] |
+| **enumQueryDouble** | **Double**| Query parameter enum test (double) | [optional] [enum: 1.1, -1.2] |
+| **enumQueryModelArray** | [**List<EnumClass>**](EnumClass.md)| | [optional] |
+| **enumFormStringArray** | [**List<String>**](String.md)| Form parameter enum test (string array) | [optional] [enum: >, $] |
+| **enumFormString** | **String**| Form parameter enum test (string) | [optional] [default to -efg] [enum: _abc, -efg, (xyz)] |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/x-www-form-urlencoded
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid request | - |
+| **404** | Not found | - |
+
+
+## testGroupParameters
+
+> testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group)
+
+Fake endpoint to test group parameters (optional)
+
+Fake endpoint to test group parameters (optional)
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure HTTP bearer authorization: bearer_test
+ HttpBearerAuth bearer_test = (HttpBearerAuth) defaultClient.getAuthentication("bearer_test");
+ bearer_test.setBearerToken("BEARER TOKEN");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ Integer requiredStringGroup = 56; // Integer | Required String in group parameters
+ Boolean requiredBooleanGroup = true; // Boolean | Required Boolean in group parameters
+ Long requiredInt64Group = 56L; // Long | Required Integer in group parameters
+ Integer stringGroup = 56; // Integer | String in group parameters
+ Boolean booleanGroup = true; // Boolean | Boolean in group parameters
+ Long int64Group = 56L; // Long | Integer in group parameters
+ try {
+ apiInstance.testGroupParameters(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testGroupParameters");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **requiredStringGroup** | **Integer**| Required String in group parameters | |
+| **requiredBooleanGroup** | **Boolean**| Required Boolean in group parameters | |
+| **requiredInt64Group** | **Long**| Required Integer in group parameters | |
+| **stringGroup** | **Integer**| String in group parameters | [optional] |
+| **booleanGroup** | **Boolean**| Boolean in group parameters | [optional] |
+| **int64Group** | **Long**| Integer in group parameters | [optional] |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[bearer_test](../README.md#bearer_test)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Something wrong | - |
+
+
+## testInlineAdditionalProperties
+
+> testInlineAdditionalProperties(requestBody)
+
+test inline additionalProperties
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ Map requestBody = new HashMap(); // Map | request body
+ try {
+ apiInstance.testInlineAdditionalProperties(requestBody);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testInlineAdditionalProperties");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **requestBody** | [**Map<String, String>**](String.md)| request body | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+
+## testInlineFreeformAdditionalProperties
+
+> testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest)
+
+test inline free-form additionalProperties
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest = new TestInlineFreeformAdditionalPropertiesRequest(); // TestInlineFreeformAdditionalPropertiesRequest | request body
+ try {
+ apiInstance.testInlineFreeformAdditionalProperties(testInlineFreeformAdditionalPropertiesRequest);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testInlineFreeformAdditionalProperties");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **testInlineFreeformAdditionalPropertiesRequest** | [**TestInlineFreeformAdditionalPropertiesRequest**](TestInlineFreeformAdditionalPropertiesRequest.md)| request body | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+
+## testJsonFormData
+
+> testJsonFormData(param, param2)
+
+test json serialization of form data
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ String param = "param_example"; // String | field1
+ String param2 = "param2_example"; // String | field2
+ try {
+ apiInstance.testJsonFormData(param, param2);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testJsonFormData");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **param** | **String**| field1 | |
+| **param2** | **String**| field2 | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/x-www-form-urlencoded
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+
+## testNullable
+
+> testNullable(childWithNullable)
+
+test nullable parent property
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ ChildWithNullable childWithNullable = new ChildWithNullable(); // ChildWithNullable | request body
+ try {
+ apiInstance.testNullable(childWithNullable);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testNullable");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **childWithNullable** | [**ChildWithNullable**](ChildWithNullable.md)| request body | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+
+## testQueryParameterCollectionFormat
+
+> testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language)
+
+
+
+To test the collection format in query parameters
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ List pipe = Arrays.asList(); // List |
+ List ioutil = Arrays.asList(); // List |
+ List http = Arrays.asList(); // List |
+ List url = Arrays.asList(); // List |
+ List context = Arrays.asList(); // List |
+ String allowEmpty = "allowEmpty_example"; // String |
+ Map language = new HashMap(); // Map |
+ try {
+ apiInstance.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testQueryParameterCollectionFormat");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **pipe** | [**List<String>**](String.md)| | |
+| **ioutil** | [**List<String>**](String.md)| | |
+| **http** | [**List<String>**](String.md)| | |
+| **url** | [**List<String>**](String.md)| | |
+| **context** | [**List<String>**](String.md)| | |
+| **allowEmpty** | **String**| | |
+| **language** | [**Map<String, String>**](String.md)| | [optional] |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Success | - |
+
+
+## testStringMapReference
+
+> testStringMapReference(requestBody)
+
+test referenced string map
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ FakeApi apiInstance = new FakeApi(defaultClient);
+ Map requestBody = new HashMap(); // Map | request body
+ try {
+ apiInstance.testStringMapReference(requestBody);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeApi#testStringMapReference");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **requestBody** | [**Map<String, String>**](String.md)| request body | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeBigDecimalMap200Response.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeBigDecimalMap200Response.md
new file mode 100644
index 000000000000..475be1d2d738
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeBigDecimalMap200Response.md
@@ -0,0 +1,14 @@
+
+
+# FakeBigDecimalMap200Response
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**someId** | **BigDecimal** | | [optional] |
+|**someMap** | **Map<String, BigDecimal>** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeClassnameTags123Api.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeClassnameTags123Api.md
new file mode 100644
index 000000000000..e4ff70ed909b
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FakeClassnameTags123Api.md
@@ -0,0 +1,82 @@
+# FakeClassnameTags123Api
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**testClassname**](FakeClassnameTags123Api.md#testClassname) | **PATCH** /fake_classname_test | To test class name in snake case |
+
+
+
+## testClassname
+
+> Client testClassname(client)
+
+To test class name in snake case
+
+To test class name in snake case
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.FakeClassnameTags123Api;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure API key authorization: api_key_query
+ ApiKeyAuth api_key_query = (ApiKeyAuth) defaultClient.getAuthentication("api_key_query");
+ api_key_query.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key_query.setApiKeyPrefix("Token");
+
+ FakeClassnameTags123Api apiInstance = new FakeClassnameTags123Api(defaultClient);
+ Client client = new Client(); // Client | client model
+ try {
+ Client result = apiInstance.testClassname(client);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling FakeClassnameTags123Api#testClassname");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **client** | [**Client**](Client.md)| client model | |
+
+### Return type
+
+[**Client**](Client.md)
+
+### Authorization
+
+[api_key_query](../README.md#api_key_query)
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FileSchemaTestClass.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FileSchemaTestClass.md
new file mode 100644
index 000000000000..85d1a0636694
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FileSchemaTestClass.md
@@ -0,0 +1,14 @@
+
+
+# FileSchemaTestClass
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**_file** | [**ModelFile**](ModelFile.md) | | [optional] |
+|**files** | [**List<ModelFile>**](ModelFile.md) | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Foo.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Foo.md
new file mode 100644
index 000000000000..6b3f0556528a
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Foo.md
@@ -0,0 +1,13 @@
+
+
+# Foo
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**bar** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FooGetDefaultResponse.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FooGetDefaultResponse.md
new file mode 100644
index 000000000000..ff3d7a3a56c3
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FooGetDefaultResponse.md
@@ -0,0 +1,13 @@
+
+
+# FooGetDefaultResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**string** | [**Foo**](Foo.md) | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FormatTest.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FormatTest.md
new file mode 100644
index 000000000000..01b8c777ae06
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/FormatTest.md
@@ -0,0 +1,28 @@
+
+
+# FormatTest
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**integer** | **Integer** | | [optional] |
+|**int32** | **Integer** | | [optional] |
+|**int64** | **Long** | | [optional] |
+|**number** | **BigDecimal** | | |
+|**_float** | **Float** | | [optional] |
+|**_double** | **Double** | | [optional] |
+|**decimal** | **BigDecimal** | | [optional] |
+|**string** | **String** | | [optional] |
+|**_byte** | **byte[]** | | |
+|**binary** | **File** | | [optional] |
+|**date** | **LocalDate** | | |
+|**dateTime** | **OffsetDateTime** | | [optional] |
+|**uuid** | **UUID** | | [optional] |
+|**password** | **String** | | |
+|**patternWithDigits** | **String** | A string that is a 10 digit number. Can have leading zeros. | [optional] |
+|**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/restclient-useSingleRequestParameter-static/docs/HasOnlyReadOnly.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/HasOnlyReadOnly.md
new file mode 100644
index 000000000000..29da5205dbba
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/HasOnlyReadOnly.md
@@ -0,0 +1,14 @@
+
+
+# HasOnlyReadOnly
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**bar** | **String** | | [optional] [readonly] |
+|**foo** | **String** | | [optional] [readonly] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/HealthCheckResult.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/HealthCheckResult.md
new file mode 100644
index 000000000000..4885e6f1cada
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/HealthCheckResult.md
@@ -0,0 +1,14 @@
+
+
+# HealthCheckResult
+
+Just a string to inform instance is up and running. Make it nullable in hope to get it as pointer in generated model.
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**nullableMessage** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/MapTest.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/MapTest.md
new file mode 100644
index 000000000000..54380188e1d6
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/MapTest.md
@@ -0,0 +1,25 @@
+
+
+# MapTest
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**mapMapOfString** | **Map<String, Map<String, String>>** | | [optional] |
+|**mapOfEnumString** | [**Map<String, InnerEnum>**](#Map<String, InnerEnum>) | | [optional] |
+|**directMap** | **Map<String, Boolean>** | | [optional] |
+|**indirectMap** | **Map<String, Boolean>** | | [optional] |
+
+
+
+## Enum: Map<String, InnerEnum>
+
+| Name | Value |
+|---- | -----|
+| UPPER | "UPPER" |
+| LOWER | "lower" |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/MixedPropertiesAndAdditionalPropertiesClass.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/MixedPropertiesAndAdditionalPropertiesClass.md
new file mode 100644
index 000000000000..a5ddf0faa6a9
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/MixedPropertiesAndAdditionalPropertiesClass.md
@@ -0,0 +1,15 @@
+
+
+# MixedPropertiesAndAdditionalPropertiesClass
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**uuid** | **UUID** | | [optional] |
+|**dateTime** | **OffsetDateTime** | | [optional] |
+|**map** | [**Map<String, Animal>**](Animal.md) | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Model200Response.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Model200Response.md
new file mode 100644
index 000000000000..109411580c62
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Model200Response.md
@@ -0,0 +1,15 @@
+
+
+# Model200Response
+
+Model for testing model name starting with number
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**name** | **Integer** | | [optional] |
+|**propertyClass** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelApiResponse.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelApiResponse.md
new file mode 100644
index 000000000000..e374c2dd2dec
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelApiResponse.md
@@ -0,0 +1,15 @@
+
+
+# ModelApiResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**code** | **Integer** | | [optional] |
+|**type** | **String** | | [optional] |
+|**message** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelFile.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelFile.md
new file mode 100644
index 000000000000..adcde984f527
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelFile.md
@@ -0,0 +1,14 @@
+
+
+# ModelFile
+
+Must be named `File` for test.
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**sourceURI** | **String** | Test capitalization | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelList.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelList.md
new file mode 100644
index 000000000000..f93ab7dde8d4
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelList.md
@@ -0,0 +1,13 @@
+
+
+# ModelList
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**_123list** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelReturn.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelReturn.md
new file mode 100644
index 000000000000..0bd356861eb7
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ModelReturn.md
@@ -0,0 +1,14 @@
+
+
+# ModelReturn
+
+Model for testing reserved words
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**_return** | **Integer** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Name.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Name.md
new file mode 100644
index 000000000000..c901d9435309
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Name.md
@@ -0,0 +1,17 @@
+
+
+# Name
+
+Model for testing model name same as property name
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**name** | **Integer** | | |
+|**snakeCase** | **Integer** | | [optional] [readonly] |
+|**property** | **String** | | [optional] |
+|**_123number** | **Integer** | | [optional] [readonly] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/NullableClass.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/NullableClass.md
new file mode 100644
index 000000000000..fa98c5c6d984
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/NullableClass.md
@@ -0,0 +1,24 @@
+
+
+# NullableClass
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**integerProp** | **Integer** | | [optional] |
+|**numberProp** | **BigDecimal** | | [optional] |
+|**booleanProp** | **Boolean** | | [optional] |
+|**stringProp** | **String** | | [optional] |
+|**dateProp** | **LocalDate** | | [optional] |
+|**datetimeProp** | **OffsetDateTime** | | [optional] |
+|**arrayNullableProp** | **List<Object>** | | [optional] |
+|**arrayAndItemsNullableProp** | **List<Object>** | | [optional] |
+|**arrayItemsNullable** | **List<Object>** | | [optional] |
+|**objectNullableProp** | **Map<String, Object>** | | [optional] |
+|**objectAndItemsNullableProp** | **Map<String, Object>** | | [optional] |
+|**objectItemsNullable** | **Map<String, Object>** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/NumberOnly.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/NumberOnly.md
new file mode 100644
index 000000000000..b8ed1a4cfae1
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/NumberOnly.md
@@ -0,0 +1,13 @@
+
+
+# NumberOnly
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**justNumber** | **BigDecimal** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ObjectWithDeprecatedFields.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ObjectWithDeprecatedFields.md
new file mode 100644
index 000000000000..f1cf571f4c09
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ObjectWithDeprecatedFields.md
@@ -0,0 +1,16 @@
+
+
+# ObjectWithDeprecatedFields
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**uuid** | **String** | | [optional] |
+|**id** | **BigDecimal** | | [optional] |
+|**deprecatedRef** | [**DeprecatedObject**](DeprecatedObject.md) | | [optional] |
+|**bars** | **List<String>** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Order.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Order.md
new file mode 100644
index 000000000000..27af32855c5c
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Order.md
@@ -0,0 +1,28 @@
+
+
+# Order
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **Long** | | [optional] |
+|**petId** | **Long** | | [optional] |
+|**quantity** | **Integer** | | [optional] |
+|**shipDate** | **OffsetDateTime** | | [optional] |
+|**status** | [**StatusEnum**](#StatusEnum) | Order Status | [optional] |
+|**complete** | **Boolean** | | [optional] |
+
+
+
+## Enum: StatusEnum
+
+| Name | Value |
+|---- | -----|
+| PLACED | "placed" |
+| APPROVED | "approved" |
+| DELIVERED | "delivered" |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterComposite.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterComposite.md
new file mode 100644
index 000000000000..98b56e0763ff
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterComposite.md
@@ -0,0 +1,15 @@
+
+
+# OuterComposite
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**myNumber** | **BigDecimal** | | [optional] |
+|**myString** | **String** | | [optional] |
+|**myBoolean** | **Boolean** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnum.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnum.md
new file mode 100644
index 000000000000..1f9b723eb8e7
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnum.md
@@ -0,0 +1,15 @@
+
+
+# OuterEnum
+
+## Enum
+
+
+* `PLACED` (value: `"placed"`)
+
+* `APPROVED` (value: `"approved"`)
+
+* `DELIVERED` (value: `"delivered"`)
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumDefaultValue.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumDefaultValue.md
new file mode 100644
index 000000000000..cbc7f4ba54d2
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumDefaultValue.md
@@ -0,0 +1,15 @@
+
+
+# OuterEnumDefaultValue
+
+## Enum
+
+
+* `PLACED` (value: `"placed"`)
+
+* `APPROVED` (value: `"approved"`)
+
+* `DELIVERED` (value: `"delivered"`)
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumInteger.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumInteger.md
new file mode 100644
index 000000000000..f71dea30ad00
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumInteger.md
@@ -0,0 +1,15 @@
+
+
+# OuterEnumInteger
+
+## Enum
+
+
+* `NUMBER_0` (value: `0`)
+
+* `NUMBER_1` (value: `1`)
+
+* `NUMBER_2` (value: `2`)
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumIntegerDefaultValue.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumIntegerDefaultValue.md
new file mode 100644
index 000000000000..99e6389f4278
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterEnumIntegerDefaultValue.md
@@ -0,0 +1,15 @@
+
+
+# OuterEnumIntegerDefaultValue
+
+## Enum
+
+
+* `NUMBER_0` (value: `0`)
+
+* `NUMBER_1` (value: `1`)
+
+* `NUMBER_2` (value: `2`)
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterObjectWithEnumProperty.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterObjectWithEnumProperty.md
new file mode 100644
index 000000000000..0fafaaa27154
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/OuterObjectWithEnumProperty.md
@@ -0,0 +1,13 @@
+
+
+# OuterObjectWithEnumProperty
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**value** | **OuterEnumInteger** | | |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ParentWithNullable.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ParentWithNullable.md
new file mode 100644
index 000000000000..e4d322985632
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ParentWithNullable.md
@@ -0,0 +1,22 @@
+
+
+# ParentWithNullable
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**type** | [**TypeEnum**](#TypeEnum) | | [optional] |
+|**nullableProperty** | **String** | | [optional] |
+
+
+
+## Enum: TypeEnum
+
+| Name | Value |
+|---- | -----|
+| CHILD_WITH_NULLABLE | "ChildWithNullable" |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Pet.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Pet.md
new file mode 100644
index 000000000000..54af77a9f5a7
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Pet.md
@@ -0,0 +1,28 @@
+
+
+# Pet
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **Long** | | [optional] |
+|**category** | [**Category**](Category.md) | | [optional] |
+|**name** | **String** | | |
+|**photoUrls** | **Set<String>** | | |
+|**tags** | [**List<Tag>**](Tag.md) | | [optional] |
+|**status** | [**StatusEnum**](#StatusEnum) | pet status in the store | [optional] |
+
+
+
+## Enum: StatusEnum
+
+| Name | Value |
+|---- | -----|
+| AVAILABLE | "available" |
+| PENDING | "pending" |
+| SOLD | "sold" |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/PetApi.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/PetApi.md
new file mode 100644
index 000000000000..e2515d9bb9bb
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/PetApi.md
@@ -0,0 +1,678 @@
+# PetApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store |
+| [**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet |
+| [**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status |
+| [**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags |
+| [**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID |
+| [**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet |
+| [**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data |
+| [**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image |
+| [**uploadFileWithRequiredFile**](PetApi.md#uploadFileWithRequiredFile) | **POST** /fake/{petId}/uploadImageWithRequiredFile | uploads an image (required) |
+
+
+
+## addPet
+
+> addPet(pet)
+
+Add a new pet to the store
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.PetApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure OAuth2 access token for authorization: petstore_auth
+ OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
+ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
+
+ PetApi apiInstance = new PetApi(defaultClient);
+ Pet pet = new Pet(); // Pet | Pet object that needs to be added to the store
+ try {
+ apiInstance.addPet(pet);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PetApi#addPet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, application/xml
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful operation | - |
+| **405** | Invalid input | - |
+
+
+## deletePet
+
+> deletePet(petId, apiKey)
+
+Deletes a pet
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.PetApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure OAuth2 access token for authorization: petstore_auth
+ OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
+ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
+
+ PetApi apiInstance = new PetApi(defaultClient);
+ Long petId = 56L; // Long | Pet id to delete
+ String apiKey = "apiKey_example"; // String |
+ try {
+ apiInstance.deletePet(petId, apiKey);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PetApi#deletePet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **petId** | **Long**| Pet id to delete | |
+| **apiKey** | **String**| | [optional] |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful operation | - |
+| **400** | Invalid pet value | - |
+
+
+## findPetsByStatus
+
+> List<Pet> findPetsByStatus(status)
+
+Finds Pets by status
+
+Multiple status values can be provided with comma separated strings
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.PetApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure OAuth2 access token for authorization: petstore_auth
+ OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
+ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
+
+ PetApi apiInstance = new PetApi(defaultClient);
+ List status = Arrays.asList("available"); // List | Status values that need to be considered for filter
+ try {
+ List result = apiInstance.findPetsByStatus(status);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PetApi#findPetsByStatus");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **status** | [**List<String>**](String.md)| Status values that need to be considered for filter | [enum: available, pending, sold] |
+
+### Return type
+
+[**List<Pet>**](Pet.md)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid status value | - |
+
+
+## findPetsByTags
+
+> Set<Pet> findPetsByTags(tags)
+
+Finds Pets by tags
+
+Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.PetApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure OAuth2 access token for authorization: petstore_auth
+ OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
+ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
+
+ PetApi apiInstance = new PetApi(defaultClient);
+ Set tags = Arrays.asList(); // Set | Tags to filter by
+ try {
+ Set result = apiInstance.findPetsByTags(tags);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PetApi#findPetsByTags");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tags** | [**Set<String>**](String.md)| Tags to filter by | |
+
+### Return type
+
+[**Set<Pet>**](Pet.md)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid tag value | - |
+
+
+## getPetById
+
+> Pet getPetById(petId)
+
+Find pet by ID
+
+Returns a single pet
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.PetApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ PetApi apiInstance = new PetApi(defaultClient);
+ Long petId = 56L; // Long | ID of pet to return
+ try {
+ Pet result = apiInstance.getPetById(petId);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PetApi#getPetById");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **petId** | **Long**| ID of pet to return | |
+
+### Return type
+
+[**Pet**](Pet.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid ID supplied | - |
+| **404** | Pet not found | - |
+
+
+## updatePet
+
+> updatePet(pet)
+
+Update an existing pet
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.PetApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure OAuth2 access token for authorization: petstore_auth
+ OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
+ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
+
+ PetApi apiInstance = new PetApi(defaultClient);
+ Pet pet = new Pet(); // Pet | Pet object that needs to be added to the store
+ try {
+ apiInstance.updatePet(pet);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PetApi#updatePet");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **pet** | [**Pet**](Pet.md)| Pet object that needs to be added to the store | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+- **Content-Type**: application/json, application/xml
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful operation | - |
+| **400** | Invalid ID supplied | - |
+| **404** | Pet not found | - |
+| **405** | Validation exception | - |
+
+
+## updatePetWithForm
+
+> updatePetWithForm(petId, name, status)
+
+Updates a pet in the store with form data
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.PetApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure OAuth2 access token for authorization: petstore_auth
+ OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
+ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
+
+ PetApi apiInstance = new PetApi(defaultClient);
+ Long petId = 56L; // Long | ID of pet that needs to be updated
+ String name = "name_example"; // String | Updated name of the pet
+ String status = "status_example"; // String | Updated status of the pet
+ try {
+ apiInstance.updatePetWithForm(petId, name, status);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PetApi#updatePetWithForm");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **petId** | **Long**| ID of pet that needs to be updated | |
+| **name** | **String**| Updated name of the pet | [optional] |
+| **status** | **String**| Updated status of the pet | [optional] |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+- **Content-Type**: application/x-www-form-urlencoded
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Successful operation | - |
+| **405** | Invalid input | - |
+
+
+## uploadFile
+
+> ModelApiResponse uploadFile(petId, additionalMetadata, _file)
+
+uploads an image
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.PetApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure OAuth2 access token for authorization: petstore_auth
+ OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
+ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
+
+ PetApi apiInstance = new PetApi(defaultClient);
+ Long petId = 56L; // Long | ID of pet to update
+ String additionalMetadata = "additionalMetadata_example"; // String | Additional data to pass to server
+ File _file = new File("/path/to/file"); // File | file to upload
+ try {
+ ModelApiResponse result = apiInstance.uploadFile(petId, additionalMetadata, _file);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PetApi#uploadFile");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **petId** | **Long**| ID of pet to update | |
+| **additionalMetadata** | **String**| Additional data to pass to server | [optional] |
+| **_file** | **File**| file to upload | [optional] |
+
+### Return type
+
+[**ModelApiResponse**](ModelApiResponse.md)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+
+## uploadFileWithRequiredFile
+
+> ModelApiResponse uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata)
+
+uploads an image (required)
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.PetApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure OAuth2 access token for authorization: petstore_auth
+ OAuth petstore_auth = (OAuth) defaultClient.getAuthentication("petstore_auth");
+ petstore_auth.setAccessToken("YOUR ACCESS TOKEN");
+
+ PetApi apiInstance = new PetApi(defaultClient);
+ Long petId = 56L; // Long | ID of pet to update
+ File requiredFile = new File("/path/to/file"); // File | file to upload
+ String additionalMetadata = "additionalMetadata_example"; // String | Additional data to pass to server
+ try {
+ ModelApiResponse result = apiInstance.uploadFileWithRequiredFile(petId, requiredFile, additionalMetadata);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PetApi#uploadFileWithRequiredFile");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **petId** | **Long**| ID of pet to update | |
+| **requiredFile** | **File**| file to upload | |
+| **additionalMetadata** | **String**| Additional data to pass to server | [optional] |
+
+### Return type
+
+[**ModelApiResponse**](ModelApiResponse.md)
+
+### Authorization
+
+[petstore_auth](../README.md#petstore_auth)
+
+### HTTP request headers
+
+- **Content-Type**: multipart/form-data
+- **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ReadOnlyFirst.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ReadOnlyFirst.md
new file mode 100644
index 000000000000..ad6af7ee155f
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/ReadOnlyFirst.md
@@ -0,0 +1,14 @@
+
+
+# ReadOnlyFirst
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**bar** | **String** | | [optional] [readonly] |
+|**baz** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/SingleRefType.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/SingleRefType.md
new file mode 100644
index 000000000000..cc269bb871fd
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/SingleRefType.md
@@ -0,0 +1,13 @@
+
+
+# SingleRefType
+
+## Enum
+
+
+* `ADMIN` (value: `"admin"`)
+
+* `USER` (value: `"user"`)
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/SpecialModelName.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/SpecialModelName.md
new file mode 100644
index 000000000000..4b6a06e36224
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/SpecialModelName.md
@@ -0,0 +1,13 @@
+
+
+# SpecialModelName
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**$specialPropertyName** | **Long** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/StoreApi.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/StoreApi.md
new file mode 100644
index 000000000000..ce91137cc6f4
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/StoreApi.md
@@ -0,0 +1,282 @@
+# StoreApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{order_id} | Delete purchase order by ID |
+| [**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status |
+| [**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{order_id} | Find purchase order by ID |
+| [**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet |
+
+
+
+## deleteOrder
+
+> deleteOrder(orderId)
+
+Delete purchase order by ID
+
+For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.StoreApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ StoreApi apiInstance = new StoreApi(defaultClient);
+ String orderId = "orderId_example"; // String | ID of the order that needs to be deleted
+ try {
+ apiInstance.deleteOrder(orderId);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling StoreApi#deleteOrder");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **orderId** | **String**| ID of the order that needs to be deleted | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid ID supplied | - |
+| **404** | Order not found | - |
+
+
+## getInventory
+
+> Map<String, Integer> getInventory()
+
+Returns pet inventories by status
+
+Returns a map of status codes to quantities
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.auth.*;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.StoreApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ StoreApi apiInstance = new StoreApi(defaultClient);
+ try {
+ Map result = apiInstance.getInventory();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling StoreApi#getInventory");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+**Map<String, Integer>**
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+
+
+## getOrderById
+
+> Order getOrderById(orderId)
+
+Find purchase order by ID
+
+For valid response try integer IDs with value <= 5 or > 10. Other values will generate exceptions
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.StoreApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ StoreApi apiInstance = new StoreApi(defaultClient);
+ Long orderId = 56L; // Long | ID of pet that needs to be fetched
+ try {
+ Order result = apiInstance.getOrderById(orderId);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling StoreApi#getOrderById");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **orderId** | **Long**| ID of pet that needs to be fetched | |
+
+### Return type
+
+[**Order**](Order.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid ID supplied | - |
+| **404** | Order not found | - |
+
+
+## placeOrder
+
+> Order placeOrder(order)
+
+Place an order for a pet
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.StoreApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ StoreApi apiInstance = new StoreApi(defaultClient);
+ Order order = new Order(); // Order | order placed for purchasing the pet
+ try {
+ Order result = apiInstance.placeOrder(order);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling StoreApi#placeOrder");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **order** | [**Order**](Order.md)| order placed for purchasing the pet | |
+
+### Return type
+
+[**Order**](Order.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid Order | - |
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Tag.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Tag.md
new file mode 100644
index 000000000000..5088b2dd1c31
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/Tag.md
@@ -0,0 +1,14 @@
+
+
+# Tag
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **Long** | | [optional] |
+|**name** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/TestInlineFreeformAdditionalPropertiesRequest.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/TestInlineFreeformAdditionalPropertiesRequest.md
new file mode 100644
index 000000000000..dc066e6c7dac
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/TestInlineFreeformAdditionalPropertiesRequest.md
@@ -0,0 +1,13 @@
+
+
+# TestInlineFreeformAdditionalPropertiesRequest
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**someProperty** | **String** | | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/User.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/User.md
new file mode 100644
index 000000000000..08813e4b10b4
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/User.md
@@ -0,0 +1,20 @@
+
+
+# User
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **Long** | | [optional] |
+|**username** | **String** | | [optional] |
+|**firstName** | **String** | | [optional] |
+|**lastName** | **String** | | [optional] |
+|**email** | **String** | | [optional] |
+|**password** | **String** | | [optional] |
+|**phone** | **String** | | [optional] |
+|**userStatus** | **Integer** | User Status | [optional] |
+
+
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/UserApi.md b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/UserApi.md
new file mode 100644
index 000000000000..305fd6e66dfb
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/docs/UserApi.md
@@ -0,0 +1,543 @@
+# UserApi
+
+All URIs are relative to *http://petstore.swagger.io:80/v2*
+
+| Method | HTTP request | Description |
+|------------- | ------------- | -------------|
+| [**createUser**](UserApi.md#createUser) | **POST** /user | Create user |
+| [**createUsersWithArrayInput**](UserApi.md#createUsersWithArrayInput) | **POST** /user/createWithArray | Creates list of users with given input array |
+| [**createUsersWithListInput**](UserApi.md#createUsersWithListInput) | **POST** /user/createWithList | Creates list of users with given input array |
+| [**deleteUser**](UserApi.md#deleteUser) | **DELETE** /user/{username} | Delete user |
+| [**getUserByName**](UserApi.md#getUserByName) | **GET** /user/{username} | Get user by user name |
+| [**loginUser**](UserApi.md#loginUser) | **GET** /user/login | Logs user into the system |
+| [**logoutUser**](UserApi.md#logoutUser) | **GET** /user/logout | Logs out current logged in user session |
+| [**updateUser**](UserApi.md#updateUser) | **PUT** /user/{username} | Updated user |
+
+
+
+## createUser
+
+> createUser(user)
+
+Create user
+
+This can only be done by the logged in user.
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.UserApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ UserApi apiInstance = new UserApi(defaultClient);
+ User user = new User(); // User | Created user object
+ try {
+ apiInstance.createUser(user);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling UserApi#createUser");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **user** | [**User**](User.md)| Created user object | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | successful operation | - |
+
+
+## createUsersWithArrayInput
+
+> createUsersWithArrayInput(user)
+
+Creates list of users with given input array
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.UserApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ UserApi apiInstance = new UserApi(defaultClient);
+ List user = Arrays.asList(); // List | List of user object
+ try {
+ apiInstance.createUsersWithArrayInput(user);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling UserApi#createUsersWithArrayInput");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **user** | [**List<User>**](User.md)| List of user object | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | successful operation | - |
+
+
+## createUsersWithListInput
+
+> createUsersWithListInput(user)
+
+Creates list of users with given input array
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.UserApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ UserApi apiInstance = new UserApi(defaultClient);
+ List user = Arrays.asList(); // List | List of user object
+ try {
+ apiInstance.createUsersWithListInput(user);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling UserApi#createUsersWithListInput");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **user** | [**List<User>**](User.md)| List of user object | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | successful operation | - |
+
+
+## deleteUser
+
+> deleteUser(username)
+
+Delete user
+
+This can only be done by the logged in user.
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.UserApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ UserApi apiInstance = new UserApi(defaultClient);
+ String username = "username_example"; // String | The name that needs to be deleted
+ try {
+ apiInstance.deleteUser(username);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling UserApi#deleteUser");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **username** | **String**| The name that needs to be deleted | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid username supplied | - |
+| **404** | User not found | - |
+
+
+## getUserByName
+
+> User getUserByName(username)
+
+Get user by user name
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.UserApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ UserApi apiInstance = new UserApi(defaultClient);
+ String username = "username_example"; // String | The name that needs to be fetched. Use user1 for testing.
+ try {
+ User result = apiInstance.getUserByName(username);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling UserApi#getUserByName");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **username** | **String**| The name that needs to be fetched. Use user1 for testing. | |
+
+### Return type
+
+[**User**](User.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | - |
+| **400** | Invalid username supplied | - |
+| **404** | User not found | - |
+
+
+## loginUser
+
+> String loginUser(username, password)
+
+Logs user into the system
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.UserApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ UserApi apiInstance = new UserApi(defaultClient);
+ String username = "username_example"; // String | The user name for login
+ String password = "password_example"; // String | The password for login in clear text
+ try {
+ String result = apiInstance.loginUser(username, password);
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling UserApi#loginUser");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **username** | **String**| The user name for login | |
+| **password** | **String**| The password for login in clear text | |
+
+### Return type
+
+**String**
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: application/xml, application/json
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | successful operation | * X-Rate-Limit - calls per hour allowed by the user
* X-Expires-After - date in UTC when token expires
|
+| **400** | Invalid username/password supplied | - |
+
+
+## logoutUser
+
+> logoutUser()
+
+Logs out current logged in user session
+
+
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.UserApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ UserApi apiInstance = new UserApi(defaultClient);
+ try {
+ apiInstance.logoutUser();
+ } catch (ApiException e) {
+ System.err.println("Exception when calling UserApi#logoutUser");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+This endpoint does not need any parameter.
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: Not defined
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **0** | successful operation | - |
+
+
+## updateUser
+
+> updateUser(username, user)
+
+Updated user
+
+This can only be done by the logged in user.
+
+### Example
+
+```java
+// Import classes:
+import org.openapitools.client.ApiClient;
+import org.openapitools.client.ApiException;
+import org.openapitools.client.Configuration;
+import org.openapitools.client.models.*;
+import org.openapitools.client.api.UserApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
+
+ UserApi apiInstance = new UserApi(defaultClient);
+ String username = "username_example"; // String | name that need to be deleted
+ User user = new User(); // User | Updated user object
+ try {
+ apiInstance.updateUser(username, user);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling UserApi#updateUser");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **username** | **String**| name that need to be deleted | |
+| **user** | [**User**](User.md)| Updated user object | |
+
+### Return type
+
+null (empty response body)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+- **Content-Type**: application/json
+- **Accept**: Not defined
+
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **400** | Invalid user supplied | - |
+| **404** | User not found | - |
+
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/git_push.sh b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/git_push.sh
new file mode 100644
index 000000000000..f53a75d4fabe
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/git_push.sh
@@ -0,0 +1,57 @@
+#!/bin/sh
+# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
+#
+# Usage example: /bin/sh ./git_push.sh wing328 openapi-petstore-perl "minor update" "gitlab.com"
+
+git_user_id=$1
+git_repo_id=$2
+release_note=$3
+git_host=$4
+
+if [ "$git_host" = "" ]; then
+ git_host="github.com"
+ echo "[INFO] No command line input provided. Set \$git_host to $git_host"
+fi
+
+if [ "$git_user_id" = "" ]; then
+ git_user_id="GIT_USER_ID"
+ echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
+fi
+
+if [ "$git_repo_id" = "" ]; then
+ git_repo_id="GIT_REPO_ID"
+ echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
+fi
+
+if [ "$release_note" = "" ]; then
+ release_note="Minor update"
+ echo "[INFO] No command line input provided. Set \$release_note to $release_note"
+fi
+
+# Initialize the local directory as a Git repository
+git init
+
+# Adds the files in the local repository and stages them for commit.
+git add .
+
+# Commits the tracked changes and prepares them to be pushed to a remote repository.
+git commit -m "$release_note"
+
+# Sets the new remote
+git_remote=$(git remote)
+if [ "$git_remote" = "" ]; then # git remote not defined
+
+ if [ "$GIT_TOKEN" = "" ]; then
+ echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
+ git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
+ else
+ git remote add origin https://${git_user_id}:"${GIT_TOKEN}"@${git_host}/${git_user_id}/${git_repo_id}.git
+ fi
+
+fi
+
+git pull origin master
+
+# Pushes (Forces) the changes in the local repository up to the remote repository
+echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
+git push origin master 2>&1 | grep -v 'To https'
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradle.properties b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradle.properties
new file mode 100644
index 000000000000..a3408578278a
--- /dev/null
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradle.properties
@@ -0,0 +1,6 @@
+# This file is automatically generated by OpenAPI Generator (https://github.com/openAPITools/openapi-generator).
+# To include other gradle properties as part of the code generation process, please use the `gradleProperties` option.
+#
+# Gradle properties reference: https://docs.gradle.org/current/userguide/build_environment.html#sec:gradle_configuration_properties
+# For example, uncomment below to build for Android
+#target = android
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradle/wrapper/gradle-wrapper.jar b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/gradle/wrapper/gradle-wrapper.jar
new file mode 100644
index 0000000000000000000000000000000000000000..e6441136f3d4ba8a0da8d277868979cfbc8ad796
GIT binary patch
literal 43453
zcma&N1CXTcmMvW9vTb(Rwr$&4wr$(C?dmSu>@vG-+vuvg^_??!{yS%8zW-#zn-LkA
z5&1^$^{lnmUON?}LBF8_K|(?T0Ra(xUH{($5eN!MR#ZihR#HxkUPe+_R8Cn`RRs(P
z_^*#_XlXmGv7!4;*Y%p4nw?{bNp@UZHv1?Um8r6)Fei3p@ClJn0ECfg1hkeuUU@Or
zDaPa;U3fE=3L}DooL;8f;P0ipPt0Z~9P0)lbStMS)ag54=uL9ia-Lm3nh|@(Y?B`;
zx_#arJIpXH!U{fbCbI^17}6Ri*H<>OLR%c|^mh8+)*h~K8Z!9)DPf
zR2h?lbDZQ`p9P;&DQ4F0sur@TMa!Y}S8irn(%d-gi0*WxxCSk*A?3lGh=gcYN?FGl
z7D=Js!i~0=u3rox^eO3i@$0=n{K1lPNU
zwmfjRVmLOCRfe=seV&P*1Iq=^i`502keY8Uy-WNPwVNNtJFx?IwAyRPZo2Wo1+S(xF37LJZ~%i)kpFQ3Fw=mXfd@>%+)RpYQLnr}B~~zoof(JVm^^&f
zxKV^+3D3$A1G;qh4gPVjhrC8e(VYUHv#dy^)(RoUFM?o%W-EHxufuWf(l*@-l+7vt
z=l`qmR56K~F|v<^Pd*p~1_y^P0P^aPC##d8+HqX4IR1gu+7w#~TBFphJxF)T$2WEa
zxa?H&6=Qe7d(#tha?_1uQys2KtHQ{)Qco)qwGjrdNL7thd^G5i8Os)CHqc>iOidS}
z%nFEDdm=GXBw=yXe1W-ShHHFb?Cc70+$W~z_+}nAoHFYI1MV1wZegw*0y^tC*s%3h
zhD3tN8b=Gv&rj}!SUM6|ajSPp*58KR7MPpI{oAJCtY~JECm)*m_x>AZEu>DFgUcby
z1Qaw8lU4jZpQ_$;*7RME+gq1KySGG#Wql>aL~k9tLrSO()LWn*q&YxHEuzmwd1?aAtI
zBJ>P=&$=l1efe1CDU;`Fd+_;&wI07?V0aAIgc(!{a
z0Jg6Y=inXc3^n!U0Atk`iCFIQooHqcWhO(qrieUOW8X(x?(RD}iYDLMjSwffH2~tB
z)oDgNBLB^AJBM1M^c5HdRx6fBfka`(LD-qrlh5jqH~);#nw|iyp)()xVYak3;Ybik
z0j`(+69aK*B>)e_p%=wu8XC&9e{AO4c~O1U`5X9}?0mrd*m$_EUek{R?DNSh(=br#
z#Q61gBzEpmy`$pA*6!87
zSDD+=@fTY7<4A?GLqpA?Pb2z$pbCc4B4zL{BeZ?F-8`s$?>*lXXtn*NC61>|*w7J*
z$?!iB{6R-0=KFmyp1nnEmLsA-H0a6l+1uaH^g%c(p{iT&YFrbQ$&PRb8Up#X3@Zsk
zD^^&LK~111%cqlP%!_gFNa^dTYT?rhkGl}5=fL{a`UViaXWI$k-UcHJwmaH1s=S$4
z%4)PdWJX;hh5UoK?6aWoyLxX&NhNRqKam7tcOkLh{%j3K^4Mgx1@i|Pi&}<^5>hs5
zm8?uOS>%)NzT(%PjVPGa?X%`N2TQCKbeH2l;cTnHiHppPSJ<7y-yEIiC!P*ikl&!B
z%+?>VttCOQM@ShFguHVjxX^?mHX^hSaO_;pnyh^v9EumqSZTi+#f&_Vaija0Q-e*|
z7ulQj6Fs*bbmsWp{`auM04gGwsYYdNNZcg|ph0OgD>7O}Asn7^Z=eI>`$2*v78;sj-}oMoEj&@)9+ycEOo92xSyY344^
z11Hb8^kdOvbf^GNAK++bYioknrpdN>+u8R?JxG=!2Kd9r=YWCOJYXYuM0cOq^FhEd
zBg2puKy__7VT3-r*dG4c62Wgxi52EMCQ`bKgf*#*ou(D4-ZN$+mg&7$u!!
z-^+Z%;-3IDwqZ|K=ah85OLwkO
zKxNBh+4QHh)u9D?MFtpbl)us}9+V!D%w9jfAMYEb>%$A;u)rrI
zuBudh;5PN}_6J_}l55P3l_)&RMlH{m!)ai-i$g)&*M`eN$XQMw{v^r@-125^RRCF0
z^2>|DxhQw(mtNEI2Kj(;