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 48f7beb1ea4b..b6327a15b246 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 @@ -69,7 +69,7 @@ public class {{classname}} { * {{summary}} * {{notes}} {{#responses}} *
{{code}}{{#message}} - {{.}}{{/message}}
-{{/responses}}{{#allParams}} * @param {{paramName}} {{description}}{{^description}}The {{paramName}} parameter{{/description}}
+{{/responses}}{{#allParams}} * @param __{{paramName}} {{description}}{{^description}}The {{paramName}} parameter{{/description}}
{{/allParams}}{{#returnType}} * @return {{.}}
{{/returnType}} * @throws RestClientResponseException if an error occurs while attempting to invoke the API
{{#externalDocs}}
@@ -83,12 +83,12 @@ public class {{classname}} {
{{#isDeprecated}}
@Deprecated
{{/isDeprecated}}
- private ResponseSpec {{operationId}}RequestCreation({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection 200 - Successful operation
- * @param body The body parameter
+ * @param __body The body parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testBodyApplicationOctetstreamBinaryRequestCreation(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec testBodyApplicationOctetstreamBinaryRequestCreation(@jakarta.annotation.Nullable File __body) throws RestClientResponseException {
+ Object postBody = __body;
// create path and map variables
final Map 200 - Successful operation
- * @param files The files parameter
+ * @param __files The files parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testBodyMultipartFormdataArrayOfBinaryRequestCreation(@jakarta.annotation.Nonnull List 200 - Successful operation
- * @param myFile The myFile parameter
+ * @param __myFile The myFile parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testBodyMultipartFormdataSingleBinaryRequestCreation(@jakarta.annotation.Nullable File myFile) throws RestClientResponseException {
+ private ResponseSpec testBodyMultipartFormdataSingleBinaryRequestCreation(@jakarta.annotation.Nullable File __myFile) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param pet Pet object that needs to be added to the store
+ * @param __pet Pet object that needs to be added to the store
* @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testEchoBodyAllOfPetRequestCreation(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
- Object postBody = pet;
+ private ResponseSpec testEchoBodyAllOfPetRequestCreation(@jakarta.annotation.Nullable Pet __pet) throws RestClientResponseException {
+ Object postBody = __pet;
// create path and map variables
final Map 200 - Successful operation
- * @param body Free form object
+ * @param __body Free form object
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testEchoBodyFreeFormObjectResponseStringRequestCreation(@jakarta.annotation.Nullable Object body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec testEchoBodyFreeFormObjectResponseStringRequestCreation(@jakarta.annotation.Nullable Object __body) throws RestClientResponseException {
+ Object postBody = __body;
// create path and map variables
final Map 200 - Successful operation
- * @param pet Pet object that needs to be added to the store
+ * @param __pet Pet object that needs to be added to the store
* @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testEchoBodyPetRequestCreation(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
- Object postBody = pet;
+ private ResponseSpec testEchoBodyPetRequestCreation(@jakarta.annotation.Nullable Pet __pet) throws RestClientResponseException {
+ Object postBody = __pet;
// create path and map variables
final Map 200 - Successful operation
- * @param pet Pet object that needs to be added to the store
+ * @param __pet Pet object that needs to be added to the store
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testEchoBodyPetResponseStringRequestCreation(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
- Object postBody = pet;
+ private ResponseSpec testEchoBodyPetResponseStringRequestCreation(@jakarta.annotation.Nullable Pet __pet) throws RestClientResponseException {
+ Object postBody = __pet;
// create path and map variables
final Map 200 - Successful operation
- * @param body String enum
+ * @param __body String enum
* @return StringEnumRef
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testEchoBodyStringEnumRequestCreation(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec testEchoBodyStringEnumRequestCreation(@jakarta.annotation.Nullable String __body) throws RestClientResponseException {
+ Object postBody = __body;
// create path and map variables
final Map 200 - Successful operation
- * @param tag Tag object
+ * @param __tag Tag object
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testEchoBodyTagResponseStringRequestCreation(@jakarta.annotation.Nullable Tag tag) throws RestClientResponseException {
- Object postBody = tag;
+ private ResponseSpec testEchoBodyTagResponseStringRequestCreation(@jakarta.annotation.Nullable Tag __tag) throws RestClientResponseException {
+ Object postBody = __tag;
// create path and map variables
final Map 200 - Successful operation
- * @param integerForm The integerForm parameter
- * @param booleanForm The booleanForm parameter
- * @param stringForm The stringForm parameter
+ * @param __integerForm The integerForm parameter
+ * @param __booleanForm The booleanForm parameter
+ * @param __stringForm The stringForm parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testFormIntegerBooleanStringRequestCreation(@jakarta.annotation.Nullable Integer integerForm, @jakarta.annotation.Nullable Boolean booleanForm, @jakarta.annotation.Nullable String stringForm) throws RestClientResponseException {
+ private ResponseSpec testFormIntegerBooleanStringRequestCreation(@jakarta.annotation.Nullable Integer __integerForm, @jakarta.annotation.Nullable Boolean __booleanForm, @jakarta.annotation.Nullable String __stringForm) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param marker The marker parameter
+ * @param __marker The marker parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testFormObjectMultipartRequestCreation(@jakarta.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
+ private ResponseSpec testFormObjectMultipartRequestCreation(@jakarta.annotation.Nonnull TestFormObjectMultipartRequestMarker __marker) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'marker' is set
- if (marker == null) {
+ if (__marker == null) {
throw new RestClientResponseException("Missing the required parameter 'marker' when calling testFormObjectMultipart", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -152,8 +152,8 @@ private ResponseSpec testFormObjectMultipartRequestCreation(@jakarta.annotation.
final MultiValueMap 200 - Successful operation
- * @param form1 The form1 parameter
- * @param form2 The form2 parameter
- * @param form3 The form3 parameter
- * @param form4 The form4 parameter
- * @param id The id parameter
- * @param name The name parameter
+ * @param __form1 The form1 parameter
+ * @param __form2 The form2 parameter
+ * @param __form3 The form3 parameter
+ * @param __form4 The form4 parameter
+ * @param __id The id parameter
+ * @param __name The name parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testFormOneofRequestCreation(@jakarta.annotation.Nullable String form1, @jakarta.annotation.Nullable Integer form2, @jakarta.annotation.Nullable String form3, @jakarta.annotation.Nullable Boolean form4, @jakarta.annotation.Nullable Long id, @jakarta.annotation.Nullable String name) throws RestClientResponseException {
+ private ResponseSpec testFormOneofRequestCreation(@jakarta.annotation.Nullable String __form1, @jakarta.annotation.Nullable Integer __form2, @jakarta.annotation.Nullable String __form3, @jakarta.annotation.Nullable Boolean __form4, @jakarta.annotation.Nullable Long __id, @jakarta.annotation.Nullable String __name) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param integerHeader The integerHeader parameter
- * @param booleanHeader The booleanHeader parameter
- * @param stringHeader The stringHeader parameter
- * @param enumNonrefStringHeader The enumNonrefStringHeader parameter
- * @param enumRefStringHeader The enumRefStringHeader parameter
+ * @param __integerHeader The integerHeader parameter
+ * @param __booleanHeader The booleanHeader parameter
+ * @param __stringHeader The stringHeader parameter
+ * @param __enumNonrefStringHeader The enumNonrefStringHeader parameter
+ * @param __enumRefStringHeader The enumRefStringHeader parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testHeaderIntegerBooleanStringEnumsRequestCreation(@jakarta.annotation.Nullable Integer integerHeader, @jakarta.annotation.Nullable Boolean booleanHeader, @jakarta.annotation.Nullable String stringHeader, @jakarta.annotation.Nullable String enumNonrefStringHeader, @jakarta.annotation.Nullable StringEnumRef enumRefStringHeader) throws RestClientResponseException {
+ private ResponseSpec testHeaderIntegerBooleanStringEnumsRequestCreation(@jakarta.annotation.Nullable Integer __integerHeader, @jakarta.annotation.Nullable Boolean __booleanHeader, @jakarta.annotation.Nullable String __stringHeader, @jakarta.annotation.Nullable String __enumNonrefStringHeader, @jakarta.annotation.Nullable StringEnumRef __enumRefStringHeader) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param pathString The pathString parameter
- * @param pathInteger The pathInteger parameter
- * @param enumNonrefStringPath The enumNonrefStringPath parameter
- * @param enumRefStringPath The enumRefStringPath parameter
+ * @param __pathString The pathString parameter
+ * @param __pathInteger The pathInteger parameter
+ * @param __enumNonrefStringPath The enumNonrefStringPath parameter
+ * @param __enumRefStringPath The enumRefStringPath parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(@jakarta.annotation.Nonnull String pathString, @jakarta.annotation.Nonnull Integer pathInteger, @jakarta.annotation.Nonnull String enumNonrefStringPath, @jakarta.annotation.Nonnull StringEnumRef enumRefStringPath) throws RestClientResponseException {
+ private ResponseSpec testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(@jakarta.annotation.Nonnull String __pathString, @jakarta.annotation.Nonnull Integer __pathInteger, @jakarta.annotation.Nonnull String __enumNonrefStringPath, @jakarta.annotation.Nonnull StringEnumRef __enumRefStringPath) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'pathString' is set
- if (pathString == null) {
+ if (__pathString == null) {
throw new RestClientResponseException("Missing the required parameter 'pathString' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'pathInteger' is set
- if (pathInteger == null) {
+ if (__pathInteger == null) {
throw new RestClientResponseException("Missing the required parameter 'pathInteger' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'enumNonrefStringPath' is set
- if (enumNonrefStringPath == null) {
+ if (__enumNonrefStringPath == null) {
throw new RestClientResponseException("Missing the required parameter 'enumNonrefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'enumRefStringPath' is set
- if (enumRefStringPath == null) {
+ if (__enumRefStringPath == null) {
throw new RestClientResponseException("Missing the required parameter 'enumRefStringPath' when calling testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 200 - Successful operation
- * @param enumNonrefStringQuery The enumNonrefStringQuery parameter
- * @param enumRefStringQuery The enumRefStringQuery parameter
+ * @param __enumNonrefStringQuery The enumNonrefStringQuery parameter
+ * @param __enumRefStringQuery The enumRefStringQuery parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testEnumRefStringRequestCreation(@jakarta.annotation.Nullable String enumNonrefStringQuery, @jakarta.annotation.Nullable StringEnumRef enumRefStringQuery) throws RestClientResponseException {
+ private ResponseSpec testEnumRefStringRequestCreation(@jakarta.annotation.Nullable String __enumNonrefStringQuery, @jakarta.annotation.Nullable StringEnumRef __enumRefStringQuery) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param datetimeQuery The datetimeQuery parameter
- * @param dateQuery The dateQuery parameter
- * @param stringQuery The stringQuery parameter
+ * @param __datetimeQuery The datetimeQuery parameter
+ * @param __dateQuery The dateQuery parameter
+ * @param __stringQuery The stringQuery parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryDatetimeDateStringRequestCreation(@jakarta.annotation.Nullable Instant datetimeQuery, @jakarta.annotation.Nullable LocalDate dateQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
+ private ResponseSpec testQueryDatetimeDateStringRequestCreation(@jakarta.annotation.Nullable Instant __datetimeQuery, @jakarta.annotation.Nullable LocalDate __dateQuery, @jakarta.annotation.Nullable String __stringQuery) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param integerQuery The integerQuery parameter
- * @param booleanQuery The booleanQuery parameter
- * @param stringQuery The stringQuery parameter
+ * @param __integerQuery The integerQuery parameter
+ * @param __booleanQuery The booleanQuery parameter
+ * @param __stringQuery The stringQuery parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryIntegerBooleanStringRequestCreation(@jakarta.annotation.Nullable Integer integerQuery, @jakarta.annotation.Nullable Boolean booleanQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
+ private ResponseSpec testQueryIntegerBooleanStringRequestCreation(@jakarta.annotation.Nullable Integer __integerQuery, @jakarta.annotation.Nullable Boolean __booleanQuery, @jakarta.annotation.Nullable String __stringQuery) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param queryObject The queryObject parameter
+ * @param __queryObject The queryObject parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
+ private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(@jakarta.annotation.Nullable Pet __queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param queryObject The queryObject parameter
+ * @param __queryObject The queryObject parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
+ private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter __queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param queryObject The queryObject parameter
+ * @param __queryObject The queryObject parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(@jakarta.annotation.Nullable List 200 - Successful operation
- * @param queryObject The queryObject parameter
+ * @param __queryObject The queryObject parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryStyleFormExplodeFalseArrayStringRequestCreation(@jakarta.annotation.Nullable List 200 - Successful operation
- * @param queryObject The queryObject parameter
+ * @param __queryObject The queryObject parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryStyleFormExplodeTrueArrayStringRequestCreation(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
+ private ResponseSpec testQueryStyleFormExplodeTrueArrayStringRequestCreation(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter __queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param queryObject The queryObject parameter
+ * @param __queryObject The queryObject parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryStyleFormExplodeTrueObjectRequestCreation(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
+ private ResponseSpec testQueryStyleFormExplodeTrueObjectRequestCreation(@jakarta.annotation.Nullable Pet __queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param queryObject The queryObject parameter
+ * @param __queryObject The queryObject parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(@jakarta.annotation.Nullable DataQuery queryObject) throws RestClientResponseException {
+ private ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(@jakarta.annotation.Nullable DataQuery __queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - Successful operation
- * @param jsonSerializedObjectRefStringQuery The jsonSerializedObjectRefStringQuery parameter
- * @param jsonSerializedObjectArrayRefStringQuery The jsonSerializedObjectArrayRefStringQuery parameter
+ * @param __jsonSerializedObjectRefStringQuery The jsonSerializedObjectRefStringQuery parameter
+ * @param __jsonSerializedObjectArrayRefStringQuery The jsonSerializedObjectArrayRefStringQuery parameter
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryStyleJsonSerializationObjectRequestCreation(@jakarta.annotation.Nullable Pet jsonSerializedObjectRefStringQuery, @jakarta.annotation.Nullable List 201 - The message was created.
- * @param fileContent The message payload
- * @param idempotencyKey The idempotencyKey parameter
- * @param dataDirection The dataDirection parameter
- * @param dataChannel The dataChannel parameter
+ * @param __fileContent The message payload
+ * @param __idempotencyKey The idempotencyKey parameter
+ * @param __dataDirection The dataDirection parameter
+ * @param __dataChannel The dataChannel parameter
* @return InlineObject
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec createMessageRequestCreation(@jakarta.annotation.Nonnull File fileContent, @jakarta.annotation.Nonnull String idempotencyKey, @jakarta.annotation.Nonnull DataDirection dataDirection, @jakarta.annotation.Nonnull DataChannel dataChannel) throws RestClientResponseException {
+ private ResponseSpec createMessageRequestCreation(@jakarta.annotation.Nonnull File __fileContent, @jakarta.annotation.Nonnull String __idempotencyKey, @jakarta.annotation.Nonnull DataDirection __dataDirection, @jakarta.annotation.Nonnull DataChannel __dataChannel) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'fileContent' is set
- if (fileContent == null) {
+ if (__fileContent == null) {
throw new RestClientResponseException("Missing the required parameter 'fileContent' when calling createMessage", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'idempotencyKey' is set
- if (idempotencyKey == null) {
+ if (__idempotencyKey == null) {
throw new RestClientResponseException("Missing the required parameter 'idempotencyKey' when calling createMessage", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'dataDirection' is set
- if (dataDirection == null) {
+ if (__dataDirection == null) {
throw new RestClientResponseException("Missing the required parameter 'dataDirection' when calling createMessage", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'dataChannel' is set
- if (dataChannel == null) {
+ if (__dataChannel == null) {
throw new RestClientResponseException("Missing the required parameter 'dataChannel' when calling createMessage", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -84,14 +84,14 @@ private ResponseSpec createMessageRequestCreation(@jakarta.annotation.Nonnull Fi
final MultiValueMap 200 - Bar created
- * @param barCreate The barCreate parameter
+ * @param __barCreate The barCreate parameter
* @return Bar
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec createBarRequestCreation(@jakarta.annotation.Nonnull BarCreate barCreate) throws RestClientResponseException {
- Object postBody = barCreate;
+ private ResponseSpec createBarRequestCreation(@jakarta.annotation.Nonnull BarCreate __barCreate) throws RestClientResponseException {
+ Object postBody = __barCreate;
// verify the required parameter 'barCreate' is set
- if (barCreate == null) {
+ if (__barCreate == null) {
throw new RestClientResponseException("Missing the required parameter 'barCreate' when calling createBar", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
diff --git a/samples/client/others/java/restclient-sealedInterface/src/main/java/org/openapitools/client/api/FooApi.java b/samples/client/others/java/restclient-sealedInterface/src/main/java/org/openapitools/client/api/FooApi.java
index bb0301747246..e0803dd4ad27 100644
--- a/samples/client/others/java/restclient-sealedInterface/src/main/java/org/openapitools/client/api/FooApi.java
+++ b/samples/client/others/java/restclient-sealedInterface/src/main/java/org/openapitools/client/api/FooApi.java
@@ -49,12 +49,12 @@ public void setApiClient(ApiClient apiClient) {
* Create a Foo
*
* 201 - Error
- * @param foo The Foo to be created
+ * @param __foo The Foo to be created
* @return FooRefOrValue
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec createFooRequestCreation(@jakarta.annotation.Nullable Foo foo) throws RestClientResponseException {
- Object postBody = foo;
+ private ResponseSpec createFooRequestCreation(@jakarta.annotation.Nullable Foo __foo) throws RestClientResponseException {
+ Object postBody = __foo;
// create path and map variables
final Map 200 - successful operation
* 405 - Invalid input
- * @param pet Pet object that needs to be added to the store
+ * @param __pet Pet object that needs to be added to the store
* @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec addPetRequestCreation(@jakarta.annotation.Nonnull Pet pet) throws RestClientResponseException {
- Object postBody = pet;
+ private ResponseSpec addPetRequestCreation(@jakarta.annotation.Nonnull Pet __pet) throws RestClientResponseException {
+ Object postBody = __pet;
// verify the required parameter 'pet' is set
- if (pet == null) {
+ if (__pet == null) {
throw new RestClientResponseException("Missing the required parameter 'pet' when calling addPet", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
diff --git a/samples/client/petstore/java/restclient-springBoot4-jackson3-jspecify/src/main/java/org/openapitools/client/api/DefaultApi.java b/samples/client/petstore/java/restclient-springBoot4-jackson3-jspecify/src/main/java/org/openapitools/client/api/DefaultApi.java
index accb19c454aa..5bb8bbecfae7 100644
--- a/samples/client/petstore/java/restclient-springBoot4-jackson3-jspecify/src/main/java/org/openapitools/client/api/DefaultApi.java
+++ b/samples/client/petstore/java/restclient-springBoot4-jackson3-jspecify/src/main/java/org/openapitools/client/api/DefaultApi.java
@@ -51,19 +51,19 @@ public void setApiClient(ApiClient apiClient) {
*
*
* 200 - ok
- * @param id The id parameter
+ * @param __id The id parameter
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fileIdGetRequestCreation(String id) throws RestClientResponseException {
+ private ResponseSpec fileIdGetRequestCreation(String __id) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'id' is set
- if (id == null) {
+ if (__id == null) {
throw new RestClientResponseException("Missing the required parameter 'id' when calling fileIdGet", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 0 - response
- * @param dtParam The dtParam parameter
- * @param dtQuery The dtQuery parameter
- * @param dtCookie The dtCookie parameter
+ * @param __dtParam The dtParam parameter
+ * @param __dtQuery The dtQuery parameter
+ * @param __dtCookie The dtCookie parameter
* @return Foo
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fooDtParamGetRequestCreation(java.time.@Nullable Instant dtParam, java.time.@Nullable Instant dtQuery, java.time.@Nullable Instant dtCookie) throws RestClientResponseException {
+ private ResponseSpec fooDtParamGetRequestCreation(java.time.@Nullable Instant __dtParam, java.time.@Nullable Instant __dtQuery, java.time.@Nullable Instant __dtCookie) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 0 - ok
- * @param _file The _file parameter
+ * @param ___file The _file parameter
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec uploadPostRequestCreation(@Nullable File _file) throws RestClientResponseException {
+ private ResponseSpec uploadPostRequestCreation(@Nullable File ___file) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map 200 - successful operation
* 405 - Invalid input
- * @param pet Pet object that needs to be added to the store
+ * @param __pet Pet object that needs to be added to the store
* @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec addPetRequestCreation(@jakarta.annotation.Nonnull Pet pet) throws RestClientResponseException {
- Object postBody = pet;
+ private ResponseSpec addPetRequestCreation(@jakarta.annotation.Nonnull Pet __pet) throws RestClientResponseException {
+ Object postBody = __pet;
// verify the required parameter 'pet' is set
- if (pet == null) {
+ if (__pet == null) {
throw new RestClientResponseException("Missing the required parameter 'pet' when calling addPet", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
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 49e83164399d..346329331bab 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
@@ -48,14 +48,14 @@ public void setApiClient(ApiClient apiClient) {
* To test special tags
* To test special tags and operation ID starting with number
* 200 - successful operation
- * @param client client model
+ * @param __client client model
* @return Client
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec call123testSpecialTagsRequestCreation(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
- Object postBody = client;
+ private ResponseSpec call123testSpecialTagsRequestCreation(@jakarta.annotation.Nonnull Client __client) throws RestClientResponseException {
+ Object postBody = __client;
// verify the required parameter 'client' is set
- if (client == null) {
+ if (__client == null) {
throw new RestClientResponseException("Missing the required parameter 'client' when calling call123testSpecialTags", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
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 91ac811e9fec..2fc770a879ee 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
@@ -192,15 +192,15 @@ public ResponseSpec fakeHealthGetWithResponseSpec() throws RestClientResponseExc
* test http signature authentication
*
* 200 - The instance started successfully
- * @param pet Pet object that needs to be added to the store
- * @param query1 query parameter
- * @param header1 header parameter
+ * @param __pet Pet object that needs to be added to the store
+ * @param __query1 query parameter
+ * @param __header1 header parameter
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeHttpSignatureTestRequestCreation(@jakarta.annotation.Nonnull Pet pet, @jakarta.annotation.Nullable String query1, @jakarta.annotation.Nullable String header1) throws RestClientResponseException {
- Object postBody = pet;
+ private ResponseSpec fakeHttpSignatureTestRequestCreation(@jakarta.annotation.Nonnull Pet __pet, @jakarta.annotation.Nullable String __query1, @jakarta.annotation.Nullable String __header1) throws RestClientResponseException {
+ Object postBody = __pet;
// verify the required parameter 'pet' is set
- if (pet == null) {
+ if (__pet == null) {
throw new RestClientResponseException("Missing the required parameter 'pet' when calling fakeHttpSignatureTest", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -211,10 +211,10 @@ private ResponseSpec fakeHttpSignatureTestRequestCreation(@jakarta.annotation.No
final MultiValueMap 200 - Output boolean
- * @param body Input boolean as post body
+ * @param __body Input boolean as post body
* @return Boolean
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeOuterBooleanSerializeRequestCreation(@jakarta.annotation.Nullable Boolean body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec fakeOuterBooleanSerializeRequestCreation(@jakarta.annotation.Nullable Boolean __body) throws RestClientResponseException {
+ Object postBody = __body;
// create path and map variables
final Map 200 - Output composite
- * @param outerComposite Input composite as post body
+ * @param __outerComposite Input composite as post body
* @return OuterComposite
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeOuterCompositeSerializeRequestCreation(@jakarta.annotation.Nullable OuterComposite outerComposite) throws RestClientResponseException {
- Object postBody = outerComposite;
+ private ResponseSpec fakeOuterCompositeSerializeRequestCreation(@jakarta.annotation.Nullable OuterComposite __outerComposite) throws RestClientResponseException {
+ Object postBody = __outerComposite;
// create path and map variables
final Map 200 - Output number
- * @param body Input number as post body
+ * @param __body Input number as post body
* @return BigDecimal
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeOuterNumberSerializeRequestCreation(@jakarta.annotation.Nullable BigDecimal body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec fakeOuterNumberSerializeRequestCreation(@jakarta.annotation.Nullable BigDecimal __body) throws RestClientResponseException {
+ Object postBody = __body;
// create path and map variables
final Map 200 - Output string
- * @param body Input string as post body
+ * @param __body Input string as post body
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeOuterStringSerializeRequestCreation(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec fakeOuterStringSerializeRequestCreation(@jakarta.annotation.Nullable String __body) throws RestClientResponseException {
+ Object postBody = __body;
// create path and map variables
final Map 200 - Output enum (int)
- * @param outerObjectWithEnumProperty Input enum (int) as post body
+ * @param __outerObjectWithEnumProperty Input enum (int) as post body
* @return OuterObjectWithEnumProperty
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakePropertyEnumIntegerSerializeRequestCreation(@jakarta.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws RestClientResponseException {
- Object postBody = outerObjectWithEnumProperty;
+ private ResponseSpec fakePropertyEnumIntegerSerializeRequestCreation(@jakarta.annotation.Nonnull OuterObjectWithEnumProperty __outerObjectWithEnumProperty) throws RestClientResponseException {
+ Object postBody = __outerObjectWithEnumProperty;
// verify the required parameter 'outerObjectWithEnumProperty' is set
- if (outerObjectWithEnumProperty == null) {
+ if (__outerObjectWithEnumProperty == null) {
throw new RestClientResponseException("Missing the required parameter 'outerObjectWithEnumProperty' when calling fakePropertyEnumIntegerSerialize", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -633,13 +633,13 @@ public ResponseSpec fakePropertyEnumIntegerSerializeWithResponseSpec(@jakarta.an
* test referenced additionalProperties
*
* 200 - successful operation
- * @param requestBody request body
+ * @param __requestBody request body
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testAdditionalPropertiesReferenceRequestCreation(@jakarta.annotation.Nonnull Map 200 - Success
- * @param body image to upload
+ * @param __body image to upload
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testBodyWithBinaryRequestCreation(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec testBodyWithBinaryRequestCreation(@jakarta.annotation.Nullable File __body) throws RestClientResponseException {
+ Object postBody = __body;
// verify the required parameter 'body' is set
- if (body == null) {
+ if (__body == null) {
throw new RestClientResponseException("Missing the required parameter 'body' when calling testBodyWithBinary", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -773,13 +773,13 @@ public ResponseSpec testBodyWithBinaryWithResponseSpec(@jakarta.annotation.Nulla
*
* For this test, the body for this request must reference a schema named `File`.
* 200 - Success
- * @param fileSchemaTestClass The fileSchemaTestClass parameter
+ * @param __fileSchemaTestClass The fileSchemaTestClass parameter
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testBodyWithFileSchemaRequestCreation(@jakarta.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws RestClientResponseException {
- Object postBody = fileSchemaTestClass;
+ private ResponseSpec testBodyWithFileSchemaRequestCreation(@jakarta.annotation.Nonnull FileSchemaTestClass __fileSchemaTestClass) throws RestClientResponseException {
+ Object postBody = __fileSchemaTestClass;
// verify the required parameter 'fileSchemaTestClass' is set
- if (fileSchemaTestClass == null) {
+ if (__fileSchemaTestClass == null) {
throw new RestClientResponseException("Missing the required parameter 'fileSchemaTestClass' when calling testBodyWithFileSchema", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -843,18 +843,18 @@ public ResponseSpec testBodyWithFileSchemaWithResponseSpec(@jakarta.annotation.N
*
*
* 200 - Success
- * @param query The query parameter
- * @param user The user parameter
+ * @param __query The query parameter
+ * @param __user The user parameter
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testBodyWithQueryParamsRequestCreation(@jakarta.annotation.Nonnull String query, @jakarta.annotation.Nonnull User user) throws RestClientResponseException {
- Object postBody = user;
+ private ResponseSpec testBodyWithQueryParamsRequestCreation(@jakarta.annotation.Nonnull String __query, @jakarta.annotation.Nonnull User __user) throws RestClientResponseException {
+ Object postBody = __user;
// verify the required parameter 'query' is set
- if (query == null) {
+ if (__query == null) {
throw new RestClientResponseException("Missing the required parameter 'query' when calling testBodyWithQueryParams", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'user' is set
- if (user == null) {
+ if (__user == null) {
throw new RestClientResponseException("Missing the required parameter 'user' when calling testBodyWithQueryParams", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -865,7 +865,7 @@ private ResponseSpec testBodyWithQueryParamsRequestCreation(@jakarta.annotation.
final MultiValueMap 200 - successful operation
- * @param client client model
+ * @param __client client model
* @return Client
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testClientModelRequestCreation(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
- Object postBody = client;
+ private ResponseSpec testClientModelRequestCreation(@jakarta.annotation.Nonnull Client __client) throws RestClientResponseException {
+ Object postBody = __client;
// verify the required parameter 'client' is set
- if (client == null) {
+ if (__client == null) {
throw new RestClientResponseException("Missing the required parameter 'client' when calling testClientModel", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -999,38 +999,38 @@ public ResponseSpec testClientModelWithResponseSpec(@jakarta.annotation.Nonnull
* Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트
* 400 - Invalid username supplied
* 404 - User not found
- * @param number None
- * @param _double None
- * @param patternWithoutDelimiter None
- * @param _byte None
- * @param integer None
- * @param int32 None
- * @param int64 None
- * @param _float None
- * @param string None
- * @param binary None
- * @param date None
- * @param dateTime None
- * @param password None
- * @param paramCallback None
- * @throws RestClientResponseException if an error occurs while attempting to invoke the API
- */
- private ResponseSpec testEndpointParametersRequestCreation(@jakarta.annotation.Nonnull BigDecimal number, @jakarta.annotation.Nonnull Double _double, @jakarta.annotation.Nonnull String patternWithoutDelimiter, @jakarta.annotation.Nonnull byte[] _byte, @jakarta.annotation.Nullable Integer integer, @jakarta.annotation.Nullable Integer int32, @jakarta.annotation.Nullable Long int64, @jakarta.annotation.Nullable Float _float, @jakarta.annotation.Nullable String string, @jakarta.annotation.Nullable File binary, @jakarta.annotation.Nullable LocalDate date, @jakarta.annotation.Nullable OffsetDateTime dateTime, @jakarta.annotation.Nullable String password, @jakarta.annotation.Nullable String paramCallback) throws RestClientResponseException {
+ * @param __number None
+ * @param ___double None
+ * @param __patternWithoutDelimiter None
+ * @param ___byte None
+ * @param __integer None
+ * @param __int32 None
+ * @param __int64 None
+ * @param ___float None
+ * @param __string None
+ * @param __binary None
+ * @param __date None
+ * @param __dateTime None
+ * @param __password None
+ * @param __paramCallback None
+ * @throws RestClientResponseException if an error occurs while attempting to invoke the API
+ */
+ private ResponseSpec testEndpointParametersRequestCreation(@jakarta.annotation.Nonnull BigDecimal __number, @jakarta.annotation.Nonnull Double ___double, @jakarta.annotation.Nonnull String __patternWithoutDelimiter, @jakarta.annotation.Nonnull byte[] ___byte, @jakarta.annotation.Nullable Integer __integer, @jakarta.annotation.Nullable Integer __int32, @jakarta.annotation.Nullable Long __int64, @jakarta.annotation.Nullable Float ___float, @jakarta.annotation.Nullable String __string, @jakarta.annotation.Nullable File __binary, @jakarta.annotation.Nullable LocalDate __date, @jakarta.annotation.Nullable OffsetDateTime __dateTime, @jakarta.annotation.Nullable String __password, @jakarta.annotation.Nullable String __paramCallback) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'number' is set
- if (number == null) {
+ if (__number == null) {
throw new RestClientResponseException("Missing the required parameter 'number' when calling testEndpointParameters", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter '_double' is set
- if (_double == null) {
+ if (___double == null) {
throw new RestClientResponseException("Missing the required parameter '_double' when calling testEndpointParameters", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'patternWithoutDelimiter' is set
- if (patternWithoutDelimiter == null) {
+ if (__patternWithoutDelimiter == null) {
throw new RestClientResponseException("Missing the required parameter 'patternWithoutDelimiter' when calling testEndpointParameters", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter '_byte' is set
- if (_byte == null) {
+ if (___byte == null) {
throw new RestClientResponseException("Missing the required parameter '_byte' when calling testEndpointParameters", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -1041,34 +1041,34 @@ private ResponseSpec testEndpointParametersRequestCreation(@jakarta.annotation.N
final MultiValueMap 400 - Invalid request
* 404 - Not found
- * @param enumHeaderStringArray Header parameter enum test (string array)
- * @param enumHeaderString Header parameter enum test (string)
- * @param enumQueryStringArray Query parameter enum test (string array)
- * @param enumQueryString Query parameter enum test (string)
- * @param enumQueryInteger Query parameter enum test (double)
- * @param enumQueryDouble Query parameter enum test (double)
- * @param enumQueryModelArray The enumQueryModelArray parameter
- * @param enumFormStringArray Form parameter enum test (string array)
- * @param enumFormString Form parameter enum test (string)
- * @throws RestClientResponseException if an error occurs while attempting to invoke the API
- */
- private ResponseSpec testEnumParametersRequestCreation(@jakarta.annotation.Nullable List 400 - Something wrong
- * @param requiredStringGroup Required String in group parameters
- * @param requiredBooleanGroup Required Boolean in group parameters
- * @param requiredInt64Group Required Integer in group parameters
- * @param stringGroup String in group parameters
- * @param booleanGroup Boolean in group parameters
- * @param int64Group Integer in group parameters
+ * @param __requiredStringGroup Required String in group parameters
+ * @param __requiredBooleanGroup Required Boolean in group parameters
+ * @param __requiredInt64Group Required Integer in group parameters
+ * @param __stringGroup String in group parameters
+ * @param __booleanGroup Boolean in group parameters
+ * @param __int64Group Integer in group parameters
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testGroupParametersRequestCreation(@jakarta.annotation.Nonnull Integer requiredStringGroup, @jakarta.annotation.Nonnull Boolean requiredBooleanGroup, @jakarta.annotation.Nonnull Long requiredInt64Group, @jakarta.annotation.Nullable Integer stringGroup, @jakarta.annotation.Nullable Boolean booleanGroup, @jakarta.annotation.Nullable Long int64Group) throws RestClientResponseException {
+ private ResponseSpec testGroupParametersRequestCreation(@jakarta.annotation.Nonnull Integer __requiredStringGroup, @jakarta.annotation.Nonnull Boolean __requiredBooleanGroup, @jakarta.annotation.Nonnull Long __requiredInt64Group, @jakarta.annotation.Nullable Integer __stringGroup, @jakarta.annotation.Nullable Boolean __booleanGroup, @jakarta.annotation.Nullable Long __int64Group) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'requiredStringGroup' is set
- if (requiredStringGroup == null) {
+ if (__requiredStringGroup == null) {
throw new RestClientResponseException("Missing the required parameter 'requiredStringGroup' when calling testGroupParameters", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'requiredBooleanGroup' is set
- if (requiredBooleanGroup == null) {
+ if (__requiredBooleanGroup == null) {
throw new RestClientResponseException("Missing the required parameter 'requiredBooleanGroup' when calling testGroupParameters", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'requiredInt64Group' is set
- if (requiredInt64Group == null) {
+ if (__requiredInt64Group == null) {
throw new RestClientResponseException("Missing the required parameter 'requiredInt64Group' when calling testGroupParameters", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -1312,15 +1312,15 @@ private ResponseSpec testGroupParametersRequestCreation(@jakarta.annotation.Nonn
final MultiValueMap 200 - successful operation
- * @param requestBody request body
+ * @param __requestBody request body
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testInlineAdditionalPropertiesRequestCreation(@jakarta.annotation.Nonnull Map 200 - successful operation
- * @param testInlineFreeformAdditionalPropertiesRequest request body
+ * @param __testInlineFreeformAdditionalPropertiesRequest request body
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testInlineFreeformAdditionalPropertiesRequestCreation(@jakarta.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws RestClientResponseException {
- Object postBody = testInlineFreeformAdditionalPropertiesRequest;
+ private ResponseSpec testInlineFreeformAdditionalPropertiesRequestCreation(@jakarta.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest __testInlineFreeformAdditionalPropertiesRequest) throws RestClientResponseException {
+ Object postBody = __testInlineFreeformAdditionalPropertiesRequest;
// verify the required parameter 'testInlineFreeformAdditionalPropertiesRequest' is set
- if (testInlineFreeformAdditionalPropertiesRequest == null) {
+ if (__testInlineFreeformAdditionalPropertiesRequest == null) {
throw new RestClientResponseException("Missing the required parameter 'testInlineFreeformAdditionalPropertiesRequest' when calling testInlineFreeformAdditionalProperties", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -1527,18 +1527,18 @@ public ResponseSpec testInlineFreeformAdditionalPropertiesWithResponseSpec(@jaka
* test json serialization of form data
*
* 200 - successful operation
- * @param param field1
- * @param param2 field2
+ * @param __param field1
+ * @param __param2 field2
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testJsonFormDataRequestCreation(@jakarta.annotation.Nonnull String param, @jakarta.annotation.Nonnull String param2) throws RestClientResponseException {
+ private ResponseSpec testJsonFormDataRequestCreation(@jakarta.annotation.Nonnull String __param, @jakarta.annotation.Nonnull String __param2) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'param' is set
- if (param == null) {
+ if (__param == null) {
throw new RestClientResponseException("Missing the required parameter 'param' when calling testJsonFormData", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'param2' is set
- if (param2 == null) {
+ if (__param2 == null) {
throw new RestClientResponseException("Missing the required parameter 'param2' when calling testJsonFormData", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -1549,10 +1549,10 @@ private ResponseSpec testJsonFormDataRequestCreation(@jakarta.annotation.Nonnull
final MultiValueMap 200 - successful operation
- * @param childWithNullable request body
+ * @param __childWithNullable request body
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testNullableRequestCreation(@jakarta.annotation.Nonnull ChildWithNullable childWithNullable) throws RestClientResponseException {
- Object postBody = childWithNullable;
+ private ResponseSpec testNullableRequestCreation(@jakarta.annotation.Nonnull ChildWithNullable __childWithNullable) throws RestClientResponseException {
+ Object postBody = __childWithNullable;
// verify the required parameter 'childWithNullable' is set
- if (childWithNullable == null) {
+ if (__childWithNullable == null) {
throw new RestClientResponseException("Missing the required parameter 'childWithNullable' when calling testNullable", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -1680,39 +1680,39 @@ public ResponseSpec testNullableWithResponseSpec(@jakarta.annotation.Nonnull Chi
*
* To test the collection format in query parameters
* 200 - Success
- * @param pipe The pipe parameter
- * @param ioutil The ioutil parameter
- * @param http The http parameter
- * @param url The url parameter
- * @param context The context parameter
- * @param allowEmpty The allowEmpty parameter
- * @param language The language parameter
+ * @param __pipe The pipe parameter
+ * @param __ioutil The ioutil parameter
+ * @param __http The http parameter
+ * @param __url The url parameter
+ * @param __context The context parameter
+ * @param __allowEmpty The allowEmpty parameter
+ * @param __language The language parameter
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testQueryParameterCollectionFormatRequestCreation(@jakarta.annotation.Nonnull List 200 - successful operation
- * @param requestBody request body
+ * @param __requestBody request body
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testStringMapReferenceRequestCreation(@jakarta.annotation.Nonnull Map 200 - successful operation
- * @param client client model
+ * @param __client client model
* @return Client
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec testClassnameRequestCreation(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
- Object postBody = client;
+ private ResponseSpec testClassnameRequestCreation(@jakarta.annotation.Nonnull Client __client) throws RestClientResponseException {
+ Object postBody = __client;
// verify the required parameter 'client' is set
- if (client == null) {
+ if (__client == null) {
throw new RestClientResponseException("Missing the required parameter 'client' when calling testClassname", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
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 4b7ba2dc65da..eb3270245048 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
@@ -52,13 +52,13 @@ public void setApiClient(ApiClient apiClient) {
*
* 200 - Successful operation
* 405 - Invalid input
- * @param pet Pet object that needs to be added to the store
+ * @param __pet Pet object that needs to be added to the store
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec addPetRequestCreation(@jakarta.annotation.Nonnull Pet pet) throws RestClientResponseException {
- Object postBody = pet;
+ private ResponseSpec addPetRequestCreation(@jakarta.annotation.Nonnull Pet __pet) throws RestClientResponseException {
+ Object postBody = __pet;
// verify the required parameter 'pet' is set
- if (pet == null) {
+ if (__pet == null) {
throw new RestClientResponseException("Missing the required parameter 'pet' when calling addPet", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -126,28 +126,28 @@ public ResponseSpec addPetWithResponseSpec(@jakarta.annotation.Nonnull Pet pet)
*
* 200 - Successful operation
* 400 - Invalid pet value
- * @param petId Pet id to delete
- * @param apiKey The apiKey parameter
+ * @param __petId Pet id to delete
+ * @param __apiKey The apiKey parameter
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec deletePetRequestCreation(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String apiKey) throws RestClientResponseException {
+ private ResponseSpec deletePetRequestCreation(@jakarta.annotation.Nonnull Long __petId, @jakarta.annotation.Nullable String __apiKey) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
- if (petId == null) {
+ if (__petId == null) {
throw new RestClientResponseException("Missing the required parameter 'petId' when calling deletePet", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 200 - successful operation
* 400 - Invalid status value
- * @param status Status values that need to be considered for filter
+ * @param __status Status values that need to be considered for filter
* @return List<Pet>
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec findPetsByStatusRequestCreation(@jakarta.annotation.Nonnull List 200 - successful operation
* 400 - Invalid tag value
- * @param tags Tags to filter by
+ * @param __tags Tags to filter by
* @return Set<Pet>
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
- private ResponseSpec findPetsByTagsRequestCreation(@jakarta.annotation.Nonnull Set 200 - successful operation
* 400 - Invalid ID supplied
* 404 - Pet not found
- * @param petId ID of pet to return
+ * @param __petId ID of pet to return
* @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec getPetByIdRequestCreation(@jakarta.annotation.Nonnull Long petId) throws RestClientResponseException {
+ private ResponseSpec getPetByIdRequestCreation(@jakarta.annotation.Nonnull Long __petId) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
- if (petId == null) {
+ if (__petId == null) {
throw new RestClientResponseException("Missing the required parameter 'petId' when calling getPetById", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 400 - Invalid ID supplied
* 404 - Pet not found
* 405 - Validation exception
- * @param pet Pet object that needs to be added to the store
+ * @param __pet Pet object that needs to be added to the store
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec updatePetRequestCreation(@jakarta.annotation.Nonnull Pet pet) throws RestClientResponseException {
- Object postBody = pet;
+ private ResponseSpec updatePetRequestCreation(@jakarta.annotation.Nonnull Pet __pet) throws RestClientResponseException {
+ Object postBody = __pet;
// verify the required parameter 'pet' is set
- if (pet == null) {
+ if (__pet == null) {
throw new RestClientResponseException("Missing the required parameter 'pet' when calling updatePet", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -531,31 +531,31 @@ public ResponseSpec updatePetWithResponseSpec(@jakarta.annotation.Nonnull Pet pe
*
* 200 - Successful operation
* 405 - Invalid input
- * @param petId ID of pet that needs to be updated
- * @param name Updated name of the pet
- * @param status Updated status of the pet
+ * @param __petId ID of pet that needs to be updated
+ * @param __name Updated name of the pet
+ * @param __status Updated status of the pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec updatePetWithFormRequestCreation(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String name, @jakarta.annotation.Nullable String status) throws RestClientResponseException {
+ private ResponseSpec updatePetWithFormRequestCreation(@jakarta.annotation.Nonnull Long __petId, @jakarta.annotation.Nullable String __name, @jakarta.annotation.Nullable String __status) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
- if (petId == null) {
+ if (__petId == null) {
throw new RestClientResponseException("Missing the required parameter 'petId' when calling updatePetWithForm", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 200 - successful operation
- * @param petId ID of pet to update
- * @param additionalMetadata Additional data to pass to server
- * @param _file file to upload
+ * @param __petId ID of pet to update
+ * @param __additionalMetadata Additional data to pass to server
+ * @param ___file file to upload
* @return ModelApiResponse
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec uploadFileRequestCreation(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nullable String additionalMetadata, @jakarta.annotation.Nullable File _file) throws RestClientResponseException {
+ private ResponseSpec uploadFileRequestCreation(@jakarta.annotation.Nonnull Long __petId, @jakarta.annotation.Nullable String __additionalMetadata, @jakarta.annotation.Nullable File ___file) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
- if (petId == null) {
+ if (__petId == null) {
throw new RestClientResponseException("Missing the required parameter 'petId' when calling uploadFile", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 200 - successful operation
- * @param petId ID of pet to update
- * @param requiredFile file to upload
- * @param additionalMetadata Additional data to pass to server
+ * @param __petId ID of pet to update
+ * @param __requiredFile file to upload
+ * @param __additionalMetadata Additional data to pass to server
* @return ModelApiResponse
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec uploadFileWithRequiredFileRequestCreation(@jakarta.annotation.Nonnull Long petId, @jakarta.annotation.Nonnull File requiredFile, @jakarta.annotation.Nullable String additionalMetadata) throws RestClientResponseException {
+ private ResponseSpec uploadFileWithRequiredFileRequestCreation(@jakarta.annotation.Nonnull Long __petId, @jakarta.annotation.Nonnull File __requiredFile, @jakarta.annotation.Nullable String __additionalMetadata) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
- if (petId == null) {
+ if (__petId == null) {
throw new RestClientResponseException("Missing the required parameter 'petId' when calling uploadFileWithRequiredFile", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'requiredFile' is set
- if (requiredFile == null) {
+ if (__requiredFile == null) {
throw new RestClientResponseException("Missing the required parameter 'requiredFile' when calling uploadFileWithRequiredFile", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 400 - Invalid ID supplied
* 404 - Order not found
- * @param orderId ID of the order that needs to be deleted
+ * @param __orderId ID of the order that needs to be deleted
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec deleteOrderRequestCreation(@jakarta.annotation.Nonnull String orderId) throws RestClientResponseException {
+ private ResponseSpec deleteOrderRequestCreation(@jakarta.annotation.Nonnull String __orderId) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'orderId' is set
- if (orderId == null) {
+ if (__orderId == null) {
throw new RestClientResponseException("Missing the required parameter 'orderId' when calling deleteOrder", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 200 - successful operation
* 400 - Invalid ID supplied
* 404 - Order not found
- * @param orderId ID of pet that needs to be fetched
+ * @param __orderId ID of pet that needs to be fetched
* @return Order
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec getOrderByIdRequestCreation(@jakarta.annotation.Nonnull Long orderId) throws RestClientResponseException {
+ private ResponseSpec getOrderByIdRequestCreation(@jakarta.annotation.Nonnull Long __orderId) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'orderId' is set
- if (orderId == null) {
+ if (__orderId == null) {
throw new RestClientResponseException("Missing the required parameter 'orderId' when calling getOrderById", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 200 - successful operation
* 400 - Invalid Order
- * @param order order placed for purchasing the pet
+ * @param __order order placed for purchasing the pet
* @return Order
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec placeOrderRequestCreation(@jakarta.annotation.Nonnull Order order) throws RestClientResponseException {
- Object postBody = order;
+ private ResponseSpec placeOrderRequestCreation(@jakarta.annotation.Nonnull Order __order) throws RestClientResponseException {
+ Object postBody = __order;
// verify the required parameter 'order' is set
- if (order == null) {
+ if (__order == null) {
throw new RestClientResponseException("Missing the required parameter 'order' when calling placeOrder", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
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 3d6709a91321..a871b6154be4 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
@@ -49,13 +49,13 @@ public void setApiClient(ApiClient apiClient) {
* Create user
* This can only be done by the logged in user.
* 0 - successful operation
- * @param user Created user object
+ * @param __user Created user object
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec createUserRequestCreation(@jakarta.annotation.Nonnull User user) throws RestClientResponseException {
- Object postBody = user;
+ private ResponseSpec createUserRequestCreation(@jakarta.annotation.Nonnull User __user) throws RestClientResponseException {
+ Object postBody = __user;
// verify the required parameter 'user' is set
- if (user == null) {
+ if (__user == null) {
throw new RestClientResponseException("Missing the required parameter 'user' when calling createUser", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -119,13 +119,13 @@ public ResponseSpec createUserWithResponseSpec(@jakarta.annotation.Nonnull User
* Creates list of users with given input array
*
* 0 - successful operation
- * @param user List of user object
+ * @param __user List of user object
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec createUsersWithArrayInputRequestCreation(@jakarta.annotation.Nonnull List 0 - successful operation
- * @param user List of user object
+ * @param __user List of user object
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec createUsersWithListInputRequestCreation(@jakarta.annotation.Nonnull List 400 - Invalid username supplied
* 404 - User not found
- * @param username The name that needs to be deleted
+ * @param __username The name that needs to be deleted
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec deleteUserRequestCreation(@jakarta.annotation.Nonnull String username) throws RestClientResponseException {
+ private ResponseSpec deleteUserRequestCreation(@jakarta.annotation.Nonnull String __username) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'username' is set
- if (username == null) {
+ if (__username == null) {
throw new RestClientResponseException("Missing the required parameter 'username' when calling deleteUser", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 200 - successful operation
* 400 - Invalid username supplied
* 404 - User not found
- * @param username The name that needs to be fetched. Use user1 for testing.
+ * @param __username The name that needs to be fetched. Use user1 for testing.
* @return User
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec getUserByNameRequestCreation(@jakarta.annotation.Nonnull String username) throws RestClientResponseException {
+ private ResponseSpec getUserByNameRequestCreation(@jakarta.annotation.Nonnull String __username) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'username' is set
- if (username == null) {
+ if (__username == null) {
throw new RestClientResponseException("Missing the required parameter 'username' when calling getUserByName", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 200 - successful operation
* 400 - Invalid username/password supplied
- * @param username The user name for login
- * @param password The password for login in clear text
+ * @param __username The user name for login
+ * @param __password The password for login in clear text
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec loginUserRequestCreation(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull String password) throws RestClientResponseException {
+ private ResponseSpec loginUserRequestCreation(@jakarta.annotation.Nonnull String __username, @jakarta.annotation.Nonnull String __password) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'username' is set
- if (username == null) {
+ if (__username == null) {
throw new RestClientResponseException("Missing the required parameter 'username' when calling loginUser", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'password' is set
- if (password == null) {
+ if (__password == null) {
throw new RestClientResponseException("Missing the required parameter 'password' when calling loginUser", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -440,8 +440,8 @@ private ResponseSpec loginUserRequestCreation(@jakarta.annotation.Nonnull String
final MultiValueMap 400 - Invalid user supplied
* 404 - User not found
- * @param username name that need to be deleted
- * @param user Updated user object
+ * @param __username name that need to be deleted
+ * @param __user Updated user object
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec updateUserRequestCreation(@jakarta.annotation.Nonnull String username, @jakarta.annotation.Nonnull User user) throws RestClientResponseException {
- Object postBody = user;
+ private ResponseSpec updateUserRequestCreation(@jakarta.annotation.Nonnull String __username, @jakarta.annotation.Nonnull User __user) throws RestClientResponseException {
+ Object postBody = __user;
// verify the required parameter 'username' is set
- if (username == null) {
+ if (__username == null) {
throw new RestClientResponseException("Missing the required parameter 'username' when calling updateUser", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// verify the required parameter 'user' is set
- if (user == null) {
+ if (__user == null) {
throw new RestClientResponseException("Missing the required parameter 'user' when calling updateUser", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
final Map 200 - successful operation
- * @param client client model
+ * @param __client client model
* @return Client
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec call123testSpecialTagsRequestCreation(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
- Object postBody = client;
+ private ResponseSpec call123testSpecialTagsRequestCreation(@jakarta.annotation.Nonnull Client __client) throws RestClientResponseException {
+ Object postBody = __client;
// verify the required parameter 'client' is set
- if (client == null) {
+ if (__client == null) {
throw new RestClientResponseException("Missing the required parameter 'client' when calling call123testSpecialTags", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
diff --git a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/FakeApi.java b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/FakeApi.java
index 8bfb9fd0778e..8a5f4076a08b 100644
--- a/samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/FakeApi.java
+++ b/samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/FakeApi.java
@@ -283,15 +283,15 @@ public ResponseSpec fakeHttpSignatureTestWithResponseSpec(FakeHttpSignatureTestR
* test http signature authentication
*
* 200 - The instance started successfully
- * @param pet Pet object that needs to be added to the store
- * @param query1 query parameter
- * @param header1 header parameter
+ * @param __pet Pet object that needs to be added to the store
+ * @param __query1 query parameter
+ * @param __header1 header parameter
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeHttpSignatureTestRequestCreation(@jakarta.annotation.Nonnull Pet pet, @jakarta.annotation.Nullable String query1, @jakarta.annotation.Nullable String header1) throws RestClientResponseException {
- Object postBody = pet;
+ private ResponseSpec fakeHttpSignatureTestRequestCreation(@jakarta.annotation.Nonnull Pet __pet, @jakarta.annotation.Nullable String __query1, @jakarta.annotation.Nullable String __header1) throws RestClientResponseException {
+ Object postBody = __pet;
// verify the required parameter 'pet' is set
- if (pet == null) {
+ if (__pet == null) {
throw new RestClientResponseException("Missing the required parameter 'pet' when calling fakeHttpSignatureTest", HttpStatus.BAD_REQUEST.value(), HttpStatus.BAD_REQUEST.getReasonPhrase(), null, null, null);
}
// create path and map variables
@@ -302,10 +302,10 @@ private ResponseSpec fakeHttpSignatureTestRequestCreation(@jakarta.annotation.No
final MultiValueMap 200 - Output boolean
- * @param body Input boolean as post body
+ * @param __body Input boolean as post body
* @return Boolean
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeOuterBooleanSerializeRequestCreation(@jakarta.annotation.Nullable Boolean body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec fakeOuterBooleanSerializeRequestCreation(@jakarta.annotation.Nullable Boolean __body) throws RestClientResponseException {
+ Object postBody = __body;
// create path and map variables
final Map 200 - Output composite
- * @param outerComposite Input composite as post body
+ * @param __outerComposite Input composite as post body
* @return OuterComposite
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeOuterCompositeSerializeRequestCreation(@jakarta.annotation.Nullable OuterComposite outerComposite) throws RestClientResponseException {
- Object postBody = outerComposite;
+ private ResponseSpec fakeOuterCompositeSerializeRequestCreation(@jakarta.annotation.Nullable OuterComposite __outerComposite) throws RestClientResponseException {
+ Object postBody = __outerComposite;
// create path and map variables
final Map 200 - Output number
- * @param body Input number as post body
+ * @param __body Input number as post body
* @return BigDecimal
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeOuterNumberSerializeRequestCreation(@jakarta.annotation.Nullable BigDecimal body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec fakeOuterNumberSerializeRequestCreation(@jakarta.annotation.Nullable BigDecimal __body) throws RestClientResponseException {
+ Object postBody = __body;
// create path and map variables
final Map 200 - Output string
- * @param body Input string as post body
+ * @param __body Input string as post body
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
- private ResponseSpec fakeOuterStringSerializeRequestCreation(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
- Object postBody = body;
+ private ResponseSpec fakeOuterStringSerializeRequestCreation(@jakarta.annotation.Nullable String __body) throws RestClientResponseException {
+ Object postBody = __body;
// create path and map variables
final Map