[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

@@ -51,13 +51,13 @@ public class AdditionalPropertiesClass {
private Map<String, Map<String, Object>> mapMapAnytype = null;
@JsonProperty("anytype_1")
private Object anytype1 = null;
private Object anytype1;
@JsonProperty("anytype_2")
private Object anytype2 = null;
private Object anytype2;
@JsonProperty("anytype_3")
private Object anytype3 = null;
private Object anytype3;
public AdditionalPropertiesClass mapString(Map<String, String> mapString) {
this.mapString = mapString;

View File

@@ -17,7 +17,7 @@ import javax.validation.constraints.*;
public class FileSchemaTestClass {
@JsonProperty("file")
private java.io.File file = null;
private java.io.File file;
@JsonProperty("files")
@Valid

View File

@@ -23,7 +23,7 @@ public class Pet {
private Long id;
@JsonProperty("category")
private Category category = null;
private Category category;
@JsonProperty("name")
private String name;