Issue 20804: Add java nullability annotations (#20806)

* issue-20804: Add nullability annotations to Java generated clients

Motivation:
Be able to use generated clients in code checked by tools like NullAway.

* issue-20804: Add nullability annotations to Java generated clients

Motivation:
Be able to use generated clients in code checked by tools like NullAway.

* issue-20804: Add nullability annotations to Java generated clients

Motivation:
Be able to use generated clients in code checked by tools like NullAway.
This commit is contained in:
Nicolas Vervelle
2025-03-25 16:01:17 +01:00
committed by GitHub
parent d81b5a37d1
commit 8ca3543436
228 changed files with 4520 additions and 4421 deletions

View File

@@ -119,7 +119,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testBodyApplicationOctetstreamBinaryRequestCreation(File body) throws RestClientResponseException {
private ResponseSpec testBodyApplicationOctetstreamBinaryRequestCreation(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
Object postBody = body;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -152,7 +152,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testBodyApplicationOctetstreamBinary(File body) throws RestClientResponseException {
public String testBodyApplicationOctetstreamBinary(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyApplicationOctetstreamBinaryRequestCreation(body).body(localVarReturnType);
}
@@ -165,7 +165,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(File body) throws RestClientResponseException {
public ResponseEntity<String> testBodyApplicationOctetstreamBinaryWithHttpInfo(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyApplicationOctetstreamBinaryRequestCreation(body).toEntity(localVarReturnType);
}
@@ -178,7 +178,7 @@ public class BodyApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testBodyApplicationOctetstreamBinaryWithResponseSpec(File body) throws RestClientResponseException {
public ResponseSpec testBodyApplicationOctetstreamBinaryWithResponseSpec(@jakarta.annotation.Nullable File body) throws RestClientResponseException {
return testBodyApplicationOctetstreamBinaryRequestCreation(body);
}
/**
@@ -189,7 +189,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testBodyMultipartFormdataArrayOfBinaryRequestCreation(List<File> files) throws RestClientResponseException {
private ResponseSpec testBodyMultipartFormdataArrayOfBinaryRequestCreation(@jakarta.annotation.Nonnull List<File> files) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'files' is set
if (files == null) {
@@ -229,7 +229,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testBodyMultipartFormdataArrayOfBinary(List<File> files) throws RestClientResponseException {
public String testBodyMultipartFormdataArrayOfBinary(@jakarta.annotation.Nonnull List<File> files) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyMultipartFormdataArrayOfBinaryRequestCreation(files).body(localVarReturnType);
}
@@ -242,7 +242,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(List<File> files) throws RestClientResponseException {
public ResponseEntity<String> testBodyMultipartFormdataArrayOfBinaryWithHttpInfo(@jakarta.annotation.Nonnull List<File> files) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyMultipartFormdataArrayOfBinaryRequestCreation(files).toEntity(localVarReturnType);
}
@@ -255,7 +255,7 @@ public class BodyApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testBodyMultipartFormdataArrayOfBinaryWithResponseSpec(List<File> files) throws RestClientResponseException {
public ResponseSpec testBodyMultipartFormdataArrayOfBinaryWithResponseSpec(@jakarta.annotation.Nonnull List<File> files) throws RestClientResponseException {
return testBodyMultipartFormdataArrayOfBinaryRequestCreation(files);
}
/**
@@ -266,7 +266,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testBodyMultipartFormdataSingleBinaryRequestCreation(File myFile) throws RestClientResponseException {
private ResponseSpec testBodyMultipartFormdataSingleBinaryRequestCreation(@jakarta.annotation.Nullable File myFile) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -302,7 +302,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testBodyMultipartFormdataSingleBinary(File myFile) throws RestClientResponseException {
public String testBodyMultipartFormdataSingleBinary(@jakarta.annotation.Nullable File myFile) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyMultipartFormdataSingleBinaryRequestCreation(myFile).body(localVarReturnType);
}
@@ -315,7 +315,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(File myFile) throws RestClientResponseException {
public ResponseEntity<String> testBodyMultipartFormdataSingleBinaryWithHttpInfo(@jakarta.annotation.Nullable File myFile) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testBodyMultipartFormdataSingleBinaryRequestCreation(myFile).toEntity(localVarReturnType);
}
@@ -328,7 +328,7 @@ public class BodyApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testBodyMultipartFormdataSingleBinaryWithResponseSpec(File myFile) throws RestClientResponseException {
public ResponseSpec testBodyMultipartFormdataSingleBinaryWithResponseSpec(@jakarta.annotation.Nullable File myFile) throws RestClientResponseException {
return testBodyMultipartFormdataSingleBinaryRequestCreation(myFile);
}
/**
@@ -339,7 +339,7 @@ public class BodyApi {
* @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testEchoBodyAllOfPetRequestCreation(Pet pet) throws RestClientResponseException {
private ResponseSpec testEchoBodyAllOfPetRequestCreation(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
Object postBody = pet;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -372,7 +372,7 @@ public class BodyApi {
* @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public Pet testEchoBodyAllOfPet(Pet pet) throws RestClientResponseException {
public Pet testEchoBodyAllOfPet(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyAllOfPetRequestCreation(pet).body(localVarReturnType);
}
@@ -385,7 +385,7 @@ public class BodyApi {
* @return ResponseEntity&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<Pet> testEchoBodyAllOfPetWithHttpInfo(Pet pet) throws RestClientResponseException {
public ResponseEntity<Pet> testEchoBodyAllOfPetWithHttpInfo(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyAllOfPetRequestCreation(pet).toEntity(localVarReturnType);
}
@@ -398,7 +398,7 @@ public class BodyApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testEchoBodyAllOfPetWithResponseSpec(Pet pet) throws RestClientResponseException {
public ResponseSpec testEchoBodyAllOfPetWithResponseSpec(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
return testEchoBodyAllOfPetRequestCreation(pet);
}
/**
@@ -409,7 +409,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testEchoBodyFreeFormObjectResponseStringRequestCreation(Object body) throws RestClientResponseException {
private ResponseSpec testEchoBodyFreeFormObjectResponseStringRequestCreation(@jakarta.annotation.Nullable Object body) throws RestClientResponseException {
Object postBody = body;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -442,7 +442,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testEchoBodyFreeFormObjectResponseString(Object body) throws RestClientResponseException {
public String testEchoBodyFreeFormObjectResponseString(@jakarta.annotation.Nullable Object body) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyFreeFormObjectResponseStringRequestCreation(body).body(localVarReturnType);
}
@@ -455,7 +455,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(Object body) throws RestClientResponseException {
public ResponseEntity<String> testEchoBodyFreeFormObjectResponseStringWithHttpInfo(@jakarta.annotation.Nullable Object body) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyFreeFormObjectResponseStringRequestCreation(body).toEntity(localVarReturnType);
}
@@ -468,7 +468,7 @@ public class BodyApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testEchoBodyFreeFormObjectResponseStringWithResponseSpec(Object body) throws RestClientResponseException {
public ResponseSpec testEchoBodyFreeFormObjectResponseStringWithResponseSpec(@jakarta.annotation.Nullable Object body) throws RestClientResponseException {
return testEchoBodyFreeFormObjectResponseStringRequestCreation(body);
}
/**
@@ -479,7 +479,7 @@ public class BodyApi {
* @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testEchoBodyPetRequestCreation(Pet pet) throws RestClientResponseException {
private ResponseSpec testEchoBodyPetRequestCreation(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
Object postBody = pet;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -512,7 +512,7 @@ public class BodyApi {
* @return Pet
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public Pet testEchoBodyPet(Pet pet) throws RestClientResponseException {
public Pet testEchoBodyPet(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyPetRequestCreation(pet).body(localVarReturnType);
}
@@ -525,7 +525,7 @@ public class BodyApi {
* @return ResponseEntity&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<Pet> testEchoBodyPetWithHttpInfo(Pet pet) throws RestClientResponseException {
public ResponseEntity<Pet> testEchoBodyPetWithHttpInfo(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyPetRequestCreation(pet).toEntity(localVarReturnType);
}
@@ -538,7 +538,7 @@ public class BodyApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testEchoBodyPetWithResponseSpec(Pet pet) throws RestClientResponseException {
public ResponseSpec testEchoBodyPetWithResponseSpec(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
return testEchoBodyPetRequestCreation(pet);
}
/**
@@ -549,7 +549,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testEchoBodyPetResponseStringRequestCreation(Pet pet) throws RestClientResponseException {
private ResponseSpec testEchoBodyPetResponseStringRequestCreation(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
Object postBody = pet;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -582,7 +582,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testEchoBodyPetResponseString(Pet pet) throws RestClientResponseException {
public String testEchoBodyPetResponseString(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyPetResponseStringRequestCreation(pet).body(localVarReturnType);
}
@@ -595,7 +595,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testEchoBodyPetResponseStringWithHttpInfo(Pet pet) throws RestClientResponseException {
public ResponseEntity<String> testEchoBodyPetResponseStringWithHttpInfo(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyPetResponseStringRequestCreation(pet).toEntity(localVarReturnType);
}
@@ -608,7 +608,7 @@ public class BodyApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testEchoBodyPetResponseStringWithResponseSpec(Pet pet) throws RestClientResponseException {
public ResponseSpec testEchoBodyPetResponseStringWithResponseSpec(@jakarta.annotation.Nullable Pet pet) throws RestClientResponseException {
return testEchoBodyPetResponseStringRequestCreation(pet);
}
/**
@@ -619,7 +619,7 @@ public class BodyApi {
* @return StringEnumRef
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testEchoBodyStringEnumRequestCreation(String body) throws RestClientResponseException {
private ResponseSpec testEchoBodyStringEnumRequestCreation(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
Object postBody = body;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -652,7 +652,7 @@ public class BodyApi {
* @return StringEnumRef
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public StringEnumRef testEchoBodyStringEnum(String body) throws RestClientResponseException {
public StringEnumRef testEchoBodyStringEnum(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
ParameterizedTypeReference<StringEnumRef> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyStringEnumRequestCreation(body).body(localVarReturnType);
}
@@ -665,7 +665,7 @@ public class BodyApi {
* @return ResponseEntity&lt;StringEnumRef&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(String body) throws RestClientResponseException {
public ResponseEntity<StringEnumRef> testEchoBodyStringEnumWithHttpInfo(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
ParameterizedTypeReference<StringEnumRef> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyStringEnumRequestCreation(body).toEntity(localVarReturnType);
}
@@ -678,7 +678,7 @@ public class BodyApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testEchoBodyStringEnumWithResponseSpec(String body) throws RestClientResponseException {
public ResponseSpec testEchoBodyStringEnumWithResponseSpec(@jakarta.annotation.Nullable String body) throws RestClientResponseException {
return testEchoBodyStringEnumRequestCreation(body);
}
/**
@@ -689,7 +689,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testEchoBodyTagResponseStringRequestCreation(Tag tag) throws RestClientResponseException {
private ResponseSpec testEchoBodyTagResponseStringRequestCreation(@jakarta.annotation.Nullable Tag tag) throws RestClientResponseException {
Object postBody = tag;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -722,7 +722,7 @@ public class BodyApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testEchoBodyTagResponseString(Tag tag) throws RestClientResponseException {
public String testEchoBodyTagResponseString(@jakarta.annotation.Nullable Tag tag) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyTagResponseStringRequestCreation(tag).body(localVarReturnType);
}
@@ -735,7 +735,7 @@ public class BodyApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testEchoBodyTagResponseStringWithHttpInfo(Tag tag) throws RestClientResponseException {
public ResponseEntity<String> testEchoBodyTagResponseStringWithHttpInfo(@jakarta.annotation.Nullable Tag tag) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEchoBodyTagResponseStringRequestCreation(tag).toEntity(localVarReturnType);
}
@@ -748,7 +748,7 @@ public class BodyApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testEchoBodyTagResponseStringWithResponseSpec(Tag tag) throws RestClientResponseException {
public ResponseSpec testEchoBodyTagResponseStringWithResponseSpec(@jakarta.annotation.Nullable Tag tag) throws RestClientResponseException {
return testEchoBodyTagResponseStringRequestCreation(tag);
}
}

View File

@@ -54,7 +54,7 @@ public class FormApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testFormIntegerBooleanStringRequestCreation(Integer integerForm, Boolean booleanForm, 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<String, Object> pathParams = new HashMap<>();
@@ -96,7 +96,7 @@ public class FormApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testFormIntegerBooleanString(Integer integerForm, Boolean booleanForm, String stringForm) throws RestClientResponseException {
public String testFormIntegerBooleanString(@jakarta.annotation.Nullable Integer integerForm, @jakarta.annotation.Nullable Boolean booleanForm, @jakarta.annotation.Nullable String stringForm) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormIntegerBooleanStringRequestCreation(integerForm, booleanForm, stringForm).body(localVarReturnType);
}
@@ -111,7 +111,7 @@ public class FormApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testFormIntegerBooleanStringWithHttpInfo(Integer integerForm, Boolean booleanForm, String stringForm) throws RestClientResponseException {
public ResponseEntity<String> testFormIntegerBooleanStringWithHttpInfo(@jakarta.annotation.Nullable Integer integerForm, @jakarta.annotation.Nullable Boolean booleanForm, @jakarta.annotation.Nullable String stringForm) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormIntegerBooleanStringRequestCreation(integerForm, booleanForm, stringForm).toEntity(localVarReturnType);
}
@@ -126,7 +126,7 @@ public class FormApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testFormIntegerBooleanStringWithResponseSpec(Integer integerForm, Boolean booleanForm, String stringForm) throws RestClientResponseException {
public ResponseSpec testFormIntegerBooleanStringWithResponseSpec(@jakarta.annotation.Nullable Integer integerForm, @jakarta.annotation.Nullable Boolean booleanForm, @jakarta.annotation.Nullable String stringForm) throws RestClientResponseException {
return testFormIntegerBooleanStringRequestCreation(integerForm, booleanForm, stringForm);
}
/**
@@ -137,7 +137,7 @@ public class FormApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testFormObjectMultipartRequestCreation(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) {
@@ -177,7 +177,7 @@ public class FormApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testFormObjectMultipart(TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
public String testFormObjectMultipart(@jakarta.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormObjectMultipartRequestCreation(marker).body(localVarReturnType);
}
@@ -190,7 +190,7 @@ public class FormApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testFormObjectMultipartWithHttpInfo(TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
public ResponseEntity<String> testFormObjectMultipartWithHttpInfo(@jakarta.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormObjectMultipartRequestCreation(marker).toEntity(localVarReturnType);
}
@@ -203,7 +203,7 @@ public class FormApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testFormObjectMultipartWithResponseSpec(TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
public ResponseSpec testFormObjectMultipartWithResponseSpec(@jakarta.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws RestClientResponseException {
return testFormObjectMultipartRequestCreation(marker);
}
/**
@@ -219,7 +219,7 @@ public class FormApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testFormOneofRequestCreation(String form1, Integer form2, String form3, Boolean form4, Long id, 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<String, Object> pathParams = new HashMap<>();
@@ -270,7 +270,7 @@ public class FormApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testFormOneof(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws RestClientResponseException {
public String testFormOneof(@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 {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormOneofRequestCreation(form1, form2, form3, form4, id, name).body(localVarReturnType);
}
@@ -288,7 +288,7 @@ public class FormApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testFormOneofWithHttpInfo(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws RestClientResponseException {
public ResponseEntity<String> testFormOneofWithHttpInfo(@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 {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testFormOneofRequestCreation(form1, form2, form3, form4, id, name).toEntity(localVarReturnType);
}
@@ -306,7 +306,7 @@ public class FormApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testFormOneofWithResponseSpec(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws RestClientResponseException {
public ResponseSpec testFormOneofWithResponseSpec(@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 {
return testFormOneofRequestCreation(form1, form2, form3, form4, id, name);
}
}

View File

@@ -56,7 +56,7 @@ public class HeaderApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testHeaderIntegerBooleanStringEnumsRequestCreation(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, 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<String, Object> pathParams = new HashMap<>();
@@ -102,7 +102,7 @@ public class HeaderApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testHeaderIntegerBooleanStringEnums(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws RestClientResponseException {
public String testHeaderIntegerBooleanStringEnums(@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 {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testHeaderIntegerBooleanStringEnumsRequestCreation(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader).body(localVarReturnType);
}
@@ -119,7 +119,7 @@ public class HeaderApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws RestClientResponseException {
public ResponseEntity<String> testHeaderIntegerBooleanStringEnumsWithHttpInfo(@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 {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testHeaderIntegerBooleanStringEnumsRequestCreation(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader).toEntity(localVarReturnType);
}
@@ -136,7 +136,7 @@ public class HeaderApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testHeaderIntegerBooleanStringEnumsWithResponseSpec(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws RestClientResponseException {
public ResponseSpec testHeaderIntegerBooleanStringEnumsWithResponseSpec(@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 {
return testHeaderIntegerBooleanStringEnumsRequestCreation(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader);
}
}

View File

@@ -55,7 +55,7 @@ public class PathApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(String pathString, Integer pathInteger, String enumNonrefStringPath, 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) {
@@ -110,7 +110,7 @@ public class PathApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientResponseException {
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@jakarta.annotation.Nonnull String pathString, @jakarta.annotation.Nonnull Integer pathInteger, @jakarta.annotation.Nonnull String enumNonrefStringPath, @jakarta.annotation.Nonnull StringEnumRef enumRefStringPath) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).body(localVarReturnType);
}
@@ -126,7 +126,7 @@ public class PathApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientResponseException {
public ResponseEntity<String> testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithHttpInfo(@jakarta.annotation.Nonnull String pathString, @jakarta.annotation.Nonnull Integer pathInteger, @jakarta.annotation.Nonnull String enumNonrefStringPath, @jakarta.annotation.Nonnull StringEnumRef enumRefStringPath) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath).toEntity(localVarReturnType);
}
@@ -142,7 +142,7 @@ public class PathApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithResponseSpec(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws RestClientResponseException {
public ResponseSpec testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathWithResponseSpec(@jakarta.annotation.Nonnull String pathString, @jakarta.annotation.Nonnull Integer pathInteger, @jakarta.annotation.Nonnull String enumNonrefStringPath, @jakarta.annotation.Nonnull StringEnumRef enumRefStringPath) throws RestClientResponseException {
return testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPathRequestCreation(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath);
}
}

View File

@@ -59,7 +59,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testEnumRefStringRequestCreation(String enumNonrefStringQuery, 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<String, Object> pathParams = new HashMap<>();
@@ -94,7 +94,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testEnumRefString(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws RestClientResponseException {
public String testEnumRefString(@jakarta.annotation.Nullable String enumNonrefStringQuery, @jakarta.annotation.Nullable StringEnumRef enumRefStringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEnumRefStringRequestCreation(enumNonrefStringQuery, enumRefStringQuery).body(localVarReturnType);
}
@@ -108,7 +108,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testEnumRefStringWithHttpInfo(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws RestClientResponseException {
public ResponseEntity<String> testEnumRefStringWithHttpInfo(@jakarta.annotation.Nullable String enumNonrefStringQuery, @jakarta.annotation.Nullable StringEnumRef enumRefStringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testEnumRefStringRequestCreation(enumNonrefStringQuery, enumRefStringQuery).toEntity(localVarReturnType);
}
@@ -122,7 +122,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testEnumRefStringWithResponseSpec(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws RestClientResponseException {
public ResponseSpec testEnumRefStringWithResponseSpec(@jakarta.annotation.Nullable String enumNonrefStringQuery, @jakarta.annotation.Nullable StringEnumRef enumRefStringQuery) throws RestClientResponseException {
return testEnumRefStringRequestCreation(enumNonrefStringQuery, enumRefStringQuery);
}
/**
@@ -135,7 +135,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryDatetimeDateStringRequestCreation(Instant datetimeQuery, LocalDate dateQuery, 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<String, Object> pathParams = new HashMap<>();
@@ -172,7 +172,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testQueryDatetimeDateString(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws RestClientResponseException {
public String testQueryDatetimeDateString(@jakarta.annotation.Nullable Instant datetimeQuery, @jakarta.annotation.Nullable LocalDate dateQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryDatetimeDateStringRequestCreation(datetimeQuery, dateQuery, stringQuery).body(localVarReturnType);
}
@@ -187,7 +187,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testQueryDatetimeDateStringWithHttpInfo(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws RestClientResponseException {
public ResponseEntity<String> testQueryDatetimeDateStringWithHttpInfo(@jakarta.annotation.Nullable Instant datetimeQuery, @jakarta.annotation.Nullable LocalDate dateQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryDatetimeDateStringRequestCreation(datetimeQuery, dateQuery, stringQuery).toEntity(localVarReturnType);
}
@@ -202,7 +202,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryDatetimeDateStringWithResponseSpec(Instant datetimeQuery, LocalDate dateQuery, String stringQuery) throws RestClientResponseException {
public ResponseSpec testQueryDatetimeDateStringWithResponseSpec(@jakarta.annotation.Nullable Instant datetimeQuery, @jakarta.annotation.Nullable LocalDate dateQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
return testQueryDatetimeDateStringRequestCreation(datetimeQuery, dateQuery, stringQuery);
}
/**
@@ -215,7 +215,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryIntegerBooleanStringRequestCreation(Integer integerQuery, Boolean booleanQuery, 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<String, Object> pathParams = new HashMap<>();
@@ -252,7 +252,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testQueryIntegerBooleanString(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws RestClientResponseException {
public String testQueryIntegerBooleanString(@jakarta.annotation.Nullable Integer integerQuery, @jakarta.annotation.Nullable Boolean booleanQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryIntegerBooleanStringRequestCreation(integerQuery, booleanQuery, stringQuery).body(localVarReturnType);
}
@@ -267,7 +267,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testQueryIntegerBooleanStringWithHttpInfo(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws RestClientResponseException {
public ResponseEntity<String> testQueryIntegerBooleanStringWithHttpInfo(@jakarta.annotation.Nullable Integer integerQuery, @jakarta.annotation.Nullable Boolean booleanQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryIntegerBooleanStringRequestCreation(integerQuery, booleanQuery, stringQuery).toEntity(localVarReturnType);
}
@@ -282,7 +282,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryIntegerBooleanStringWithResponseSpec(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws RestClientResponseException {
public ResponseSpec testQueryIntegerBooleanStringWithResponseSpec(@jakarta.annotation.Nullable Integer integerQuery, @jakarta.annotation.Nullable Boolean booleanQuery, @jakarta.annotation.Nullable String stringQuery) throws RestClientResponseException {
return testQueryIntegerBooleanStringRequestCreation(integerQuery, booleanQuery, stringQuery);
}
/**
@@ -293,7 +293,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(Pet queryObject) throws RestClientResponseException {
private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -331,7 +331,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testQueryStyleDeepObjectExplodeTrueObject(Pet queryObject) throws RestClientResponseException {
public String testQueryStyleDeepObjectExplodeTrueObject(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(queryObject).body(localVarReturnType);
}
@@ -344,7 +344,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(Pet queryObject) throws RestClientResponseException {
public ResponseEntity<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(queryObject).toEntity(localVarReturnType);
}
@@ -357,7 +357,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectWithResponseSpec(Pet queryObject) throws RestClientResponseException {
public ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectWithResponseSpec(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
return testQueryStyleDeepObjectExplodeTrueObjectRequestCreation(queryObject);
}
/**
@@ -368,7 +368,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
private ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -401,7 +401,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(queryObject).body(localVarReturnType);
}
@@ -414,7 +414,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
public ResponseEntity<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(queryObject).toEntity(localVarReturnType);
}
@@ -427,7 +427,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfWithResponseSpec(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
public ResponseSpec testQueryStyleDeepObjectExplodeTrueObjectAllOfWithResponseSpec(@jakarta.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws RestClientResponseException {
return testQueryStyleDeepObjectExplodeTrueObjectAllOfRequestCreation(queryObject);
}
/**
@@ -438,7 +438,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(List<Integer> queryObject) throws RestClientResponseException {
private ResponseSpec testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(@jakarta.annotation.Nullable List<Integer> queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -471,7 +471,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testQueryStyleFormExplodeFalseArrayInteger(List<Integer> queryObject) throws RestClientResponseException {
public String testQueryStyleFormExplodeFalseArrayInteger(@jakarta.annotation.Nullable List<Integer> queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(queryObject).body(localVarReturnType);
}
@@ -484,7 +484,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(List<Integer> queryObject) throws RestClientResponseException {
public ResponseEntity<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(@jakarta.annotation.Nullable List<Integer> queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(queryObject).toEntity(localVarReturnType);
}
@@ -497,7 +497,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryStyleFormExplodeFalseArrayIntegerWithResponseSpec(List<Integer> queryObject) throws RestClientResponseException {
public ResponseSpec testQueryStyleFormExplodeFalseArrayIntegerWithResponseSpec(@jakarta.annotation.Nullable List<Integer> queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeFalseArrayIntegerRequestCreation(queryObject);
}
/**
@@ -508,7 +508,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryStyleFormExplodeFalseArrayStringRequestCreation(List<String> queryObject) throws RestClientResponseException {
private ResponseSpec testQueryStyleFormExplodeFalseArrayStringRequestCreation(@jakarta.annotation.Nullable List<String> queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -541,7 +541,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testQueryStyleFormExplodeFalseArrayString(List<String> queryObject) throws RestClientResponseException {
public String testQueryStyleFormExplodeFalseArrayString(@jakarta.annotation.Nullable List<String> queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeFalseArrayStringRequestCreation(queryObject).body(localVarReturnType);
}
@@ -554,7 +554,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(List<String> queryObject) throws RestClientResponseException {
public ResponseEntity<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(@jakarta.annotation.Nullable List<String> queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeFalseArrayStringRequestCreation(queryObject).toEntity(localVarReturnType);
}
@@ -567,7 +567,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryStyleFormExplodeFalseArrayStringWithResponseSpec(List<String> queryObject) throws RestClientResponseException {
public ResponseSpec testQueryStyleFormExplodeFalseArrayStringWithResponseSpec(@jakarta.annotation.Nullable List<String> queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeFalseArrayStringRequestCreation(queryObject);
}
/**
@@ -578,7 +578,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryStyleFormExplodeTrueArrayStringRequestCreation(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
private ResponseSpec testQueryStyleFormExplodeTrueArrayStringRequestCreation(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -611,7 +611,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testQueryStyleFormExplodeTrueArrayString(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
public String testQueryStyleFormExplodeTrueArrayString(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueArrayStringRequestCreation(queryObject).body(localVarReturnType);
}
@@ -624,7 +624,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
public ResponseEntity<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueArrayStringRequestCreation(queryObject).toEntity(localVarReturnType);
}
@@ -637,7 +637,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryStyleFormExplodeTrueArrayStringWithResponseSpec(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
public ResponseSpec testQueryStyleFormExplodeTrueArrayStringWithResponseSpec(@jakarta.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeTrueArrayStringRequestCreation(queryObject);
}
/**
@@ -648,7 +648,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryStyleFormExplodeTrueObjectRequestCreation(Pet queryObject) throws RestClientResponseException {
private ResponseSpec testQueryStyleFormExplodeTrueObjectRequestCreation(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -686,7 +686,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testQueryStyleFormExplodeTrueObject(Pet queryObject) throws RestClientResponseException {
public String testQueryStyleFormExplodeTrueObject(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueObjectRequestCreation(queryObject).body(localVarReturnType);
}
@@ -699,7 +699,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(Pet queryObject) throws RestClientResponseException {
public ResponseEntity<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueObjectRequestCreation(queryObject).toEntity(localVarReturnType);
}
@@ -712,7 +712,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryStyleFormExplodeTrueObjectWithResponseSpec(Pet queryObject) throws RestClientResponseException {
public ResponseSpec testQueryStyleFormExplodeTrueObjectWithResponseSpec(@jakarta.annotation.Nullable Pet queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeTrueObjectRequestCreation(queryObject);
}
/**
@@ -723,7 +723,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(DataQuery queryObject) throws RestClientResponseException {
private ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(@jakarta.annotation.Nullable DataQuery queryObject) throws RestClientResponseException {
Object postBody = null;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<>();
@@ -756,7 +756,7 @@ public class QueryApi {
* @return String
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public String testQueryStyleFormExplodeTrueObjectAllOf(DataQuery queryObject) throws RestClientResponseException {
public String testQueryStyleFormExplodeTrueObjectAllOf(@jakarta.annotation.Nullable DataQuery queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(queryObject).body(localVarReturnType);
}
@@ -769,7 +769,7 @@ public class QueryApi {
* @return ResponseEntity&lt;String&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(DataQuery queryObject) throws RestClientResponseException {
public ResponseEntity<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(@jakarta.annotation.Nullable DataQuery queryObject) throws RestClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<>() {};
return testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(queryObject).toEntity(localVarReturnType);
}
@@ -782,7 +782,7 @@ public class QueryApi {
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfWithResponseSpec(DataQuery queryObject) throws RestClientResponseException {
public ResponseSpec testQueryStyleFormExplodeTrueObjectAllOfWithResponseSpec(@jakarta.annotation.Nullable DataQuery queryObject) throws RestClientResponseException {
return testQueryStyleFormExplodeTrueObjectAllOfRequestCreation(queryObject);
}
}