[Java][client] make it possible to send explicit nulls for nullable fields (#3474)

* [Java][client] make it possible to send explicit nulls for nullable fields

* Regenerate samples
This commit is contained in:
Slavek Kabrda
2019-08-16 10:26:06 +02:00
committed by William Cheng
parent cd9eea2fe5
commit 5182955cca
1117 changed files with 23253 additions and 2935 deletions

View File

@@ -101,7 +101,7 @@ public class Example {
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
UserApi apiInstance = new UserApi(defaultClient);
List<User> body = Arrays.asList(null); // List<User> | List of user object
List<User> body = Arrays.asList(); // List<User> | List of user object
try {
apiInstance.createUsersWithArrayInput(body);
} catch (ApiException e) {
@@ -163,7 +163,7 @@ public class Example {
defaultClient.setBasePath("http://petstore.swagger.io:80/v2");
UserApi apiInstance = new UserApi(defaultClient);
List<User> body = Arrays.asList(null); // List<User> | List of user object
List<User> body = Arrays.asList(); // List<User> | List of user object
try {
apiInstance.createUsersWithListInput(body);
} catch (ApiException e) {