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

@@ -55,7 +55,7 @@ public class AnotherFakeApi {
* @return Client
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec call123testSpecialTagsRequestCreation(Client client) throws WebClientResponseException {
private ResponseSpec call123testSpecialTagsRequestCreation(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
Object postBody = client;
// verify the required parameter 'client' is set
if (client == null) {
@@ -92,7 +92,7 @@ public class AnotherFakeApi {
* @return Client
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Client> call123testSpecialTags(Client client) throws WebClientResponseException {
public Mono<Client> call123testSpecialTags(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
ParameterizedTypeReference<Client> localVarReturnType = new ParameterizedTypeReference<Client>() {};
return call123testSpecialTagsRequestCreation(client).bodyToMono(localVarReturnType);
}
@@ -105,7 +105,7 @@ public class AnotherFakeApi {
* @return ResponseEntity&lt;Client&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Client>> call123testSpecialTagsWithHttpInfo(Client client) throws WebClientResponseException {
public Mono<ResponseEntity<Client>> call123testSpecialTagsWithHttpInfo(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
ParameterizedTypeReference<Client> localVarReturnType = new ParameterizedTypeReference<Client>() {};
return call123testSpecialTagsRequestCreation(client).toEntity(localVarReturnType);
}
@@ -118,7 +118,7 @@ public class AnotherFakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec call123testSpecialTagsWithResponseSpec(Client client) throws WebClientResponseException {
public ResponseSpec call123testSpecialTagsWithResponseSpec(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
return call123testSpecialTagsRequestCreation(client);
}
}

View File

@@ -200,7 +200,7 @@ public class FakeApi {
* @param header1 header parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec fakeHttpSignatureTestRequestCreation(Pet pet, String query1, String header1) throws WebClientResponseException {
private ResponseSpec fakeHttpSignatureTestRequestCreation(@javax.annotation.Nonnull Pet pet, @javax.annotation.Nullable String query1, @javax.annotation.Nullable String header1) throws WebClientResponseException {
Object postBody = pet;
// verify the required parameter 'pet' is set
if (pet == null) {
@@ -241,7 +241,7 @@ public class FakeApi {
* @param header1 header parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> fakeHttpSignatureTest(Pet pet, String query1, String header1) throws WebClientResponseException {
public Mono<Void> fakeHttpSignatureTest(@javax.annotation.Nonnull Pet pet, @javax.annotation.Nullable String query1, @javax.annotation.Nullable String header1) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return fakeHttpSignatureTestRequestCreation(pet, query1, header1).bodyToMono(localVarReturnType);
}
@@ -255,7 +255,7 @@ public class FakeApi {
* @param header1 header parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> fakeHttpSignatureTestWithHttpInfo(Pet pet, String query1, String header1) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> fakeHttpSignatureTestWithHttpInfo(@javax.annotation.Nonnull Pet pet, @javax.annotation.Nullable String query1, @javax.annotation.Nullable String header1) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return fakeHttpSignatureTestRequestCreation(pet, query1, header1).toEntity(localVarReturnType);
}
@@ -270,7 +270,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec fakeHttpSignatureTestWithResponseSpec(Pet pet, String query1, String header1) throws WebClientResponseException {
public ResponseSpec fakeHttpSignatureTestWithResponseSpec(@javax.annotation.Nonnull Pet pet, @javax.annotation.Nullable String query1, @javax.annotation.Nullable String header1) throws WebClientResponseException {
return fakeHttpSignatureTestRequestCreation(pet, query1, header1);
}
@@ -282,7 +282,7 @@ public class FakeApi {
* @return Boolean
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec fakeOuterBooleanSerializeRequestCreation(Boolean body) throws WebClientResponseException {
private ResponseSpec fakeOuterBooleanSerializeRequestCreation(@javax.annotation.Nullable Boolean body) throws WebClientResponseException {
Object postBody = body;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<String, Object>();
@@ -315,7 +315,7 @@ public class FakeApi {
* @return Boolean
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Boolean> fakeOuterBooleanSerialize(Boolean body) throws WebClientResponseException {
public Mono<Boolean> fakeOuterBooleanSerialize(@javax.annotation.Nullable Boolean body) throws WebClientResponseException {
ParameterizedTypeReference<Boolean> localVarReturnType = new ParameterizedTypeReference<Boolean>() {};
return fakeOuterBooleanSerializeRequestCreation(body).bodyToMono(localVarReturnType);
}
@@ -328,7 +328,7 @@ public class FakeApi {
* @return ResponseEntity&lt;Boolean&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Boolean>> fakeOuterBooleanSerializeWithHttpInfo(Boolean body) throws WebClientResponseException {
public Mono<ResponseEntity<Boolean>> fakeOuterBooleanSerializeWithHttpInfo(@javax.annotation.Nullable Boolean body) throws WebClientResponseException {
ParameterizedTypeReference<Boolean> localVarReturnType = new ParameterizedTypeReference<Boolean>() {};
return fakeOuterBooleanSerializeRequestCreation(body).toEntity(localVarReturnType);
}
@@ -341,7 +341,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec fakeOuterBooleanSerializeWithResponseSpec(Boolean body) throws WebClientResponseException {
public ResponseSpec fakeOuterBooleanSerializeWithResponseSpec(@javax.annotation.Nullable Boolean body) throws WebClientResponseException {
return fakeOuterBooleanSerializeRequestCreation(body);
}
@@ -353,7 +353,7 @@ public class FakeApi {
* @return OuterComposite
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec fakeOuterCompositeSerializeRequestCreation(OuterComposite outerComposite) throws WebClientResponseException {
private ResponseSpec fakeOuterCompositeSerializeRequestCreation(@javax.annotation.Nullable OuterComposite outerComposite) throws WebClientResponseException {
Object postBody = outerComposite;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<String, Object>();
@@ -386,7 +386,7 @@ public class FakeApi {
* @return OuterComposite
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<OuterComposite> fakeOuterCompositeSerialize(OuterComposite outerComposite) throws WebClientResponseException {
public Mono<OuterComposite> fakeOuterCompositeSerialize(@javax.annotation.Nullable OuterComposite outerComposite) throws WebClientResponseException {
ParameterizedTypeReference<OuterComposite> localVarReturnType = new ParameterizedTypeReference<OuterComposite>() {};
return fakeOuterCompositeSerializeRequestCreation(outerComposite).bodyToMono(localVarReturnType);
}
@@ -399,7 +399,7 @@ public class FakeApi {
* @return ResponseEntity&lt;OuterComposite&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<OuterComposite>> fakeOuterCompositeSerializeWithHttpInfo(OuterComposite outerComposite) throws WebClientResponseException {
public Mono<ResponseEntity<OuterComposite>> fakeOuterCompositeSerializeWithHttpInfo(@javax.annotation.Nullable OuterComposite outerComposite) throws WebClientResponseException {
ParameterizedTypeReference<OuterComposite> localVarReturnType = new ParameterizedTypeReference<OuterComposite>() {};
return fakeOuterCompositeSerializeRequestCreation(outerComposite).toEntity(localVarReturnType);
}
@@ -412,7 +412,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec fakeOuterCompositeSerializeWithResponseSpec(OuterComposite outerComposite) throws WebClientResponseException {
public ResponseSpec fakeOuterCompositeSerializeWithResponseSpec(@javax.annotation.Nullable OuterComposite outerComposite) throws WebClientResponseException {
return fakeOuterCompositeSerializeRequestCreation(outerComposite);
}
@@ -424,7 +424,7 @@ public class FakeApi {
* @return BigDecimal
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec fakeOuterNumberSerializeRequestCreation(BigDecimal body) throws WebClientResponseException {
private ResponseSpec fakeOuterNumberSerializeRequestCreation(@javax.annotation.Nullable BigDecimal body) throws WebClientResponseException {
Object postBody = body;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<String, Object>();
@@ -457,7 +457,7 @@ public class FakeApi {
* @return BigDecimal
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<BigDecimal> fakeOuterNumberSerialize(BigDecimal body) throws WebClientResponseException {
public Mono<BigDecimal> fakeOuterNumberSerialize(@javax.annotation.Nullable BigDecimal body) throws WebClientResponseException {
ParameterizedTypeReference<BigDecimal> localVarReturnType = new ParameterizedTypeReference<BigDecimal>() {};
return fakeOuterNumberSerializeRequestCreation(body).bodyToMono(localVarReturnType);
}
@@ -470,7 +470,7 @@ public class FakeApi {
* @return ResponseEntity&lt;BigDecimal&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<BigDecimal>> fakeOuterNumberSerializeWithHttpInfo(BigDecimal body) throws WebClientResponseException {
public Mono<ResponseEntity<BigDecimal>> fakeOuterNumberSerializeWithHttpInfo(@javax.annotation.Nullable BigDecimal body) throws WebClientResponseException {
ParameterizedTypeReference<BigDecimal> localVarReturnType = new ParameterizedTypeReference<BigDecimal>() {};
return fakeOuterNumberSerializeRequestCreation(body).toEntity(localVarReturnType);
}
@@ -483,7 +483,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec fakeOuterNumberSerializeWithResponseSpec(BigDecimal body) throws WebClientResponseException {
public ResponseSpec fakeOuterNumberSerializeWithResponseSpec(@javax.annotation.Nullable BigDecimal body) throws WebClientResponseException {
return fakeOuterNumberSerializeRequestCreation(body);
}
@@ -495,7 +495,7 @@ public class FakeApi {
* @return String
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec fakeOuterStringSerializeRequestCreation(String body) throws WebClientResponseException {
private ResponseSpec fakeOuterStringSerializeRequestCreation(@javax.annotation.Nullable String body) throws WebClientResponseException {
Object postBody = body;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<String, Object>();
@@ -528,7 +528,7 @@ public class FakeApi {
* @return String
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<String> fakeOuterStringSerialize(String body) throws WebClientResponseException {
public Mono<String> fakeOuterStringSerialize(@javax.annotation.Nullable String body) throws WebClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<String>() {};
return fakeOuterStringSerializeRequestCreation(body).bodyToMono(localVarReturnType);
}
@@ -541,7 +541,7 @@ public class FakeApi {
* @return ResponseEntity&lt;String&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<String>> fakeOuterStringSerializeWithHttpInfo(String body) throws WebClientResponseException {
public Mono<ResponseEntity<String>> fakeOuterStringSerializeWithHttpInfo(@javax.annotation.Nullable String body) throws WebClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<String>() {};
return fakeOuterStringSerializeRequestCreation(body).toEntity(localVarReturnType);
}
@@ -554,7 +554,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec fakeOuterStringSerializeWithResponseSpec(String body) throws WebClientResponseException {
public ResponseSpec fakeOuterStringSerializeWithResponseSpec(@javax.annotation.Nullable String body) throws WebClientResponseException {
return fakeOuterStringSerializeRequestCreation(body);
}
@@ -566,7 +566,7 @@ public class FakeApi {
* @return OuterObjectWithEnumProperty
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec fakePropertyEnumIntegerSerializeRequestCreation(OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws WebClientResponseException {
private ResponseSpec fakePropertyEnumIntegerSerializeRequestCreation(@javax.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws WebClientResponseException {
Object postBody = outerObjectWithEnumProperty;
// verify the required parameter 'outerObjectWithEnumProperty' is set
if (outerObjectWithEnumProperty == null) {
@@ -603,7 +603,7 @@ public class FakeApi {
* @return OuterObjectWithEnumProperty
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<OuterObjectWithEnumProperty> fakePropertyEnumIntegerSerialize(OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws WebClientResponseException {
public Mono<OuterObjectWithEnumProperty> fakePropertyEnumIntegerSerialize(@javax.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws WebClientResponseException {
ParameterizedTypeReference<OuterObjectWithEnumProperty> localVarReturnType = new ParameterizedTypeReference<OuterObjectWithEnumProperty>() {};
return fakePropertyEnumIntegerSerializeRequestCreation(outerObjectWithEnumProperty).bodyToMono(localVarReturnType);
}
@@ -616,7 +616,7 @@ public class FakeApi {
* @return ResponseEntity&lt;OuterObjectWithEnumProperty&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<OuterObjectWithEnumProperty>> fakePropertyEnumIntegerSerializeWithHttpInfo(OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws WebClientResponseException {
public Mono<ResponseEntity<OuterObjectWithEnumProperty>> fakePropertyEnumIntegerSerializeWithHttpInfo(@javax.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws WebClientResponseException {
ParameterizedTypeReference<OuterObjectWithEnumProperty> localVarReturnType = new ParameterizedTypeReference<OuterObjectWithEnumProperty>() {};
return fakePropertyEnumIntegerSerializeRequestCreation(outerObjectWithEnumProperty).toEntity(localVarReturnType);
}
@@ -629,7 +629,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec fakePropertyEnumIntegerSerializeWithResponseSpec(OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws WebClientResponseException {
public ResponseSpec fakePropertyEnumIntegerSerializeWithResponseSpec(@javax.annotation.Nonnull OuterObjectWithEnumProperty outerObjectWithEnumProperty) throws WebClientResponseException {
return fakePropertyEnumIntegerSerializeRequestCreation(outerObjectWithEnumProperty);
}
@@ -640,7 +640,7 @@ public class FakeApi {
* @param requestBody request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testAdditionalPropertiesReferenceRequestCreation(Map<String, Object> requestBody) throws WebClientResponseException {
private ResponseSpec testAdditionalPropertiesReferenceRequestCreation(@javax.annotation.Nonnull Map<String, Object> requestBody) throws WebClientResponseException {
Object postBody = requestBody;
// verify the required parameter 'requestBody' is set
if (requestBody == null) {
@@ -674,7 +674,7 @@ public class FakeApi {
* @param requestBody request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testAdditionalPropertiesReference(Map<String, Object> requestBody) throws WebClientResponseException {
public Mono<Void> testAdditionalPropertiesReference(@javax.annotation.Nonnull Map<String, Object> requestBody) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testAdditionalPropertiesReferenceRequestCreation(requestBody).bodyToMono(localVarReturnType);
}
@@ -686,7 +686,7 @@ public class FakeApi {
* @param requestBody request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testAdditionalPropertiesReferenceWithHttpInfo(Map<String, Object> requestBody) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testAdditionalPropertiesReferenceWithHttpInfo(@javax.annotation.Nonnull Map<String, Object> requestBody) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testAdditionalPropertiesReferenceRequestCreation(requestBody).toEntity(localVarReturnType);
}
@@ -699,7 +699,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testAdditionalPropertiesReferenceWithResponseSpec(Map<String, Object> requestBody) throws WebClientResponseException {
public ResponseSpec testAdditionalPropertiesReferenceWithResponseSpec(@javax.annotation.Nonnull Map<String, Object> requestBody) throws WebClientResponseException {
return testAdditionalPropertiesReferenceRequestCreation(requestBody);
}
@@ -710,7 +710,7 @@ public class FakeApi {
* @param body image to upload
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testBodyWithBinaryRequestCreation(File body) throws WebClientResponseException {
private ResponseSpec testBodyWithBinaryRequestCreation(@javax.annotation.Nullable File body) throws WebClientResponseException {
Object postBody = body;
// verify the required parameter 'body' is set
if (body == null) {
@@ -744,7 +744,7 @@ public class FakeApi {
* @param body image to upload
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testBodyWithBinary(File body) throws WebClientResponseException {
public Mono<Void> testBodyWithBinary(@javax.annotation.Nullable File body) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testBodyWithBinaryRequestCreation(body).bodyToMono(localVarReturnType);
}
@@ -756,7 +756,7 @@ public class FakeApi {
* @param body image to upload
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testBodyWithBinaryWithHttpInfo(File body) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testBodyWithBinaryWithHttpInfo(@javax.annotation.Nullable File body) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testBodyWithBinaryRequestCreation(body).toEntity(localVarReturnType);
}
@@ -769,7 +769,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testBodyWithBinaryWithResponseSpec(File body) throws WebClientResponseException {
public ResponseSpec testBodyWithBinaryWithResponseSpec(@javax.annotation.Nullable File body) throws WebClientResponseException {
return testBodyWithBinaryRequestCreation(body);
}
@@ -780,7 +780,7 @@ public class FakeApi {
* @param fileSchemaTestClass The fileSchemaTestClass parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testBodyWithFileSchemaRequestCreation(FileSchemaTestClass fileSchemaTestClass) throws WebClientResponseException {
private ResponseSpec testBodyWithFileSchemaRequestCreation(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws WebClientResponseException {
Object postBody = fileSchemaTestClass;
// verify the required parameter 'fileSchemaTestClass' is set
if (fileSchemaTestClass == null) {
@@ -814,7 +814,7 @@ public class FakeApi {
* @param fileSchemaTestClass The fileSchemaTestClass parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testBodyWithFileSchema(FileSchemaTestClass fileSchemaTestClass) throws WebClientResponseException {
public Mono<Void> testBodyWithFileSchema(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testBodyWithFileSchemaRequestCreation(fileSchemaTestClass).bodyToMono(localVarReturnType);
}
@@ -826,7 +826,7 @@ public class FakeApi {
* @param fileSchemaTestClass The fileSchemaTestClass parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testBodyWithFileSchemaWithHttpInfo(FileSchemaTestClass fileSchemaTestClass) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testBodyWithFileSchemaWithHttpInfo(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testBodyWithFileSchemaRequestCreation(fileSchemaTestClass).toEntity(localVarReturnType);
}
@@ -839,7 +839,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testBodyWithFileSchemaWithResponseSpec(FileSchemaTestClass fileSchemaTestClass) throws WebClientResponseException {
public ResponseSpec testBodyWithFileSchemaWithResponseSpec(@javax.annotation.Nonnull FileSchemaTestClass fileSchemaTestClass) throws WebClientResponseException {
return testBodyWithFileSchemaRequestCreation(fileSchemaTestClass);
}
@@ -851,7 +851,7 @@ public class FakeApi {
* @param user The user parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testBodyWithQueryParamsRequestCreation(String query, User user) throws WebClientResponseException {
private ResponseSpec testBodyWithQueryParamsRequestCreation(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user) throws WebClientResponseException {
Object postBody = user;
// verify the required parameter 'query' is set
if (query == null) {
@@ -892,7 +892,7 @@ public class FakeApi {
* @param user The user parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testBodyWithQueryParams(String query, User user) throws WebClientResponseException {
public Mono<Void> testBodyWithQueryParams(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testBodyWithQueryParamsRequestCreation(query, user).bodyToMono(localVarReturnType);
}
@@ -905,7 +905,7 @@ public class FakeApi {
* @param user The user parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testBodyWithQueryParamsWithHttpInfo(String query, User user) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testBodyWithQueryParamsWithHttpInfo(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testBodyWithQueryParamsRequestCreation(query, user).toEntity(localVarReturnType);
}
@@ -919,7 +919,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testBodyWithQueryParamsWithResponseSpec(String query, User user) throws WebClientResponseException {
public ResponseSpec testBodyWithQueryParamsWithResponseSpec(@javax.annotation.Nonnull String query, @javax.annotation.Nonnull User user) throws WebClientResponseException {
return testBodyWithQueryParamsRequestCreation(query, user);
}
@@ -931,7 +931,7 @@ public class FakeApi {
* @return Client
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testClientModelRequestCreation(Client client) throws WebClientResponseException {
private ResponseSpec testClientModelRequestCreation(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
Object postBody = client;
// verify the required parameter 'client' is set
if (client == null) {
@@ -968,7 +968,7 @@ public class FakeApi {
* @return Client
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Client> testClientModel(Client client) throws WebClientResponseException {
public Mono<Client> testClientModel(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
ParameterizedTypeReference<Client> localVarReturnType = new ParameterizedTypeReference<Client>() {};
return testClientModelRequestCreation(client).bodyToMono(localVarReturnType);
}
@@ -981,7 +981,7 @@ public class FakeApi {
* @return ResponseEntity&lt;Client&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Client>> testClientModelWithHttpInfo(Client client) throws WebClientResponseException {
public Mono<ResponseEntity<Client>> testClientModelWithHttpInfo(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
ParameterizedTypeReference<Client> localVarReturnType = new ParameterizedTypeReference<Client>() {};
return testClientModelRequestCreation(client).toEntity(localVarReturnType);
}
@@ -994,7 +994,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testClientModelWithResponseSpec(Client client) throws WebClientResponseException {
public ResponseSpec testClientModelWithResponseSpec(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
return testClientModelRequestCreation(client);
}
@@ -1019,7 +1019,7 @@ public class FakeApi {
* @param paramCallback None
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testEndpointParametersRequestCreation(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws WebClientResponseException {
private ResponseSpec testEndpointParametersRequestCreation(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'number' is set
if (number == null) {
@@ -1108,7 +1108,7 @@ public class FakeApi {
* @param paramCallback None
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testEndpointParameters(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws WebClientResponseException {
public Mono<Void> testEndpointParameters(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testEndpointParametersRequestCreation(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback).bodyToMono(localVarReturnType);
}
@@ -1134,7 +1134,7 @@ public class FakeApi {
* @param paramCallback None
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testEndpointParametersWithHttpInfo(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testEndpointParametersWithHttpInfo(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testEndpointParametersRequestCreation(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback).toEntity(localVarReturnType);
}
@@ -1161,7 +1161,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testEndpointParametersWithResponseSpec(BigDecimal number, Double _double, String patternWithoutDelimiter, byte[] _byte, Integer integer, Integer int32, Long int64, Float _float, String string, File binary, LocalDate date, OffsetDateTime dateTime, String password, String paramCallback) throws WebClientResponseException {
public ResponseSpec testEndpointParametersWithResponseSpec(@javax.annotation.Nonnull BigDecimal number, @javax.annotation.Nonnull Double _double, @javax.annotation.Nonnull String patternWithoutDelimiter, @javax.annotation.Nonnull byte[] _byte, @javax.annotation.Nullable Integer integer, @javax.annotation.Nullable Integer int32, @javax.annotation.Nullable Long int64, @javax.annotation.Nullable Float _float, @javax.annotation.Nullable String string, @javax.annotation.Nullable File binary, @javax.annotation.Nullable LocalDate date, @javax.annotation.Nullable OffsetDateTime dateTime, @javax.annotation.Nullable String password, @javax.annotation.Nullable String paramCallback) throws WebClientResponseException {
return testEndpointParametersRequestCreation(number, _double, patternWithoutDelimiter, _byte, integer, int32, int64, _float, string, binary, date, dateTime, password, paramCallback);
}
@@ -1181,7 +1181,7 @@ public class FakeApi {
* @param enumFormString Form parameter enum test (string)
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testEnumParametersRequestCreation(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<EnumClass> enumQueryModelArray, List<String> enumFormStringArray, String enumFormString) throws WebClientResponseException {
private ResponseSpec testEnumParametersRequestCreation(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<EnumClass> enumQueryModelArray, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws WebClientResponseException {
Object postBody = null;
// create path and map variables
final Map<String, Object> pathParams = new HashMap<String, Object>();
@@ -1236,7 +1236,7 @@ public class FakeApi {
* @param enumFormString Form parameter enum test (string)
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testEnumParameters(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<EnumClass> enumQueryModelArray, List<String> enumFormStringArray, String enumFormString) throws WebClientResponseException {
public Mono<Void> testEnumParameters(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<EnumClass> enumQueryModelArray, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testEnumParametersRequestCreation(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString).bodyToMono(localVarReturnType);
}
@@ -1257,7 +1257,7 @@ public class FakeApi {
* @param enumFormString Form parameter enum test (string)
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testEnumParametersWithHttpInfo(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<EnumClass> enumQueryModelArray, List<String> enumFormStringArray, String enumFormString) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testEnumParametersWithHttpInfo(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<EnumClass> enumQueryModelArray, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testEnumParametersRequestCreation(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString).toEntity(localVarReturnType);
}
@@ -1279,7 +1279,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testEnumParametersWithResponseSpec(List<String> enumHeaderStringArray, String enumHeaderString, List<String> enumQueryStringArray, String enumQueryString, Integer enumQueryInteger, Double enumQueryDouble, List<EnumClass> enumQueryModelArray, List<String> enumFormStringArray, String enumFormString) throws WebClientResponseException {
public ResponseSpec testEnumParametersWithResponseSpec(@javax.annotation.Nullable List<String> enumHeaderStringArray, @javax.annotation.Nullable String enumHeaderString, @javax.annotation.Nullable List<String> enumQueryStringArray, @javax.annotation.Nullable String enumQueryString, @javax.annotation.Nullable Integer enumQueryInteger, @javax.annotation.Nullable Double enumQueryDouble, @javax.annotation.Nullable List<EnumClass> enumQueryModelArray, @javax.annotation.Nullable List<String> enumFormStringArray, @javax.annotation.Nullable String enumFormString) throws WebClientResponseException {
return testEnumParametersRequestCreation(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString);
}
@@ -1295,7 +1295,7 @@ public class FakeApi {
* @param int64Group Integer in group parameters
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testGroupParametersRequestCreation(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws WebClientResponseException {
private ResponseSpec testGroupParametersRequestCreation(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'requiredStringGroup' is set
if (requiredStringGroup == null) {
@@ -1350,7 +1350,7 @@ public class FakeApi {
* @param int64Group Integer in group parameters
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testGroupParameters(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws WebClientResponseException {
public Mono<Void> testGroupParameters(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testGroupParametersRequestCreation(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group).bodyToMono(localVarReturnType);
}
@@ -1367,7 +1367,7 @@ public class FakeApi {
* @param int64Group Integer in group parameters
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testGroupParametersWithHttpInfo(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testGroupParametersWithHttpInfo(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testGroupParametersRequestCreation(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group).toEntity(localVarReturnType);
}
@@ -1385,7 +1385,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testGroupParametersWithResponseSpec(Integer requiredStringGroup, Boolean requiredBooleanGroup, Long requiredInt64Group, Integer stringGroup, Boolean booleanGroup, Long int64Group) throws WebClientResponseException {
public ResponseSpec testGroupParametersWithResponseSpec(@javax.annotation.Nonnull Integer requiredStringGroup, @javax.annotation.Nonnull Boolean requiredBooleanGroup, @javax.annotation.Nonnull Long requiredInt64Group, @javax.annotation.Nullable Integer stringGroup, @javax.annotation.Nullable Boolean booleanGroup, @javax.annotation.Nullable Long int64Group) throws WebClientResponseException {
return testGroupParametersRequestCreation(requiredStringGroup, requiredBooleanGroup, requiredInt64Group, stringGroup, booleanGroup, int64Group);
}
@@ -1396,7 +1396,7 @@ public class FakeApi {
* @param requestBody request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testInlineAdditionalPropertiesRequestCreation(Map<String, String> requestBody) throws WebClientResponseException {
private ResponseSpec testInlineAdditionalPropertiesRequestCreation(@javax.annotation.Nonnull Map<String, String> requestBody) throws WebClientResponseException {
Object postBody = requestBody;
// verify the required parameter 'requestBody' is set
if (requestBody == null) {
@@ -1430,7 +1430,7 @@ public class FakeApi {
* @param requestBody request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testInlineAdditionalProperties(Map<String, String> requestBody) throws WebClientResponseException {
public Mono<Void> testInlineAdditionalProperties(@javax.annotation.Nonnull Map<String, String> requestBody) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testInlineAdditionalPropertiesRequestCreation(requestBody).bodyToMono(localVarReturnType);
}
@@ -1442,7 +1442,7 @@ public class FakeApi {
* @param requestBody request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testInlineAdditionalPropertiesWithHttpInfo(Map<String, String> requestBody) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testInlineAdditionalPropertiesWithHttpInfo(@javax.annotation.Nonnull Map<String, String> requestBody) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testInlineAdditionalPropertiesRequestCreation(requestBody).toEntity(localVarReturnType);
}
@@ -1455,7 +1455,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testInlineAdditionalPropertiesWithResponseSpec(Map<String, String> requestBody) throws WebClientResponseException {
public ResponseSpec testInlineAdditionalPropertiesWithResponseSpec(@javax.annotation.Nonnull Map<String, String> requestBody) throws WebClientResponseException {
return testInlineAdditionalPropertiesRequestCreation(requestBody);
}
@@ -1466,7 +1466,7 @@ public class FakeApi {
* @param testInlineFreeformAdditionalPropertiesRequest request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testInlineFreeformAdditionalPropertiesRequestCreation(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws WebClientResponseException {
private ResponseSpec testInlineFreeformAdditionalPropertiesRequestCreation(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws WebClientResponseException {
Object postBody = testInlineFreeformAdditionalPropertiesRequest;
// verify the required parameter 'testInlineFreeformAdditionalPropertiesRequest' is set
if (testInlineFreeformAdditionalPropertiesRequest == null) {
@@ -1500,7 +1500,7 @@ public class FakeApi {
* @param testInlineFreeformAdditionalPropertiesRequest request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testInlineFreeformAdditionalProperties(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws WebClientResponseException {
public Mono<Void> testInlineFreeformAdditionalProperties(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testInlineFreeformAdditionalPropertiesRequestCreation(testInlineFreeformAdditionalPropertiesRequest).bodyToMono(localVarReturnType);
}
@@ -1512,7 +1512,7 @@ public class FakeApi {
* @param testInlineFreeformAdditionalPropertiesRequest request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testInlineFreeformAdditionalPropertiesWithHttpInfo(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testInlineFreeformAdditionalPropertiesWithHttpInfo(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testInlineFreeformAdditionalPropertiesRequestCreation(testInlineFreeformAdditionalPropertiesRequest).toEntity(localVarReturnType);
}
@@ -1525,7 +1525,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testInlineFreeformAdditionalPropertiesWithResponseSpec(TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws WebClientResponseException {
public ResponseSpec testInlineFreeformAdditionalPropertiesWithResponseSpec(@javax.annotation.Nonnull TestInlineFreeformAdditionalPropertiesRequest testInlineFreeformAdditionalPropertiesRequest) throws WebClientResponseException {
return testInlineFreeformAdditionalPropertiesRequestCreation(testInlineFreeformAdditionalPropertiesRequest);
}
@@ -1537,7 +1537,7 @@ public class FakeApi {
* @param param2 field2
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testJsonFormDataRequestCreation(String param, String param2) throws WebClientResponseException {
private ResponseSpec testJsonFormDataRequestCreation(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'param' is set
if (param == null) {
@@ -1581,7 +1581,7 @@ public class FakeApi {
* @param param2 field2
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testJsonFormData(String param, String param2) throws WebClientResponseException {
public Mono<Void> testJsonFormData(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testJsonFormDataRequestCreation(param, param2).bodyToMono(localVarReturnType);
}
@@ -1594,7 +1594,7 @@ public class FakeApi {
* @param param2 field2
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testJsonFormDataWithHttpInfo(String param, String param2) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testJsonFormDataWithHttpInfo(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testJsonFormDataRequestCreation(param, param2).toEntity(localVarReturnType);
}
@@ -1608,7 +1608,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testJsonFormDataWithResponseSpec(String param, String param2) throws WebClientResponseException {
public ResponseSpec testJsonFormDataWithResponseSpec(@javax.annotation.Nonnull String param, @javax.annotation.Nonnull String param2) throws WebClientResponseException {
return testJsonFormDataRequestCreation(param, param2);
}
@@ -1619,7 +1619,7 @@ public class FakeApi {
* @param childWithNullable request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testNullableRequestCreation(ChildWithNullable childWithNullable) throws WebClientResponseException {
private ResponseSpec testNullableRequestCreation(@javax.annotation.Nonnull ChildWithNullable childWithNullable) throws WebClientResponseException {
Object postBody = childWithNullable;
// verify the required parameter 'childWithNullable' is set
if (childWithNullable == null) {
@@ -1653,7 +1653,7 @@ public class FakeApi {
* @param childWithNullable request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testNullable(ChildWithNullable childWithNullable) throws WebClientResponseException {
public Mono<Void> testNullable(@javax.annotation.Nonnull ChildWithNullable childWithNullable) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testNullableRequestCreation(childWithNullable).bodyToMono(localVarReturnType);
}
@@ -1665,7 +1665,7 @@ public class FakeApi {
* @param childWithNullable request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testNullableWithHttpInfo(ChildWithNullable childWithNullable) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testNullableWithHttpInfo(@javax.annotation.Nonnull ChildWithNullable childWithNullable) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testNullableRequestCreation(childWithNullable).toEntity(localVarReturnType);
}
@@ -1678,7 +1678,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testNullableWithResponseSpec(ChildWithNullable childWithNullable) throws WebClientResponseException {
public ResponseSpec testNullableWithResponseSpec(@javax.annotation.Nonnull ChildWithNullable childWithNullable) throws WebClientResponseException {
return testNullableRequestCreation(childWithNullable);
}
@@ -1695,7 +1695,7 @@ public class FakeApi {
* @param language The language parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testQueryParameterCollectionFormatRequestCreation(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context, String allowEmpty, Map<String, String> language) throws WebClientResponseException {
private ResponseSpec testQueryParameterCollectionFormatRequestCreation(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context, @javax.annotation.Nonnull String allowEmpty, @javax.annotation.Nullable Map<String, String> language) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'pipe' is set
if (pipe == null) {
@@ -1761,7 +1761,7 @@ public class FakeApi {
* @param language The language parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testQueryParameterCollectionFormat(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context, String allowEmpty, Map<String, String> language) throws WebClientResponseException {
public Mono<Void> testQueryParameterCollectionFormat(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context, @javax.annotation.Nonnull String allowEmpty, @javax.annotation.Nullable Map<String, String> language) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testQueryParameterCollectionFormatRequestCreation(pipe, ioutil, http, url, context, allowEmpty, language).bodyToMono(localVarReturnType);
}
@@ -1779,7 +1779,7 @@ public class FakeApi {
* @param language The language parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testQueryParameterCollectionFormatWithHttpInfo(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context, String allowEmpty, Map<String, String> language) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testQueryParameterCollectionFormatWithHttpInfo(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context, @javax.annotation.Nonnull String allowEmpty, @javax.annotation.Nullable Map<String, String> language) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testQueryParameterCollectionFormatRequestCreation(pipe, ioutil, http, url, context, allowEmpty, language).toEntity(localVarReturnType);
}
@@ -1798,7 +1798,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(List<String> pipe, List<String> ioutil, List<String> http, List<String> url, List<String> context, String allowEmpty, Map<String, String> language) throws WebClientResponseException {
public ResponseSpec testQueryParameterCollectionFormatWithResponseSpec(@javax.annotation.Nonnull List<String> pipe, @javax.annotation.Nonnull List<String> ioutil, @javax.annotation.Nonnull List<String> http, @javax.annotation.Nonnull List<String> url, @javax.annotation.Nonnull List<String> context, @javax.annotation.Nonnull String allowEmpty, @javax.annotation.Nullable Map<String, String> language) throws WebClientResponseException {
return testQueryParameterCollectionFormatRequestCreation(pipe, ioutil, http, url, context, allowEmpty, language);
}
@@ -1809,7 +1809,7 @@ public class FakeApi {
* @param requestBody request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testStringMapReferenceRequestCreation(Map<String, String> requestBody) throws WebClientResponseException {
private ResponseSpec testStringMapReferenceRequestCreation(@javax.annotation.Nonnull Map<String, String> requestBody) throws WebClientResponseException {
Object postBody = requestBody;
// verify the required parameter 'requestBody' is set
if (requestBody == null) {
@@ -1843,7 +1843,7 @@ public class FakeApi {
* @param requestBody request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> testStringMapReference(Map<String, String> requestBody) throws WebClientResponseException {
public Mono<Void> testStringMapReference(@javax.annotation.Nonnull Map<String, String> requestBody) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testStringMapReferenceRequestCreation(requestBody).bodyToMono(localVarReturnType);
}
@@ -1855,7 +1855,7 @@ public class FakeApi {
* @param requestBody request body
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> testStringMapReferenceWithHttpInfo(Map<String, String> requestBody) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> testStringMapReferenceWithHttpInfo(@javax.annotation.Nonnull Map<String, String> requestBody) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return testStringMapReferenceRequestCreation(requestBody).toEntity(localVarReturnType);
}
@@ -1868,7 +1868,7 @@ public class FakeApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testStringMapReferenceWithResponseSpec(Map<String, String> requestBody) throws WebClientResponseException {
public ResponseSpec testStringMapReferenceWithResponseSpec(@javax.annotation.Nonnull Map<String, String> requestBody) throws WebClientResponseException {
return testStringMapReferenceRequestCreation(requestBody);
}
}

View File

@@ -55,7 +55,7 @@ public class FakeClassnameTags123Api {
* @return Client
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec testClassnameRequestCreation(Client client) throws WebClientResponseException {
private ResponseSpec testClassnameRequestCreation(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
Object postBody = client;
// verify the required parameter 'client' is set
if (client == null) {
@@ -92,7 +92,7 @@ public class FakeClassnameTags123Api {
* @return Client
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Client> testClassname(Client client) throws WebClientResponseException {
public Mono<Client> testClassname(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
ParameterizedTypeReference<Client> localVarReturnType = new ParameterizedTypeReference<Client>() {};
return testClassnameRequestCreation(client).bodyToMono(localVarReturnType);
}
@@ -105,7 +105,7 @@ public class FakeClassnameTags123Api {
* @return ResponseEntity&lt;Client&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Client>> testClassnameWithHttpInfo(Client client) throws WebClientResponseException {
public Mono<ResponseEntity<Client>> testClassnameWithHttpInfo(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
ParameterizedTypeReference<Client> localVarReturnType = new ParameterizedTypeReference<Client>() {};
return testClassnameRequestCreation(client).toEntity(localVarReturnType);
}
@@ -118,7 +118,7 @@ public class FakeClassnameTags123Api {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec testClassnameWithResponseSpec(Client client) throws WebClientResponseException {
public ResponseSpec testClassnameWithResponseSpec(@javax.annotation.Nonnull Client client) throws WebClientResponseException {
return testClassnameRequestCreation(client);
}
}

View File

@@ -58,7 +58,7 @@ public class PetApi {
* @param pet Pet object that needs to be added to the store
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec addPetRequestCreation(Pet pet) throws WebClientResponseException {
private ResponseSpec addPetRequestCreation(@javax.annotation.Nonnull Pet pet) throws WebClientResponseException {
Object postBody = pet;
// verify the required parameter 'pet' is set
if (pet == null) {
@@ -93,7 +93,7 @@ public class PetApi {
* @param pet Pet object that needs to be added to the store
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> addPet(Pet pet) throws WebClientResponseException {
public Mono<Void> addPet(@javax.annotation.Nonnull Pet pet) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return addPetRequestCreation(pet).bodyToMono(localVarReturnType);
}
@@ -106,7 +106,7 @@ public class PetApi {
* @param pet Pet object that needs to be added to the store
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> addPetWithHttpInfo(Pet pet) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> addPetWithHttpInfo(@javax.annotation.Nonnull Pet pet) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return addPetRequestCreation(pet).toEntity(localVarReturnType);
}
@@ -120,7 +120,7 @@ public class PetApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec addPetWithResponseSpec(Pet pet) throws WebClientResponseException {
public ResponseSpec addPetWithResponseSpec(@javax.annotation.Nonnull Pet pet) throws WebClientResponseException {
return addPetRequestCreation(pet);
}
@@ -133,7 +133,7 @@ public class PetApi {
* @param apiKey The apiKey parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec deletePetRequestCreation(Long petId, String apiKey) throws WebClientResponseException {
private ResponseSpec deletePetRequestCreation(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {
@@ -172,7 +172,7 @@ public class PetApi {
* @param apiKey The apiKey parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> deletePet(Long petId, String apiKey) throws WebClientResponseException {
public Mono<Void> deletePet(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return deletePetRequestCreation(petId, apiKey).bodyToMono(localVarReturnType);
}
@@ -186,7 +186,7 @@ public class PetApi {
* @param apiKey The apiKey parameter
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(Long petId, String apiKey) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> deletePetWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return deletePetRequestCreation(petId, apiKey).toEntity(localVarReturnType);
}
@@ -201,7 +201,7 @@ public class PetApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec deletePetWithResponseSpec(Long petId, String apiKey) throws WebClientResponseException {
public ResponseSpec deletePetWithResponseSpec(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String apiKey) throws WebClientResponseException {
return deletePetRequestCreation(petId, apiKey);
}
@@ -214,7 +214,7 @@ public class PetApi {
* @return List&lt;Pet&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec findPetsByStatusRequestCreation(List<String> status) throws WebClientResponseException {
private ResponseSpec findPetsByStatusRequestCreation(@javax.annotation.Nonnull List<String> status) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'status' is set
if (status == null) {
@@ -252,7 +252,7 @@ public class PetApi {
* @return List&lt;Pet&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public List<Pet> findPetsByStatus(List<String> status) throws WebClientResponseException {
public List<Pet> findPetsByStatus(@javax.annotation.Nonnull List<String> status) throws WebClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<Pet>() {};
return findPetsByStatusRequestCreation(status).bodyToFlux(localVarReturnType).collectList().block();
}
@@ -266,7 +266,7 @@ public class PetApi {
* @return ResponseEntity&lt;List&lt;Pet&gt;&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<List<Pet>> findPetsByStatusWithHttpInfo(List<String> status) throws WebClientResponseException {
public ResponseEntity<List<Pet>> findPetsByStatusWithHttpInfo(@javax.annotation.Nonnull List<String> status) throws WebClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<Pet>() {};
return findPetsByStatusRequestCreation(status).toEntityList(localVarReturnType).block();
}
@@ -280,7 +280,7 @@ public class PetApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec findPetsByStatusWithResponseSpec(List<String> status) throws WebClientResponseException {
public ResponseSpec findPetsByStatusWithResponseSpec(@javax.annotation.Nonnull List<String> status) throws WebClientResponseException {
return findPetsByStatusRequestCreation(status);
}
@@ -295,7 +295,7 @@ public class PetApi {
* @deprecated
*/
@Deprecated
private ResponseSpec findPetsByTagsRequestCreation(Set<String> tags) throws WebClientResponseException {
private ResponseSpec findPetsByTagsRequestCreation(@javax.annotation.Nonnull Set<String> tags) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'tags' is set
if (tags == null) {
@@ -333,7 +333,7 @@ public class PetApi {
* @return Set&lt;Pet&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Set<Pet> findPetsByTags(Set<String> tags) throws WebClientResponseException {
public Set<Pet> findPetsByTags(@javax.annotation.Nonnull Set<String> tags) throws WebClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<Pet>() {};
return findPetsByTagsRequestCreation(tags).bodyToFlux(localVarReturnType).collect(Collectors.toSet()).block();
}
@@ -347,7 +347,7 @@ public class PetApi {
* @return ResponseEntity&lt;Set&lt;Pet&gt;&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<List<Pet>> findPetsByTagsWithHttpInfo(Set<String> tags) throws WebClientResponseException {
public ResponseEntity<List<Pet>> findPetsByTagsWithHttpInfo(@javax.annotation.Nonnull Set<String> tags) throws WebClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<Pet>() {};
return findPetsByTagsRequestCreation(tags).toEntityList(localVarReturnType).block();
}
@@ -361,7 +361,7 @@ public class PetApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec findPetsByTagsWithResponseSpec(Set<String> tags) throws WebClientResponseException {
public ResponseSpec findPetsByTagsWithResponseSpec(@javax.annotation.Nonnull Set<String> tags) throws WebClientResponseException {
return findPetsByTagsRequestCreation(tags);
}
@@ -375,7 +375,7 @@ public class PetApi {
* @return Pet
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec getPetByIdRequestCreation(Long petId) throws WebClientResponseException {
private ResponseSpec getPetByIdRequestCreation(@javax.annotation.Nonnull Long petId) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {
@@ -414,7 +414,7 @@ public class PetApi {
* @return Pet
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Pet getPetById(Long petId) throws WebClientResponseException {
public Pet getPetById(@javax.annotation.Nonnull Long petId) throws WebClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<Pet>() {};
return getPetByIdRequestCreation(petId).bodyToMono(localVarReturnType).block();
}
@@ -429,7 +429,7 @@ public class PetApi {
* @return ResponseEntity&lt;Pet&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<Pet> getPetByIdWithHttpInfo(Long petId) throws WebClientResponseException {
public ResponseEntity<Pet> getPetByIdWithHttpInfo(@javax.annotation.Nonnull Long petId) throws WebClientResponseException {
ParameterizedTypeReference<Pet> localVarReturnType = new ParameterizedTypeReference<Pet>() {};
return getPetByIdRequestCreation(petId).toEntity(localVarReturnType).block();
}
@@ -444,7 +444,7 @@ public class PetApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec getPetByIdWithResponseSpec(Long petId) throws WebClientResponseException {
public ResponseSpec getPetByIdWithResponseSpec(@javax.annotation.Nonnull Long petId) throws WebClientResponseException {
return getPetByIdRequestCreation(petId);
}
@@ -458,7 +458,7 @@ public class PetApi {
* @param pet Pet object that needs to be added to the store
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec updatePetRequestCreation(Pet pet) throws WebClientResponseException {
private ResponseSpec updatePetRequestCreation(@javax.annotation.Nonnull Pet pet) throws WebClientResponseException {
Object postBody = pet;
// verify the required parameter 'pet' is set
if (pet == null) {
@@ -495,7 +495,7 @@ public class PetApi {
* @param pet Pet object that needs to be added to the store
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public void updatePet(Pet pet) throws WebClientResponseException {
public void updatePet(@javax.annotation.Nonnull Pet pet) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
updatePetRequestCreation(pet).bodyToMono(localVarReturnType).block();
}
@@ -510,7 +510,7 @@ public class PetApi {
* @param pet Pet object that needs to be added to the store
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseEntity<Void> updatePetWithHttpInfo(Pet pet) throws WebClientResponseException {
public ResponseEntity<Void> updatePetWithHttpInfo(@javax.annotation.Nonnull Pet pet) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return updatePetRequestCreation(pet).toEntity(localVarReturnType).block();
}
@@ -526,7 +526,7 @@ public class PetApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec updatePetWithResponseSpec(Pet pet) throws WebClientResponseException {
public ResponseSpec updatePetWithResponseSpec(@javax.annotation.Nonnull Pet pet) throws WebClientResponseException {
return updatePetRequestCreation(pet);
}
@@ -540,7 +540,7 @@ public class PetApi {
* @param status Updated status of the pet
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec updatePetWithFormRequestCreation(Long petId, String name, String status) throws WebClientResponseException {
private ResponseSpec updatePetWithFormRequestCreation(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {
@@ -584,7 +584,7 @@ public class PetApi {
* @param status Updated status of the pet
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> updatePetWithForm(Long petId, String name, String status) throws WebClientResponseException {
public Mono<Void> updatePetWithForm(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return updatePetWithFormRequestCreation(petId, name, status).bodyToMono(localVarReturnType);
}
@@ -599,7 +599,7 @@ public class PetApi {
* @param status Updated status of the pet
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> updatePetWithFormWithHttpInfo(Long petId, String name, String status) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> updatePetWithFormWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return updatePetWithFormRequestCreation(petId, name, status).toEntity(localVarReturnType);
}
@@ -615,7 +615,7 @@ public class PetApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec updatePetWithFormWithResponseSpec(Long petId, String name, String status) throws WebClientResponseException {
public ResponseSpec updatePetWithFormWithResponseSpec(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String name, @javax.annotation.Nullable String status) throws WebClientResponseException {
return updatePetWithFormRequestCreation(petId, name, status);
}
@@ -629,7 +629,7 @@ public class PetApi {
* @return ModelApiResponse
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec uploadFileRequestCreation(Long petId, String additionalMetadata, File _file) throws WebClientResponseException {
private ResponseSpec uploadFileRequestCreation(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {
@@ -675,7 +675,7 @@ public class PetApi {
* @return ModelApiResponse
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ModelApiResponse> uploadFile(Long petId, String additionalMetadata, File _file) throws WebClientResponseException {
public Mono<ModelApiResponse> uploadFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws WebClientResponseException {
ParameterizedTypeReference<ModelApiResponse> localVarReturnType = new ParameterizedTypeReference<ModelApiResponse>() {};
return uploadFileRequestCreation(petId, additionalMetadata, _file).bodyToMono(localVarReturnType);
}
@@ -690,7 +690,7 @@ public class PetApi {
* @return ResponseEntity&lt;ModelApiResponse&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<ModelApiResponse>> uploadFileWithHttpInfo(Long petId, String additionalMetadata, File _file) throws WebClientResponseException {
public Mono<ResponseEntity<ModelApiResponse>> uploadFileWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws WebClientResponseException {
ParameterizedTypeReference<ModelApiResponse> localVarReturnType = new ParameterizedTypeReference<ModelApiResponse>() {};
return uploadFileRequestCreation(petId, additionalMetadata, _file).toEntity(localVarReturnType);
}
@@ -705,7 +705,7 @@ public class PetApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec uploadFileWithResponseSpec(Long petId, String additionalMetadata, File _file) throws WebClientResponseException {
public ResponseSpec uploadFileWithResponseSpec(@javax.annotation.Nonnull Long petId, @javax.annotation.Nullable String additionalMetadata, @javax.annotation.Nullable File _file) throws WebClientResponseException {
return uploadFileRequestCreation(petId, additionalMetadata, _file);
}
@@ -719,7 +719,7 @@ public class PetApi {
* @return ModelApiResponse
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec uploadFileWithRequiredFileRequestCreation(Long petId, File requiredFile, String additionalMetadata) throws WebClientResponseException {
private ResponseSpec uploadFileWithRequiredFileRequestCreation(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'petId' is set
if (petId == null) {
@@ -769,7 +769,7 @@ public class PetApi {
* @return ModelApiResponse
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ModelApiResponse> uploadFileWithRequiredFile(Long petId, File requiredFile, String additionalMetadata) throws WebClientResponseException {
public Mono<ModelApiResponse> uploadFileWithRequiredFile(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws WebClientResponseException {
ParameterizedTypeReference<ModelApiResponse> localVarReturnType = new ParameterizedTypeReference<ModelApiResponse>() {};
return uploadFileWithRequiredFileRequestCreation(petId, requiredFile, additionalMetadata).bodyToMono(localVarReturnType);
}
@@ -784,7 +784,7 @@ public class PetApi {
* @return ResponseEntity&lt;ModelApiResponse&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<ModelApiResponse>> uploadFileWithRequiredFileWithHttpInfo(Long petId, File requiredFile, String additionalMetadata) throws WebClientResponseException {
public Mono<ResponseEntity<ModelApiResponse>> uploadFileWithRequiredFileWithHttpInfo(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws WebClientResponseException {
ParameterizedTypeReference<ModelApiResponse> localVarReturnType = new ParameterizedTypeReference<ModelApiResponse>() {};
return uploadFileWithRequiredFileRequestCreation(petId, requiredFile, additionalMetadata).toEntity(localVarReturnType);
}
@@ -799,7 +799,7 @@ public class PetApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec uploadFileWithRequiredFileWithResponseSpec(Long petId, File requiredFile, String additionalMetadata) throws WebClientResponseException {
public ResponseSpec uploadFileWithRequiredFileWithResponseSpec(@javax.annotation.Nonnull Long petId, @javax.annotation.Nonnull File requiredFile, @javax.annotation.Nullable String additionalMetadata) throws WebClientResponseException {
return uploadFileWithRequiredFileRequestCreation(petId, requiredFile, additionalMetadata);
}
}

View File

@@ -55,7 +55,7 @@ public class StoreApi {
* @param orderId ID of the order that needs to be deleted
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec deleteOrderRequestCreation(String orderId) throws WebClientResponseException {
private ResponseSpec deleteOrderRequestCreation(@javax.annotation.Nonnull String orderId) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'orderId' is set
if (orderId == null) {
@@ -90,7 +90,7 @@ public class StoreApi {
* @param orderId ID of the order that needs to be deleted
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> deleteOrder(String orderId) throws WebClientResponseException {
public Mono<Void> deleteOrder(@javax.annotation.Nonnull String orderId) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return deleteOrderRequestCreation(orderId).bodyToMono(localVarReturnType);
}
@@ -103,7 +103,7 @@ public class StoreApi {
* @param orderId ID of the order that needs to be deleted
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> deleteOrderWithHttpInfo(String orderId) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> deleteOrderWithHttpInfo(@javax.annotation.Nonnull String orderId) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return deleteOrderRequestCreation(orderId).toEntity(localVarReturnType);
}
@@ -117,7 +117,7 @@ public class StoreApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec deleteOrderWithResponseSpec(String orderId) throws WebClientResponseException {
public ResponseSpec deleteOrderWithResponseSpec(@javax.annotation.Nonnull String orderId) throws WebClientResponseException {
return deleteOrderRequestCreation(orderId);
}
@@ -196,7 +196,7 @@ public class StoreApi {
* @return Order
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec getOrderByIdRequestCreation(Long orderId) throws WebClientResponseException {
private ResponseSpec getOrderByIdRequestCreation(@javax.annotation.Nonnull Long orderId) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'orderId' is set
if (orderId == null) {
@@ -235,7 +235,7 @@ public class StoreApi {
* @return Order
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Order> getOrderById(Long orderId) throws WebClientResponseException {
public Mono<Order> getOrderById(@javax.annotation.Nonnull Long orderId) throws WebClientResponseException {
ParameterizedTypeReference<Order> localVarReturnType = new ParameterizedTypeReference<Order>() {};
return getOrderByIdRequestCreation(orderId).bodyToMono(localVarReturnType);
}
@@ -250,7 +250,7 @@ public class StoreApi {
* @return ResponseEntity&lt;Order&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Order>> getOrderByIdWithHttpInfo(Long orderId) throws WebClientResponseException {
public Mono<ResponseEntity<Order>> getOrderByIdWithHttpInfo(@javax.annotation.Nonnull Long orderId) throws WebClientResponseException {
ParameterizedTypeReference<Order> localVarReturnType = new ParameterizedTypeReference<Order>() {};
return getOrderByIdRequestCreation(orderId).toEntity(localVarReturnType);
}
@@ -265,7 +265,7 @@ public class StoreApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec getOrderByIdWithResponseSpec(Long orderId) throws WebClientResponseException {
public ResponseSpec getOrderByIdWithResponseSpec(@javax.annotation.Nonnull Long orderId) throws WebClientResponseException {
return getOrderByIdRequestCreation(orderId);
}
@@ -278,7 +278,7 @@ public class StoreApi {
* @return Order
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec placeOrderRequestCreation(Order order) throws WebClientResponseException {
private ResponseSpec placeOrderRequestCreation(@javax.annotation.Nonnull Order order) throws WebClientResponseException {
Object postBody = order;
// verify the required parameter 'order' is set
if (order == null) {
@@ -316,7 +316,7 @@ public class StoreApi {
* @return Order
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Order> placeOrder(Order order) throws WebClientResponseException {
public Mono<Order> placeOrder(@javax.annotation.Nonnull Order order) throws WebClientResponseException {
ParameterizedTypeReference<Order> localVarReturnType = new ParameterizedTypeReference<Order>() {};
return placeOrderRequestCreation(order).bodyToMono(localVarReturnType);
}
@@ -330,7 +330,7 @@ public class StoreApi {
* @return ResponseEntity&lt;Order&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Order>> placeOrderWithHttpInfo(Order order) throws WebClientResponseException {
public Mono<ResponseEntity<Order>> placeOrderWithHttpInfo(@javax.annotation.Nonnull Order order) throws WebClientResponseException {
ParameterizedTypeReference<Order> localVarReturnType = new ParameterizedTypeReference<Order>() {};
return placeOrderRequestCreation(order).toEntity(localVarReturnType);
}
@@ -344,7 +344,7 @@ public class StoreApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec placeOrderWithResponseSpec(Order order) throws WebClientResponseException {
public ResponseSpec placeOrderWithResponseSpec(@javax.annotation.Nonnull Order order) throws WebClientResponseException {
return placeOrderRequestCreation(order);
}
}

View File

@@ -55,7 +55,7 @@ public class UserApi {
* @param user Created user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec createUserRequestCreation(User user) throws WebClientResponseException {
private ResponseSpec createUserRequestCreation(@javax.annotation.Nonnull User user) throws WebClientResponseException {
Object postBody = user;
// verify the required parameter 'user' is set
if (user == null) {
@@ -89,7 +89,7 @@ public class UserApi {
* @param user Created user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> createUser(User user) throws WebClientResponseException {
public Mono<Void> createUser(@javax.annotation.Nonnull User user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return createUserRequestCreation(user).bodyToMono(localVarReturnType);
}
@@ -101,7 +101,7 @@ public class UserApi {
* @param user Created user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> createUserWithHttpInfo(User user) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> createUserWithHttpInfo(@javax.annotation.Nonnull User user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return createUserRequestCreation(user).toEntity(localVarReturnType);
}
@@ -114,7 +114,7 @@ public class UserApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec createUserWithResponseSpec(User user) throws WebClientResponseException {
public ResponseSpec createUserWithResponseSpec(@javax.annotation.Nonnull User user) throws WebClientResponseException {
return createUserRequestCreation(user);
}
@@ -125,7 +125,7 @@ public class UserApi {
* @param user List of user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec createUsersWithArrayInputRequestCreation(List<User> user) throws WebClientResponseException {
private ResponseSpec createUsersWithArrayInputRequestCreation(@javax.annotation.Nonnull List<User> user) throws WebClientResponseException {
Object postBody = user;
// verify the required parameter 'user' is set
if (user == null) {
@@ -159,7 +159,7 @@ public class UserApi {
* @param user List of user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> createUsersWithArrayInput(List<User> user) throws WebClientResponseException {
public Mono<Void> createUsersWithArrayInput(@javax.annotation.Nonnull List<User> user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return createUsersWithArrayInputRequestCreation(user).bodyToMono(localVarReturnType);
}
@@ -171,7 +171,7 @@ public class UserApi {
* @param user List of user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> createUsersWithArrayInputWithHttpInfo(List<User> user) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> createUsersWithArrayInputWithHttpInfo(@javax.annotation.Nonnull List<User> user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return createUsersWithArrayInputRequestCreation(user).toEntity(localVarReturnType);
}
@@ -184,7 +184,7 @@ public class UserApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec createUsersWithArrayInputWithResponseSpec(List<User> user) throws WebClientResponseException {
public ResponseSpec createUsersWithArrayInputWithResponseSpec(@javax.annotation.Nonnull List<User> user) throws WebClientResponseException {
return createUsersWithArrayInputRequestCreation(user);
}
@@ -195,7 +195,7 @@ public class UserApi {
* @param user List of user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec createUsersWithListInputRequestCreation(List<User> user) throws WebClientResponseException {
private ResponseSpec createUsersWithListInputRequestCreation(@javax.annotation.Nonnull List<User> user) throws WebClientResponseException {
Object postBody = user;
// verify the required parameter 'user' is set
if (user == null) {
@@ -229,7 +229,7 @@ public class UserApi {
* @param user List of user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> createUsersWithListInput(List<User> user) throws WebClientResponseException {
public Mono<Void> createUsersWithListInput(@javax.annotation.Nonnull List<User> user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return createUsersWithListInputRequestCreation(user).bodyToMono(localVarReturnType);
}
@@ -241,7 +241,7 @@ public class UserApi {
* @param user List of user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> createUsersWithListInputWithHttpInfo(List<User> user) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> createUsersWithListInputWithHttpInfo(@javax.annotation.Nonnull List<User> user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return createUsersWithListInputRequestCreation(user).toEntity(localVarReturnType);
}
@@ -254,7 +254,7 @@ public class UserApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec createUsersWithListInputWithResponseSpec(List<User> user) throws WebClientResponseException {
public ResponseSpec createUsersWithListInputWithResponseSpec(@javax.annotation.Nonnull List<User> user) throws WebClientResponseException {
return createUsersWithListInputRequestCreation(user);
}
@@ -266,7 +266,7 @@ public class UserApi {
* @param username The name that needs to be deleted
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec deleteUserRequestCreation(String username) throws WebClientResponseException {
private ResponseSpec deleteUserRequestCreation(@javax.annotation.Nonnull String username) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'username' is set
if (username == null) {
@@ -301,7 +301,7 @@ public class UserApi {
* @param username The name that needs to be deleted
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> deleteUser(String username) throws WebClientResponseException {
public Mono<Void> deleteUser(@javax.annotation.Nonnull String username) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return deleteUserRequestCreation(username).bodyToMono(localVarReturnType);
}
@@ -314,7 +314,7 @@ public class UserApi {
* @param username The name that needs to be deleted
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> deleteUserWithHttpInfo(String username) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> deleteUserWithHttpInfo(@javax.annotation.Nonnull String username) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return deleteUserRequestCreation(username).toEntity(localVarReturnType);
}
@@ -328,7 +328,7 @@ public class UserApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec deleteUserWithResponseSpec(String username) throws WebClientResponseException {
public ResponseSpec deleteUserWithResponseSpec(@javax.annotation.Nonnull String username) throws WebClientResponseException {
return deleteUserRequestCreation(username);
}
@@ -342,7 +342,7 @@ public class UserApi {
* @return User
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec getUserByNameRequestCreation(String username) throws WebClientResponseException {
private ResponseSpec getUserByNameRequestCreation(@javax.annotation.Nonnull String username) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'username' is set
if (username == null) {
@@ -381,7 +381,7 @@ public class UserApi {
* @return User
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<User> getUserByName(String username) throws WebClientResponseException {
public Mono<User> getUserByName(@javax.annotation.Nonnull String username) throws WebClientResponseException {
ParameterizedTypeReference<User> localVarReturnType = new ParameterizedTypeReference<User>() {};
return getUserByNameRequestCreation(username).bodyToMono(localVarReturnType);
}
@@ -396,7 +396,7 @@ public class UserApi {
* @return ResponseEntity&lt;User&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<User>> getUserByNameWithHttpInfo(String username) throws WebClientResponseException {
public Mono<ResponseEntity<User>> getUserByNameWithHttpInfo(@javax.annotation.Nonnull String username) throws WebClientResponseException {
ParameterizedTypeReference<User> localVarReturnType = new ParameterizedTypeReference<User>() {};
return getUserByNameRequestCreation(username).toEntity(localVarReturnType);
}
@@ -411,7 +411,7 @@ public class UserApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec getUserByNameWithResponseSpec(String username) throws WebClientResponseException {
public ResponseSpec getUserByNameWithResponseSpec(@javax.annotation.Nonnull String username) throws WebClientResponseException {
return getUserByNameRequestCreation(username);
}
@@ -425,7 +425,7 @@ public class UserApi {
* @return String
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec loginUserRequestCreation(String username, String password) throws WebClientResponseException {
private ResponseSpec loginUserRequestCreation(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws WebClientResponseException {
Object postBody = null;
// verify the required parameter 'username' is set
if (username == null) {
@@ -469,7 +469,7 @@ public class UserApi {
* @return String
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<String> loginUser(String username, String password) throws WebClientResponseException {
public Mono<String> loginUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws WebClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<String>() {};
return loginUserRequestCreation(username, password).bodyToMono(localVarReturnType);
}
@@ -484,7 +484,7 @@ public class UserApi {
* @return ResponseEntity&lt;String&gt;
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<String>> loginUserWithHttpInfo(String username, String password) throws WebClientResponseException {
public Mono<ResponseEntity<String>> loginUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws WebClientResponseException {
ParameterizedTypeReference<String> localVarReturnType = new ParameterizedTypeReference<String>() {};
return loginUserRequestCreation(username, password).toEntity(localVarReturnType);
}
@@ -499,7 +499,7 @@ public class UserApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec loginUserWithResponseSpec(String username, String password) throws WebClientResponseException {
public ResponseSpec loginUserWithResponseSpec(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull String password) throws WebClientResponseException {
return loginUserRequestCreation(username, password);
}
@@ -572,7 +572,7 @@ public class UserApi {
* @param user Updated user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
private ResponseSpec updateUserRequestCreation(String username, User user) throws WebClientResponseException {
private ResponseSpec updateUserRequestCreation(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws WebClientResponseException {
Object postBody = user;
// verify the required parameter 'username' is set
if (username == null) {
@@ -614,7 +614,7 @@ public class UserApi {
* @param user Updated user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<Void> updateUser(String username, User user) throws WebClientResponseException {
public Mono<Void> updateUser(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return updateUserRequestCreation(username, user).bodyToMono(localVarReturnType);
}
@@ -628,7 +628,7 @@ public class UserApi {
* @param user Updated user object
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public Mono<ResponseEntity<Void>> updateUserWithHttpInfo(String username, User user) throws WebClientResponseException {
public Mono<ResponseEntity<Void>> updateUserWithHttpInfo(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws WebClientResponseException {
ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<Void>() {};
return updateUserRequestCreation(username, user).toEntity(localVarReturnType);
}
@@ -643,7 +643,7 @@ public class UserApi {
* @return ResponseSpec
* @throws WebClientResponseException if an error occurs while attempting to invoke the API
*/
public ResponseSpec updateUserWithResponseSpec(String username, User user) throws WebClientResponseException {
public ResponseSpec updateUserWithResponseSpec(@javax.annotation.Nonnull String username, @javax.annotation.Nonnull User user) throws WebClientResponseException {
return updateUserRequestCreation(username, user);
}
}