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

@@ -118,7 +118,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testBodyApplicationOctetstreamBinary(File body) throws ApiException {
public String testBodyApplicationOctetstreamBinary(@javax.annotation.Nullable File body) throws ApiException {
return this.testBodyApplicationOctetstreamBinary(body, Collections.emptyMap());
}
@@ -131,7 +131,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testBodyApplicationOctetstreamBinary(File body, Map<String, String> additionalHeaders) throws ApiException {
public String testBodyApplicationOctetstreamBinary(@javax.annotation.Nullable File body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -187,7 +187,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testBodyMultipartFormdataArrayOfBinary(List<File> files) throws ApiException {
public String testBodyMultipartFormdataArrayOfBinary(@javax.annotation.Nonnull List<File> files) throws ApiException {
return this.testBodyMultipartFormdataArrayOfBinary(files, Collections.emptyMap());
}
@@ -200,7 +200,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testBodyMultipartFormdataArrayOfBinary(List<File> files, Map<String, String> additionalHeaders) throws ApiException {
public String testBodyMultipartFormdataArrayOfBinary(@javax.annotation.Nonnull List<File> files, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'files' is set
@@ -263,7 +263,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testBodyMultipartFormdataSingleBinary(File myFile) throws ApiException {
public String testBodyMultipartFormdataSingleBinary(@javax.annotation.Nullable File myFile) throws ApiException {
return this.testBodyMultipartFormdataSingleBinary(myFile, Collections.emptyMap());
}
@@ -276,7 +276,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testBodyMultipartFormdataSingleBinary(File myFile, Map<String, String> additionalHeaders) throws ApiException {
public String testBodyMultipartFormdataSingleBinary(@javax.annotation.Nullable File myFile, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -334,7 +334,7 @@ public class BodyApi extends BaseApi {
* @return Pet
* @throws ApiException if fails to make API call
*/
public Pet testEchoBodyAllOfPet(Pet pet) throws ApiException {
public Pet testEchoBodyAllOfPet(@javax.annotation.Nullable Pet pet) throws ApiException {
return this.testEchoBodyAllOfPet(pet, Collections.emptyMap());
}
@@ -347,7 +347,7 @@ public class BodyApi extends BaseApi {
* @return Pet
* @throws ApiException if fails to make API call
*/
public Pet testEchoBodyAllOfPet(Pet pet, Map<String, String> additionalHeaders) throws ApiException {
public Pet testEchoBodyAllOfPet(@javax.annotation.Nullable Pet pet, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = pet;
// create path and map variables
@@ -403,7 +403,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testEchoBodyFreeFormObjectResponseString(Object body) throws ApiException {
public String testEchoBodyFreeFormObjectResponseString(@javax.annotation.Nullable Object body) throws ApiException {
return this.testEchoBodyFreeFormObjectResponseString(body, Collections.emptyMap());
}
@@ -416,7 +416,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testEchoBodyFreeFormObjectResponseString(Object body, Map<String, String> additionalHeaders) throws ApiException {
public String testEchoBodyFreeFormObjectResponseString(@javax.annotation.Nullable Object body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -472,7 +472,7 @@ public class BodyApi extends BaseApi {
* @return Pet
* @throws ApiException if fails to make API call
*/
public Pet testEchoBodyPet(Pet pet) throws ApiException {
public Pet testEchoBodyPet(@javax.annotation.Nullable Pet pet) throws ApiException {
return this.testEchoBodyPet(pet, Collections.emptyMap());
}
@@ -485,7 +485,7 @@ public class BodyApi extends BaseApi {
* @return Pet
* @throws ApiException if fails to make API call
*/
public Pet testEchoBodyPet(Pet pet, Map<String, String> additionalHeaders) throws ApiException {
public Pet testEchoBodyPet(@javax.annotation.Nullable Pet pet, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = pet;
// create path and map variables
@@ -541,7 +541,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testEchoBodyPetResponseString(Pet pet) throws ApiException {
public String testEchoBodyPetResponseString(@javax.annotation.Nullable Pet pet) throws ApiException {
return this.testEchoBodyPetResponseString(pet, Collections.emptyMap());
}
@@ -554,7 +554,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testEchoBodyPetResponseString(Pet pet, Map<String, String> additionalHeaders) throws ApiException {
public String testEchoBodyPetResponseString(@javax.annotation.Nullable Pet pet, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = pet;
// create path and map variables
@@ -610,7 +610,7 @@ public class BodyApi extends BaseApi {
* @return StringEnumRef
* @throws ApiException if fails to make API call
*/
public StringEnumRef testEchoBodyStringEnum(String body) throws ApiException {
public StringEnumRef testEchoBodyStringEnum(@javax.annotation.Nullable String body) throws ApiException {
return this.testEchoBodyStringEnum(body, Collections.emptyMap());
}
@@ -623,7 +623,7 @@ public class BodyApi extends BaseApi {
* @return StringEnumRef
* @throws ApiException if fails to make API call
*/
public StringEnumRef testEchoBodyStringEnum(String body, Map<String, String> additionalHeaders) throws ApiException {
public StringEnumRef testEchoBodyStringEnum(@javax.annotation.Nullable String body, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = body;
// create path and map variables
@@ -679,7 +679,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testEchoBodyTagResponseString(Tag tag) throws ApiException {
public String testEchoBodyTagResponseString(@javax.annotation.Nullable Tag tag) throws ApiException {
return this.testEchoBodyTagResponseString(tag, Collections.emptyMap());
}
@@ -692,7 +692,7 @@ public class BodyApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testEchoBodyTagResponseString(Tag tag, Map<String, String> additionalHeaders) throws ApiException {
public String testEchoBodyTagResponseString(@javax.annotation.Nullable Tag tag, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = tag;
// create path and map variables

View File

@@ -50,7 +50,7 @@ public class FormApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testFormIntegerBooleanString(Integer integerForm, Boolean booleanForm, String stringForm) throws ApiException {
public String testFormIntegerBooleanString(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm) throws ApiException {
return this.testFormIntegerBooleanString(integerForm, booleanForm, stringForm, Collections.emptyMap());
}
@@ -65,7 +65,7 @@ public class FormApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testFormIntegerBooleanString(Integer integerForm, Boolean booleanForm, String stringForm, Map<String, String> additionalHeaders) throws ApiException {
public String testFormIntegerBooleanString(@javax.annotation.Nullable Integer integerForm, @javax.annotation.Nullable Boolean booleanForm, @javax.annotation.Nullable String stringForm, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -127,7 +127,7 @@ if (stringForm != null)
* @return String
* @throws ApiException if fails to make API call
*/
public String testFormObjectMultipart(TestFormObjectMultipartRequestMarker marker) throws ApiException {
public String testFormObjectMultipart(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker) throws ApiException {
return this.testFormObjectMultipart(marker, Collections.emptyMap());
}
@@ -140,7 +140,7 @@ if (stringForm != null)
* @return String
* @throws ApiException if fails to make API call
*/
public String testFormObjectMultipart(TestFormObjectMultipartRequestMarker marker, Map<String, String> additionalHeaders) throws ApiException {
public String testFormObjectMultipart(@javax.annotation.Nonnull TestFormObjectMultipartRequestMarker marker, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'marker' is set
@@ -208,7 +208,7 @@ if (stringForm != null)
* @return String
* @throws ApiException if fails to make API call
*/
public String testFormOneof(String form1, Integer form2, String form3, Boolean form4, Long id, String name) throws ApiException {
public String testFormOneof(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name) throws ApiException {
return this.testFormOneof(form1, form2, form3, form4, id, name, Collections.emptyMap());
}
@@ -226,7 +226,7 @@ if (stringForm != null)
* @return String
* @throws ApiException if fails to make API call
*/
public String testFormOneof(String form1, Integer form2, String form3, Boolean form4, Long id, String name, Map<String, String> additionalHeaders) throws ApiException {
public String testFormOneof(@javax.annotation.Nullable String form1, @javax.annotation.Nullable Integer form2, @javax.annotation.Nullable String form3, @javax.annotation.Nullable Boolean form4, @javax.annotation.Nullable Long id, @javax.annotation.Nullable String name, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables

View File

@@ -52,7 +52,7 @@ public class HeaderApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testHeaderIntegerBooleanStringEnums(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader) throws ApiException {
public String testHeaderIntegerBooleanStringEnums(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader) throws ApiException {
return this.testHeaderIntegerBooleanStringEnums(integerHeader, booleanHeader, stringHeader, enumNonrefStringHeader, enumRefStringHeader, Collections.emptyMap());
}
@@ -69,7 +69,7 @@ public class HeaderApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testHeaderIntegerBooleanStringEnums(Integer integerHeader, Boolean booleanHeader, String stringHeader, String enumNonrefStringHeader, StringEnumRef enumRefStringHeader, Map<String, String> additionalHeaders) throws ApiException {
public String testHeaderIntegerBooleanStringEnums(@javax.annotation.Nullable Integer integerHeader, @javax.annotation.Nullable Boolean booleanHeader, @javax.annotation.Nullable String stringHeader, @javax.annotation.Nullable String enumNonrefStringHeader, @javax.annotation.Nullable StringEnumRef enumRefStringHeader, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables

View File

@@ -51,7 +51,7 @@ public class PathApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath) throws ApiException {
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath) throws ApiException {
return this.testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(pathString, pathInteger, enumNonrefStringPath, enumRefStringPath, Collections.emptyMap());
}
@@ -67,7 +67,7 @@ public class PathApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(String pathString, Integer pathInteger, String enumNonrefStringPath, StringEnumRef enumRefStringPath, Map<String, String> additionalHeaders) throws ApiException {
public String testsPathStringPathStringIntegerPathIntegerEnumNonrefStringPathEnumRefStringPath(@javax.annotation.Nonnull String pathString, @javax.annotation.Nonnull Integer pathInteger, @javax.annotation.Nonnull String enumNonrefStringPath, @javax.annotation.Nonnull StringEnumRef enumRefStringPath, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// verify the required parameter 'pathString' is set

View File

@@ -55,7 +55,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testEnumRefString(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery) throws ApiException {
public String testEnumRefString(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery) throws ApiException {
return this.testEnumRefString(enumNonrefStringQuery, enumRefStringQuery, Collections.emptyMap());
}
@@ -69,7 +69,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testEnumRefString(String enumNonrefStringQuery, StringEnumRef enumRefStringQuery, Map<String, String> additionalHeaders) throws ApiException {
public String testEnumRefString(@javax.annotation.Nullable String enumNonrefStringQuery, @javax.annotation.Nullable StringEnumRef enumRefStringQuery, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -129,7 +129,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryDatetimeDateString(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery) throws ApiException {
public String testQueryDatetimeDateString(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
return this.testQueryDatetimeDateString(datetimeQuery, dateQuery, stringQuery, Collections.emptyMap());
}
@@ -144,7 +144,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryDatetimeDateString(OffsetDateTime datetimeQuery, LocalDate dateQuery, String stringQuery, Map<String, String> additionalHeaders) throws ApiException {
public String testQueryDatetimeDateString(@javax.annotation.Nullable OffsetDateTime datetimeQuery, @javax.annotation.Nullable LocalDate dateQuery, @javax.annotation.Nullable String stringQuery, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -205,7 +205,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryIntegerBooleanString(Integer integerQuery, Boolean booleanQuery, String stringQuery) throws ApiException {
public String testQueryIntegerBooleanString(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery) throws ApiException {
return this.testQueryIntegerBooleanString(integerQuery, booleanQuery, stringQuery, Collections.emptyMap());
}
@@ -220,7 +220,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryIntegerBooleanString(Integer integerQuery, Boolean booleanQuery, String stringQuery, Map<String, String> additionalHeaders) throws ApiException {
public String testQueryIntegerBooleanString(@javax.annotation.Nullable Integer integerQuery, @javax.annotation.Nullable Boolean booleanQuery, @javax.annotation.Nullable String stringQuery, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -279,7 +279,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleDeepObjectExplodeTrueObject(Pet queryObject) throws ApiException {
public String testQueryStyleDeepObjectExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
return this.testQueryStyleDeepObjectExplodeTrueObject(queryObject, Collections.emptyMap());
}
@@ -292,7 +292,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleDeepObjectExplodeTrueObject(Pet queryObject, Map<String, String> additionalHeaders) throws ApiException {
public String testQueryStyleDeepObjectExplodeTrueObject(@javax.annotation.Nullable Pet queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -350,7 +350,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException {
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject) throws ApiException {
return this.testQueryStyleDeepObjectExplodeTrueObjectAllOf(queryObject, Collections.emptyMap());
}
@@ -363,7 +363,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, Map<String, String> additionalHeaders) throws ApiException {
public String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@javax.annotation.Nullable TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -421,7 +421,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeFalseArrayInteger(List<Integer> queryObject) throws ApiException {
public String testQueryStyleFormExplodeFalseArrayInteger(@javax.annotation.Nullable List<Integer> queryObject) throws ApiException {
return this.testQueryStyleFormExplodeFalseArrayInteger(queryObject, Collections.emptyMap());
}
@@ -434,7 +434,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeFalseArrayInteger(List<Integer> queryObject, Map<String, String> additionalHeaders) throws ApiException {
public String testQueryStyleFormExplodeFalseArrayInteger(@javax.annotation.Nullable List<Integer> queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -491,7 +491,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeFalseArrayString(List<String> queryObject) throws ApiException {
public String testQueryStyleFormExplodeFalseArrayString(@javax.annotation.Nullable List<String> queryObject) throws ApiException {
return this.testQueryStyleFormExplodeFalseArrayString(queryObject, Collections.emptyMap());
}
@@ -504,7 +504,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeFalseArrayString(List<String> queryObject, Map<String, String> additionalHeaders) throws ApiException {
public String testQueryStyleFormExplodeFalseArrayString(@javax.annotation.Nullable List<String> queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -561,7 +561,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeTrueArrayString(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException {
public String testQueryStyleFormExplodeTrueArrayString(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject) throws ApiException {
return this.testQueryStyleFormExplodeTrueArrayString(queryObject, Collections.emptyMap());
}
@@ -574,7 +574,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeTrueArrayString(TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, Map<String, String> additionalHeaders) throws ApiException {
public String testQueryStyleFormExplodeTrueArrayString(@javax.annotation.Nullable TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -631,7 +631,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeTrueObject(Pet queryObject) throws ApiException {
public String testQueryStyleFormExplodeTrueObject(@javax.annotation.Nullable Pet queryObject) throws ApiException {
return this.testQueryStyleFormExplodeTrueObject(queryObject, Collections.emptyMap());
}
@@ -644,7 +644,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeTrueObject(Pet queryObject, Map<String, String> additionalHeaders) throws ApiException {
public String testQueryStyleFormExplodeTrueObject(@javax.annotation.Nullable Pet queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables
@@ -706,7 +706,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeTrueObjectAllOf(DataQuery queryObject) throws ApiException {
public String testQueryStyleFormExplodeTrueObjectAllOf(@javax.annotation.Nullable DataQuery queryObject) throws ApiException {
return this.testQueryStyleFormExplodeTrueObjectAllOf(queryObject, Collections.emptyMap());
}
@@ -719,7 +719,7 @@ public class QueryApi extends BaseApi {
* @return String
* @throws ApiException if fails to make API call
*/
public String testQueryStyleFormExplodeTrueObjectAllOf(DataQuery queryObject, Map<String, String> additionalHeaders) throws ApiException {
public String testQueryStyleFormExplodeTrueObjectAllOf(@javax.annotation.Nullable DataQuery queryObject, Map<String, String> additionalHeaders) throws ApiException {
Object localVarPostBody = null;
// create path and map variables