fix: honor required fields in jackson @JsonProperty annotations (#21876)

* fix: honor required fields in jackson @JsonProperty annotations

* add samples

* fix: trigger build

* fix: undo

* update to handle nullable as well

---------

Co-authored-by: Erik Lagerholm <erik.lagerholm@volvocars.com>
This commit is contained in:
William Cheng
2025-09-03 16:41:59 +08:00
committed by GitHub
parent babb3e272b
commit 6e443f1354
1415 changed files with 8393 additions and 8393 deletions

View File

@@ -103,14 +103,14 @@ public class AdditionalPropertiesClass {
* @return mapProperty
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP_PROPERTY)
@JsonProperty(value = JSON_PROPERTY_MAP_PROPERTY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, String> getMapProperty() {
return mapProperty;
}
@JsonProperty(JSON_PROPERTY_MAP_PROPERTY)
@JsonProperty(value = JSON_PROPERTY_MAP_PROPERTY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapProperty(@javax.annotation.Nullable Map<String, String> mapProperty) {
this.mapProperty = mapProperty;
@@ -135,14 +135,14 @@ public class AdditionalPropertiesClass {
* @return mapOfMapProperty
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY)
@JsonProperty(value = JSON_PROPERTY_MAP_OF_MAP_PROPERTY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Map<String, String>> getMapOfMapProperty() {
return mapOfMapProperty;
}
@JsonProperty(JSON_PROPERTY_MAP_OF_MAP_PROPERTY)
@JsonProperty(value = JSON_PROPERTY_MAP_OF_MAP_PROPERTY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapOfMapProperty(@javax.annotation.Nullable Map<String, Map<String, String>> mapOfMapProperty) {
this.mapOfMapProperty = mapOfMapProperty;
@@ -164,7 +164,7 @@ public class AdditionalPropertiesClass {
return anytype1.orElse(null);
}
@JsonProperty(JSON_PROPERTY_ANYTYPE1)
@JsonProperty(value = JSON_PROPERTY_ANYTYPE1, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<Object> getAnytype1_JsonNullable() {
@@ -191,14 +191,14 @@ public class AdditionalPropertiesClass {
* @return mapWithUndeclaredPropertiesAnytype1
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1)
@JsonProperty(value = JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Object getMapWithUndeclaredPropertiesAnytype1() {
return mapWithUndeclaredPropertiesAnytype1;
}
@JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1)
@JsonProperty(value = JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE1, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapWithUndeclaredPropertiesAnytype1(@javax.annotation.Nullable Object mapWithUndeclaredPropertiesAnytype1) {
this.mapWithUndeclaredPropertiesAnytype1 = mapWithUndeclaredPropertiesAnytype1;
@@ -215,14 +215,14 @@ public class AdditionalPropertiesClass {
* @return mapWithUndeclaredPropertiesAnytype2
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2)
@JsonProperty(value = JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Object getMapWithUndeclaredPropertiesAnytype2() {
return mapWithUndeclaredPropertiesAnytype2;
}
@JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2)
@JsonProperty(value = JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE2, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapWithUndeclaredPropertiesAnytype2(@javax.annotation.Nullable Object mapWithUndeclaredPropertiesAnytype2) {
this.mapWithUndeclaredPropertiesAnytype2 = mapWithUndeclaredPropertiesAnytype2;
@@ -247,14 +247,14 @@ public class AdditionalPropertiesClass {
* @return mapWithUndeclaredPropertiesAnytype3
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3)
@JsonProperty(value = JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3, required = false)
@JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Object> getMapWithUndeclaredPropertiesAnytype3() {
return mapWithUndeclaredPropertiesAnytype3;
}
@JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3)
@JsonProperty(value = JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_ANYTYPE3, required = false)
@JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
public void setMapWithUndeclaredPropertiesAnytype3(@javax.annotation.Nullable Map<String, Object> mapWithUndeclaredPropertiesAnytype3) {
this.mapWithUndeclaredPropertiesAnytype3 = mapWithUndeclaredPropertiesAnytype3;
@@ -271,14 +271,14 @@ public class AdditionalPropertiesClass {
* @return emptyMap
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_EMPTY_MAP)
@JsonProperty(value = JSON_PROPERTY_EMPTY_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Object getEmptyMap() {
return emptyMap;
}
@JsonProperty(JSON_PROPERTY_EMPTY_MAP)
@JsonProperty(value = JSON_PROPERTY_EMPTY_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEmptyMap(@javax.annotation.Nullable Object emptyMap) {
this.emptyMap = emptyMap;
@@ -303,14 +303,14 @@ public class AdditionalPropertiesClass {
* @return mapWithUndeclaredPropertiesString
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING)
@JsonProperty(value = JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, String> getMapWithUndeclaredPropertiesString() {
return mapWithUndeclaredPropertiesString;
}
@JsonProperty(JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING)
@JsonProperty(value = JSON_PROPERTY_MAP_WITH_UNDECLARED_PROPERTIES_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapWithUndeclaredPropertiesString(@javax.annotation.Nullable Map<String, String> mapWithUndeclaredPropertiesString) {
this.mapWithUndeclaredPropertiesString = mapWithUndeclaredPropertiesString;

View File

@@ -74,14 +74,14 @@ public class Animal {
* @return className
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getClassName() {
return className;
}
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setClassName(@javax.annotation.Nonnull String className) {
this.className = className;
@@ -98,14 +98,14 @@ public class Animal {
* @return color
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_COLOR)
@JsonProperty(value = JSON_PROPERTY_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getColor() {
return color;
}
@JsonProperty(JSON_PROPERTY_COLOR)
@JsonProperty(value = JSON_PROPERTY_COLOR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setColor(@javax.annotation.Nullable String color) {
this.color = color;

View File

@@ -60,14 +60,14 @@ public class Apple {
* @return cultivar
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CULTIVAR)
@JsonProperty(value = JSON_PROPERTY_CULTIVAR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCultivar() {
return cultivar;
}
@JsonProperty(JSON_PROPERTY_CULTIVAR)
@JsonProperty(value = JSON_PROPERTY_CULTIVAR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCultivar(@javax.annotation.Nullable String cultivar) {
this.cultivar = cultivar;
@@ -84,14 +84,14 @@ public class Apple {
* @return origin
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ORIGIN)
@JsonProperty(value = JSON_PROPERTY_ORIGIN, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getOrigin() {
return origin;
}
@JsonProperty(JSON_PROPERTY_ORIGIN)
@JsonProperty(value = JSON_PROPERTY_ORIGIN, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOrigin(@javax.annotation.Nullable String origin) {
this.origin = origin;

View File

@@ -60,14 +60,14 @@ public class AppleReq {
* @return cultivar
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CULTIVAR)
@JsonProperty(value = JSON_PROPERTY_CULTIVAR, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getCultivar() {
return cultivar;
}
@JsonProperty(JSON_PROPERTY_CULTIVAR)
@JsonProperty(value = JSON_PROPERTY_CULTIVAR, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setCultivar(@javax.annotation.Nonnull String cultivar) {
this.cultivar = cultivar;
@@ -84,14 +84,14 @@ public class AppleReq {
* @return mealy
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MEALY)
@JsonProperty(value = JSON_PROPERTY_MEALY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getMealy() {
return mealy;
}
@JsonProperty(JSON_PROPERTY_MEALY)
@JsonProperty(value = JSON_PROPERTY_MEALY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMealy(@javax.annotation.Nullable Boolean mealy) {
this.mealy = mealy;

View File

@@ -66,14 +66,14 @@ public class ArrayOfArrayOfNumberOnly {
* @return arrayArrayNumber
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ARRAY_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<List<BigDecimal>> getArrayArrayNumber() {
return arrayArrayNumber;
}
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ARRAY_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayArrayNumber(@javax.annotation.Nullable List<List<BigDecimal>> arrayArrayNumber) {
this.arrayArrayNumber = arrayArrayNumber;

View File

@@ -66,14 +66,14 @@ public class ArrayOfNumberOnly {
* @return arrayNumber
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ARRAY_NUMBER)
@JsonProperty(value = JSON_PROPERTY_ARRAY_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<BigDecimal> getArrayNumber() {
return arrayNumber;
}
@JsonProperty(JSON_PROPERTY_ARRAY_NUMBER)
@JsonProperty(value = JSON_PROPERTY_ARRAY_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayNumber(@javax.annotation.Nullable List<BigDecimal> arrayNumber) {
this.arrayNumber = arrayNumber;

View File

@@ -76,14 +76,14 @@ public class ArrayTest {
* @return arrayOfString
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING)
@JsonProperty(value = JSON_PROPERTY_ARRAY_OF_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<String> getArrayOfString() {
return arrayOfString;
}
@JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING)
@JsonProperty(value = JSON_PROPERTY_ARRAY_OF_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayOfString(@javax.annotation.Nullable List<String> arrayOfString) {
this.arrayOfString = arrayOfString;
@@ -108,14 +108,14 @@ public class ArrayTest {
* @return arrayArrayOfInteger
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<List<Long>> getArrayArrayOfInteger() {
return arrayArrayOfInteger;
}
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayArrayOfInteger(@javax.annotation.Nullable List<List<Long>> arrayArrayOfInteger) {
this.arrayArrayOfInteger = arrayArrayOfInteger;
@@ -140,14 +140,14 @@ public class ArrayTest {
* @return arrayArrayOfModel
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
return arrayArrayOfModel;
}
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayArrayOfModel(@javax.annotation.Nullable List<List<ReadOnlyFirst>> arrayArrayOfModel) {
this.arrayArrayOfModel = arrayArrayOfModel;

View File

@@ -56,14 +56,14 @@ public class Banana {
* @return lengthCm
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LENGTH_CM)
@JsonProperty(value = JSON_PROPERTY_LENGTH_CM, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getLengthCm() {
return lengthCm;
}
@JsonProperty(JSON_PROPERTY_LENGTH_CM)
@JsonProperty(value = JSON_PROPERTY_LENGTH_CM, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLengthCm(@javax.annotation.Nullable BigDecimal lengthCm) {
this.lengthCm = lengthCm;

View File

@@ -61,14 +61,14 @@ public class BananaReq {
* @return lengthCm
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_LENGTH_CM)
@JsonProperty(value = JSON_PROPERTY_LENGTH_CM, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public BigDecimal getLengthCm() {
return lengthCm;
}
@JsonProperty(JSON_PROPERTY_LENGTH_CM)
@JsonProperty(value = JSON_PROPERTY_LENGTH_CM, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setLengthCm(@javax.annotation.Nonnull BigDecimal lengthCm) {
this.lengthCm = lengthCm;
@@ -85,14 +85,14 @@ public class BananaReq {
* @return sweet
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SWEET)
@JsonProperty(value = JSON_PROPERTY_SWEET, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getSweet() {
return sweet;
}
@JsonProperty(JSON_PROPERTY_SWEET)
@JsonProperty(value = JSON_PROPERTY_SWEET, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSweet(@javax.annotation.Nullable Boolean sweet) {
this.sweet = sweet;

View File

@@ -55,14 +55,14 @@ public class BasquePig {
* @return className
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getClassName() {
return className;
}
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setClassName(@javax.annotation.Nonnull String className) {
this.className = className;

View File

@@ -80,14 +80,14 @@ public class Capitalization {
* @return smallCamel
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SMALL_CAMEL)
@JsonProperty(value = JSON_PROPERTY_SMALL_CAMEL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSmallCamel() {
return smallCamel;
}
@JsonProperty(JSON_PROPERTY_SMALL_CAMEL)
@JsonProperty(value = JSON_PROPERTY_SMALL_CAMEL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSmallCamel(@javax.annotation.Nullable String smallCamel) {
this.smallCamel = smallCamel;
@@ -104,14 +104,14 @@ public class Capitalization {
* @return capitalCamel
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL)
@JsonProperty(value = JSON_PROPERTY_CAPITAL_CAMEL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCapitalCamel() {
return capitalCamel;
}
@JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL)
@JsonProperty(value = JSON_PROPERTY_CAPITAL_CAMEL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCapitalCamel(@javax.annotation.Nullable String capitalCamel) {
this.capitalCamel = capitalCamel;
@@ -128,14 +128,14 @@ public class Capitalization {
* @return smallSnake
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SMALL_SNAKE)
@JsonProperty(value = JSON_PROPERTY_SMALL_SNAKE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSmallSnake() {
return smallSnake;
}
@JsonProperty(JSON_PROPERTY_SMALL_SNAKE)
@JsonProperty(value = JSON_PROPERTY_SMALL_SNAKE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSmallSnake(@javax.annotation.Nullable String smallSnake) {
this.smallSnake = smallSnake;
@@ -152,14 +152,14 @@ public class Capitalization {
* @return capitalSnake
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE)
@JsonProperty(value = JSON_PROPERTY_CAPITAL_SNAKE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCapitalSnake() {
return capitalSnake;
}
@JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE)
@JsonProperty(value = JSON_PROPERTY_CAPITAL_SNAKE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCapitalSnake(@javax.annotation.Nullable String capitalSnake) {
this.capitalSnake = capitalSnake;
@@ -176,14 +176,14 @@ public class Capitalization {
* @return scAETHFlowPoints
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS)
@JsonProperty(value = JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getScAETHFlowPoints() {
return scAETHFlowPoints;
}
@JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS)
@JsonProperty(value = JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setScAETHFlowPoints(@javax.annotation.Nullable String scAETHFlowPoints) {
this.scAETHFlowPoints = scAETHFlowPoints;
@@ -200,14 +200,14 @@ public class Capitalization {
* @return ATT_NAME
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E)
@JsonProperty(value = JSON_PROPERTY_A_T_T_N_A_M_E, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getATTNAME() {
return ATT_NAME;
}
@JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E)
@JsonProperty(value = JSON_PROPERTY_A_T_T_N_A_M_E, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setATTNAME(@javax.annotation.Nullable String ATT_NAME) {
this.ATT_NAME = ATT_NAME;

View File

@@ -67,14 +67,14 @@ public class Cat extends Animal {
* @return declawed
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonProperty(value = JSON_PROPERTY_DECLAWED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getDeclawed() {
return declawed;
}
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonProperty(value = JSON_PROPERTY_DECLAWED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeclawed(@javax.annotation.Nullable Boolean declawed) {
this.declawed = declawed;

View File

@@ -60,14 +60,14 @@ public class Category {
* @return id
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(@javax.annotation.Nullable Long id) {
this.id = id;
@@ -84,14 +84,14 @@ public class Category {
* @return name
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(@javax.annotation.Nonnull String name) {
this.name = name;

View File

@@ -73,14 +73,14 @@ public class ChildCat extends ParentPet {
* @return name
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(@javax.annotation.Nullable String name) {
this.name = name;
@@ -105,14 +105,14 @@ public class ChildCat extends ParentPet {
* @return petType
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PET_TYPE)
@JsonProperty(value = JSON_PROPERTY_PET_TYPE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPetType() {
return petType;
}
@JsonProperty(JSON_PROPERTY_PET_TYPE)
@JsonProperty(value = JSON_PROPERTY_PET_TYPE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPetType(@javax.annotation.Nullable String petType) {
if (!PET_TYPE_VALUES.contains(petType)) {

View File

@@ -55,14 +55,14 @@ public class ClassModel {
* @return propertyClass
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonProperty(value = JSON_PROPERTY_PROPERTY_CLASS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPropertyClass() {
return propertyClass;
}
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonProperty(value = JSON_PROPERTY_PROPERTY_CLASS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPropertyClass(@javax.annotation.Nullable String propertyClass) {
this.propertyClass = propertyClass;

View File

@@ -55,14 +55,14 @@ public class Client {
* @return client
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CLIENT)
@JsonProperty(value = JSON_PROPERTY_CLIENT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getClient() {
return client;
}
@JsonProperty(JSON_PROPERTY_CLIENT)
@JsonProperty(value = JSON_PROPERTY_CLIENT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setClient(@javax.annotation.Nullable String client) {
this.client = client;

View File

@@ -60,14 +60,14 @@ public class ComplexQuadrilateral {
* @return shapeType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getShapeType() {
return shapeType;
}
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setShapeType(@javax.annotation.Nonnull String shapeType) {
this.shapeType = shapeType;
@@ -84,14 +84,14 @@ public class ComplexQuadrilateral {
* @return quadrilateralType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE)
@JsonProperty(value = JSON_PROPERTY_QUADRILATERAL_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getQuadrilateralType() {
return quadrilateralType;
}
@JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE)
@JsonProperty(value = JSON_PROPERTY_QUADRILATERAL_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setQuadrilateralType(@javax.annotation.Nonnull String quadrilateralType) {
this.quadrilateralType = quadrilateralType;

View File

@@ -55,14 +55,14 @@ public class DanishPig {
* @return className
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getClassName() {
return className;
}
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setClassName(@javax.annotation.Nonnull String className) {
this.className = className;

View File

@@ -57,14 +57,14 @@ public class DeprecatedObject {
* @return name
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(@javax.annotation.Nullable String name) {
this.name = name;

View File

@@ -66,14 +66,14 @@ public class Dog extends Animal {
* @return breed
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BREED)
@JsonProperty(value = JSON_PROPERTY_BREED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBreed() {
return breed;
}
@JsonProperty(JSON_PROPERTY_BREED)
@JsonProperty(value = JSON_PROPERTY_BREED, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBreed(@javax.annotation.Nullable String breed) {
this.breed = breed;

View File

@@ -83,14 +83,14 @@ public class Drawing {
* @return mainShape
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAIN_SHAPE)
@JsonProperty(value = JSON_PROPERTY_MAIN_SHAPE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Shape getMainShape() {
return mainShape;
}
@JsonProperty(JSON_PROPERTY_MAIN_SHAPE)
@JsonProperty(value = JSON_PROPERTY_MAIN_SHAPE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMainShape(@javax.annotation.Nullable Shape mainShape) {
this.mainShape = mainShape;
@@ -107,14 +107,14 @@ public class Drawing {
* @return shapeOrNull
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SHAPE_OR_NULL)
@JsonProperty(value = JSON_PROPERTY_SHAPE_OR_NULL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ShapeOrNull getShapeOrNull() {
return shapeOrNull;
}
@JsonProperty(JSON_PROPERTY_SHAPE_OR_NULL)
@JsonProperty(value = JSON_PROPERTY_SHAPE_OR_NULL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setShapeOrNull(@javax.annotation.Nullable ShapeOrNull shapeOrNull) {
this.shapeOrNull = shapeOrNull;
@@ -136,7 +136,7 @@ public class Drawing {
return nullableShape.orElse(null);
}
@JsonProperty(JSON_PROPERTY_NULLABLE_SHAPE)
@JsonProperty(value = JSON_PROPERTY_NULLABLE_SHAPE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<NullableShape> getNullableShape_JsonNullable() {
@@ -171,14 +171,14 @@ public class Drawing {
* @return shapes
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SHAPES)
@JsonProperty(value = JSON_PROPERTY_SHAPES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Shape> getShapes() {
return shapes;
}
@JsonProperty(JSON_PROPERTY_SHAPES)
@JsonProperty(value = JSON_PROPERTY_SHAPES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setShapes(@javax.annotation.Nullable List<Shape> shapes) {
this.shapes = shapes;

View File

@@ -132,14 +132,14 @@ public class EnumArrays {
* @return justSymbol
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_JUST_SYMBOL)
@JsonProperty(value = JSON_PROPERTY_JUST_SYMBOL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JustSymbolEnum getJustSymbol() {
return justSymbol;
}
@JsonProperty(JSON_PROPERTY_JUST_SYMBOL)
@JsonProperty(value = JSON_PROPERTY_JUST_SYMBOL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setJustSymbol(@javax.annotation.Nullable JustSymbolEnum justSymbol) {
this.justSymbol = justSymbol;
@@ -164,14 +164,14 @@ public class EnumArrays {
* @return arrayEnum
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ARRAY_ENUM)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ENUM, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<ArrayEnumEnum> getArrayEnum() {
return arrayEnum;
}
@JsonProperty(JSON_PROPERTY_ARRAY_ENUM)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ENUM, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayEnum(@javax.annotation.Nullable List<ArrayEnumEnum> arrayEnum) {
this.arrayEnum = arrayEnum;

View File

@@ -281,14 +281,14 @@ public class EnumTest {
* @return enumString
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ENUM_STRING)
@JsonProperty(value = JSON_PROPERTY_ENUM_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public EnumStringEnum getEnumString() {
return enumString;
}
@JsonProperty(JSON_PROPERTY_ENUM_STRING)
@JsonProperty(value = JSON_PROPERTY_ENUM_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEnumString(@javax.annotation.Nullable EnumStringEnum enumString) {
this.enumString = enumString;
@@ -305,14 +305,14 @@ public class EnumTest {
* @return enumStringRequired
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED)
@JsonProperty(value = JSON_PROPERTY_ENUM_STRING_REQUIRED, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public EnumStringRequiredEnum getEnumStringRequired() {
return enumStringRequired;
}
@JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED)
@JsonProperty(value = JSON_PROPERTY_ENUM_STRING_REQUIRED, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setEnumStringRequired(@javax.annotation.Nonnull EnumStringRequiredEnum enumStringRequired) {
this.enumStringRequired = enumStringRequired;
@@ -329,14 +329,14 @@ public class EnumTest {
* @return enumInteger
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER)
@JsonProperty(value = JSON_PROPERTY_ENUM_INTEGER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public EnumIntegerEnum getEnumInteger() {
return enumInteger;
}
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER)
@JsonProperty(value = JSON_PROPERTY_ENUM_INTEGER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEnumInteger(@javax.annotation.Nullable EnumIntegerEnum enumInteger) {
this.enumInteger = enumInteger;
@@ -353,14 +353,14 @@ public class EnumTest {
* @return enumIntegerOnly
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER_ONLY)
@JsonProperty(value = JSON_PROPERTY_ENUM_INTEGER_ONLY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public EnumIntegerOnlyEnum getEnumIntegerOnly() {
return enumIntegerOnly;
}
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER_ONLY)
@JsonProperty(value = JSON_PROPERTY_ENUM_INTEGER_ONLY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEnumIntegerOnly(@javax.annotation.Nullable EnumIntegerOnlyEnum enumIntegerOnly) {
this.enumIntegerOnly = enumIntegerOnly;
@@ -377,14 +377,14 @@ public class EnumTest {
* @return enumNumber
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ENUM_NUMBER)
@JsonProperty(value = JSON_PROPERTY_ENUM_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public EnumNumberEnum getEnumNumber() {
return enumNumber;
}
@JsonProperty(JSON_PROPERTY_ENUM_NUMBER)
@JsonProperty(value = JSON_PROPERTY_ENUM_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEnumNumber(@javax.annotation.Nullable EnumNumberEnum enumNumber) {
this.enumNumber = enumNumber;
@@ -406,7 +406,7 @@ public class EnumTest {
return outerEnum.orElse(null);
}
@JsonProperty(JSON_PROPERTY_OUTER_ENUM)
@JsonProperty(value = JSON_PROPERTY_OUTER_ENUM, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<OuterEnum> getOuterEnum_JsonNullable() {
@@ -433,14 +433,14 @@ public class EnumTest {
* @return outerEnumInteger
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER)
@JsonProperty(value = JSON_PROPERTY_OUTER_ENUM_INTEGER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OuterEnumInteger getOuterEnumInteger() {
return outerEnumInteger;
}
@JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER)
@JsonProperty(value = JSON_PROPERTY_OUTER_ENUM_INTEGER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOuterEnumInteger(@javax.annotation.Nullable OuterEnumInteger outerEnumInteger) {
this.outerEnumInteger = outerEnumInteger;
@@ -457,14 +457,14 @@ public class EnumTest {
* @return outerEnumDefaultValue
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE)
@JsonProperty(value = JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OuterEnumDefaultValue getOuterEnumDefaultValue() {
return outerEnumDefaultValue;
}
@JsonProperty(JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE)
@JsonProperty(value = JSON_PROPERTY_OUTER_ENUM_DEFAULT_VALUE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOuterEnumDefaultValue(@javax.annotation.Nullable OuterEnumDefaultValue outerEnumDefaultValue) {
this.outerEnumDefaultValue = outerEnumDefaultValue;
@@ -481,14 +481,14 @@ public class EnumTest {
* @return outerEnumIntegerDefaultValue
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE)
@JsonProperty(value = JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() {
return outerEnumIntegerDefaultValue;
}
@JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE)
@JsonProperty(value = JSON_PROPERTY_OUTER_ENUM_INTEGER_DEFAULT_VALUE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setOuterEnumIntegerDefaultValue(@javax.annotation.Nullable OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue) {
this.outerEnumIntegerDefaultValue = outerEnumIntegerDefaultValue;

View File

@@ -60,14 +60,14 @@ public class EquilateralTriangle {
* @return shapeType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getShapeType() {
return shapeType;
}
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setShapeType(@javax.annotation.Nonnull String shapeType) {
this.shapeType = shapeType;
@@ -84,14 +84,14 @@ public class EquilateralTriangle {
* @return triangleType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE)
@JsonProperty(value = JSON_PROPERTY_TRIANGLE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTriangleType() {
return triangleType;
}
@JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE)
@JsonProperty(value = JSON_PROPERTY_TRIANGLE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTriangleType(@javax.annotation.Nonnull String triangleType) {
this.triangleType = triangleType;

View File

@@ -63,14 +63,14 @@ public class FakeBigDecimalMap200Response {
* @return someId
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SOME_ID)
@JsonProperty(value = JSON_PROPERTY_SOME_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getSomeId() {
return someId;
}
@JsonProperty(JSON_PROPERTY_SOME_ID)
@JsonProperty(value = JSON_PROPERTY_SOME_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSomeId(@javax.annotation.Nullable BigDecimal someId) {
this.someId = someId;
@@ -95,14 +95,14 @@ public class FakeBigDecimalMap200Response {
* @return someMap
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SOME_MAP)
@JsonProperty(value = JSON_PROPERTY_SOME_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, BigDecimal> getSomeMap() {
return someMap;
}
@JsonProperty(JSON_PROPERTY_SOME_MAP)
@JsonProperty(value = JSON_PROPERTY_SOME_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSomeMap(@javax.annotation.Nullable Map<String, BigDecimal> someMap) {
this.someMap = someMap;

View File

@@ -63,14 +63,14 @@ public class FileSchemaTestClass {
* @return _file
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_FILE)
@JsonProperty(value = JSON_PROPERTY_FILE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ModelFile getFile() {
return _file;
}
@JsonProperty(JSON_PROPERTY_FILE)
@JsonProperty(value = JSON_PROPERTY_FILE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFile(@javax.annotation.Nullable ModelFile _file) {
this._file = _file;
@@ -95,14 +95,14 @@ public class FileSchemaTestClass {
* @return files
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_FILES)
@JsonProperty(value = JSON_PROPERTY_FILES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<ModelFile> getFiles() {
return files;
}
@JsonProperty(JSON_PROPERTY_FILES)
@JsonProperty(value = JSON_PROPERTY_FILES, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFiles(@javax.annotation.Nullable List<ModelFile> files) {
this.files = files;

View File

@@ -55,14 +55,14 @@ public class Foo {
* @return bar
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BAR)
@JsonProperty(value = JSON_PROPERTY_BAR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBar() {
return bar;
}
@JsonProperty(JSON_PROPERTY_BAR)
@JsonProperty(value = JSON_PROPERTY_BAR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBar(@javax.annotation.Nullable String bar) {
this.bar = bar;

View File

@@ -56,14 +56,14 @@ public class FooGetDefaultResponse {
* @return string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonProperty(value = JSON_PROPERTY_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Foo getString() {
return string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonProperty(value = JSON_PROPERTY_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setString(@javax.annotation.Nullable Foo string) {
this.string = string;

View File

@@ -137,14 +137,14 @@ public class FormatTest {
* @return integer
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonProperty(value = JSON_PROPERTY_INTEGER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
return integer;
}
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonProperty(value = JSON_PROPERTY_INTEGER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInteger(@javax.annotation.Nullable Integer integer) {
this.integer = integer;
@@ -163,14 +163,14 @@ public class FormatTest {
* @return int32
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INT32)
@JsonProperty(value = JSON_PROPERTY_INT32, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInt32() {
return int32;
}
@JsonProperty(JSON_PROPERTY_INT32)
@JsonProperty(value = JSON_PROPERTY_INT32, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInt32(@javax.annotation.Nullable Integer int32) {
this.int32 = int32;
@@ -187,14 +187,14 @@ public class FormatTest {
* @return int64
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INT64)
@JsonProperty(value = JSON_PROPERTY_INT64, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getInt64() {
return int64;
}
@JsonProperty(JSON_PROPERTY_INT64)
@JsonProperty(value = JSON_PROPERTY_INT64, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setInt64(@javax.annotation.Nullable Long int64) {
this.int64 = int64;
@@ -213,14 +213,14 @@ public class FormatTest {
* @return number
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NUMBER)
@JsonProperty(value = JSON_PROPERTY_NUMBER, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public BigDecimal getNumber() {
return number;
}
@JsonProperty(JSON_PROPERTY_NUMBER)
@JsonProperty(value = JSON_PROPERTY_NUMBER, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setNumber(@javax.annotation.Nonnull BigDecimal number) {
this.number = number;
@@ -239,14 +239,14 @@ public class FormatTest {
* @return _float
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_FLOAT)
@JsonProperty(value = JSON_PROPERTY_FLOAT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Float getFloat() {
return _float;
}
@JsonProperty(JSON_PROPERTY_FLOAT)
@JsonProperty(value = JSON_PROPERTY_FLOAT, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFloat(@javax.annotation.Nullable Float _float) {
this._float = _float;
@@ -265,14 +265,14 @@ public class FormatTest {
* @return _double
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DOUBLE)
@JsonProperty(value = JSON_PROPERTY_DOUBLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Double getDouble() {
return _double;
}
@JsonProperty(JSON_PROPERTY_DOUBLE)
@JsonProperty(value = JSON_PROPERTY_DOUBLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDouble(@javax.annotation.Nullable Double _double) {
this._double = _double;
@@ -289,14 +289,14 @@ public class FormatTest {
* @return decimal
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DECIMAL)
@JsonProperty(value = JSON_PROPERTY_DECIMAL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getDecimal() {
return decimal;
}
@JsonProperty(JSON_PROPERTY_DECIMAL)
@JsonProperty(value = JSON_PROPERTY_DECIMAL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDecimal(@javax.annotation.Nullable BigDecimal decimal) {
this.decimal = decimal;
@@ -313,14 +313,14 @@ public class FormatTest {
* @return string
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STRING)
@JsonProperty(value = JSON_PROPERTY_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
return string;
}
@JsonProperty(JSON_PROPERTY_STRING)
@JsonProperty(value = JSON_PROPERTY_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setString(@javax.annotation.Nullable String string) {
this.string = string;
@@ -337,14 +337,14 @@ public class FormatTest {
* @return _byte
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_BYTE)
@JsonProperty(value = JSON_PROPERTY_BYTE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public byte[] getByte() {
return _byte;
}
@JsonProperty(JSON_PROPERTY_BYTE)
@JsonProperty(value = JSON_PROPERTY_BYTE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setByte(@javax.annotation.Nonnull byte[] _byte) {
this._byte = _byte;
@@ -361,14 +361,14 @@ public class FormatTest {
* @return binary
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BINARY)
@JsonProperty(value = JSON_PROPERTY_BINARY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public File getBinary() {
return binary;
}
@JsonProperty(JSON_PROPERTY_BINARY)
@JsonProperty(value = JSON_PROPERTY_BINARY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBinary(@javax.annotation.Nullable File binary) {
this.binary = binary;
@@ -385,14 +385,14 @@ public class FormatTest {
* @return date
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_DATE)
@JsonProperty(value = JSON_PROPERTY_DATE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public LocalDate getDate() {
return date;
}
@JsonProperty(JSON_PROPERTY_DATE)
@JsonProperty(value = JSON_PROPERTY_DATE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setDate(@javax.annotation.Nonnull LocalDate date) {
this.date = date;
@@ -409,14 +409,14 @@ public class FormatTest {
* @return dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonProperty(value = JSON_PROPERTY_DATE_TIME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
return dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonProperty(value = JSON_PROPERTY_DATE_TIME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDateTime(@javax.annotation.Nullable OffsetDateTime dateTime) {
this.dateTime = dateTime;
@@ -433,14 +433,14 @@ public class FormatTest {
* @return uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
return uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUuid(@javax.annotation.Nullable UUID uuid) {
this.uuid = uuid;
@@ -457,14 +457,14 @@ public class FormatTest {
* @return password
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonProperty(value = JSON_PROPERTY_PASSWORD, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getPassword() {
return password;
}
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonProperty(value = JSON_PROPERTY_PASSWORD, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setPassword(@javax.annotation.Nonnull String password) {
this.password = password;
@@ -481,14 +481,14 @@ public class FormatTest {
* @return patternWithDigits
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS)
@JsonProperty(value = JSON_PROPERTY_PATTERN_WITH_DIGITS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPatternWithDigits() {
return patternWithDigits;
}
@JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS)
@JsonProperty(value = JSON_PROPERTY_PATTERN_WITH_DIGITS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPatternWithDigits(@javax.annotation.Nullable String patternWithDigits) {
this.patternWithDigits = patternWithDigits;
@@ -505,14 +505,14 @@ public class FormatTest {
* @return patternWithDigitsAndDelimiter
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER)
@JsonProperty(value = JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPatternWithDigitsAndDelimiter() {
return patternWithDigitsAndDelimiter;
}
@JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER)
@JsonProperty(value = JSON_PROPERTY_PATTERN_WITH_DIGITS_AND_DELIMITER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPatternWithDigitsAndDelimiter(@javax.annotation.Nullable String patternWithDigitsAndDelimiter) {
this.patternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter;

View File

@@ -69,14 +69,14 @@ public class GrandparentAnimal {
* @return petType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_PET_TYPE)
@JsonProperty(value = JSON_PROPERTY_PET_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getPetType() {
return petType;
}
@JsonProperty(JSON_PROPERTY_PET_TYPE)
@JsonProperty(value = JSON_PROPERTY_PET_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setPetType(@javax.annotation.Nonnull String petType) {
this.petType = petType;

View File

@@ -65,7 +65,7 @@ public class HasOnlyReadOnly {
* @return bar
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BAR)
@JsonProperty(value = JSON_PROPERTY_BAR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBar() {
return bar;
@@ -79,7 +79,7 @@ public class HasOnlyReadOnly {
* @return foo
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_FOO)
@JsonProperty(value = JSON_PROPERTY_FOO, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFoo() {
return foo;

View File

@@ -63,7 +63,7 @@ public class HealthCheckResult {
return nullableMessage.orElse(null);
}
@JsonProperty(JSON_PROPERTY_NULLABLE_MESSAGE)
@JsonProperty(value = JSON_PROPERTY_NULLABLE_MESSAGE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<String> getNullableMessage_JsonNullable() {

View File

@@ -60,14 +60,14 @@ public class IsoscelesTriangle {
* @return shapeType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getShapeType() {
return shapeType;
}
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setShapeType(@javax.annotation.Nonnull String shapeType) {
this.shapeType = shapeType;
@@ -84,14 +84,14 @@ public class IsoscelesTriangle {
* @return triangleType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE)
@JsonProperty(value = JSON_PROPERTY_TRIANGLE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTriangleType() {
return triangleType;
}
@JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE)
@JsonProperty(value = JSON_PROPERTY_TRIANGLE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTriangleType(@javax.annotation.Nonnull String triangleType) {
this.triangleType = triangleType;

View File

@@ -115,14 +115,14 @@ public class MapTest {
* @return mapMapOfString
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING)
@JsonProperty(value = JSON_PROPERTY_MAP_MAP_OF_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Map<String, String>> getMapMapOfString() {
return mapMapOfString;
}
@JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING)
@JsonProperty(value = JSON_PROPERTY_MAP_MAP_OF_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapMapOfString(@javax.annotation.Nullable Map<String, Map<String, String>> mapMapOfString) {
this.mapMapOfString = mapMapOfString;
@@ -147,14 +147,14 @@ public class MapTest {
* @return mapOfEnumString
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING)
@JsonProperty(value = JSON_PROPERTY_MAP_OF_ENUM_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, InnerEnum> getMapOfEnumString() {
return mapOfEnumString;
}
@JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING)
@JsonProperty(value = JSON_PROPERTY_MAP_OF_ENUM_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMapOfEnumString(@javax.annotation.Nullable Map<String, InnerEnum> mapOfEnumString) {
this.mapOfEnumString = mapOfEnumString;
@@ -179,14 +179,14 @@ public class MapTest {
* @return directMap
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DIRECT_MAP)
@JsonProperty(value = JSON_PROPERTY_DIRECT_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Boolean> getDirectMap() {
return directMap;
}
@JsonProperty(JSON_PROPERTY_DIRECT_MAP)
@JsonProperty(value = JSON_PROPERTY_DIRECT_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDirectMap(@javax.annotation.Nullable Map<String, Boolean> directMap) {
this.directMap = directMap;
@@ -211,14 +211,14 @@ public class MapTest {
* @return indirectMap
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_INDIRECT_MAP)
@JsonProperty(value = JSON_PROPERTY_INDIRECT_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Boolean> getIndirectMap() {
return indirectMap;
}
@JsonProperty(JSON_PROPERTY_INDIRECT_MAP)
@JsonProperty(value = JSON_PROPERTY_INDIRECT_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setIndirectMap(@javax.annotation.Nullable Map<String, Boolean> indirectMap) {
this.indirectMap = indirectMap;

View File

@@ -70,14 +70,14 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
* @return uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
return uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUuid(@javax.annotation.Nullable UUID uuid) {
this.uuid = uuid;
@@ -94,14 +94,14 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
* @return dateTime
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonProperty(value = JSON_PROPERTY_DATE_TIME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getDateTime() {
return dateTime;
}
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonProperty(value = JSON_PROPERTY_DATE_TIME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDateTime(@javax.annotation.Nullable OffsetDateTime dateTime) {
this.dateTime = dateTime;
@@ -126,14 +126,14 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
* @return map
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MAP)
@JsonProperty(value = JSON_PROPERTY_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Animal> getMap() {
return map;
}
@JsonProperty(JSON_PROPERTY_MAP)
@JsonProperty(value = JSON_PROPERTY_MAP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMap(@javax.annotation.Nullable Map<String, Animal> map) {
this.map = map;

View File

@@ -60,14 +60,14 @@ public class Model200Response {
* @return name
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(@javax.annotation.Nullable Integer name) {
this.name = name;
@@ -84,14 +84,14 @@ public class Model200Response {
* @return propertyClass
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonProperty(value = JSON_PROPERTY_PROPERTY_CLASS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPropertyClass() {
return propertyClass;
}
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonProperty(value = JSON_PROPERTY_PROPERTY_CLASS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPropertyClass(@javax.annotation.Nullable String propertyClass) {
this.propertyClass = propertyClass;

View File

@@ -65,14 +65,14 @@ public class ModelApiResponse {
* @return code
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CODE)
@JsonProperty(value = JSON_PROPERTY_CODE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getCode() {
return code;
}
@JsonProperty(JSON_PROPERTY_CODE)
@JsonProperty(value = JSON_PROPERTY_CODE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCode(@javax.annotation.Nullable Integer code) {
this.code = code;
@@ -89,14 +89,14 @@ public class ModelApiResponse {
* @return type
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonProperty(value = JSON_PROPERTY_TYPE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getType() {
return type;
}
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonProperty(value = JSON_PROPERTY_TYPE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setType(@javax.annotation.Nullable String type) {
this.type = type;
@@ -113,14 +113,14 @@ public class ModelApiResponse {
* @return message
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MESSAGE)
@JsonProperty(value = JSON_PROPERTY_MESSAGE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMessage() {
return message;
}
@JsonProperty(JSON_PROPERTY_MESSAGE)
@JsonProperty(value = JSON_PROPERTY_MESSAGE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMessage(@javax.annotation.Nullable String message) {
this.message = message;

View File

@@ -55,14 +55,14 @@ public class ModelFile {
* @return sourceURI
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SOURCE_U_R_I)
@JsonProperty(value = JSON_PROPERTY_SOURCE_U_R_I, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSourceURI() {
return sourceURI;
}
@JsonProperty(JSON_PROPERTY_SOURCE_U_R_I)
@JsonProperty(value = JSON_PROPERTY_SOURCE_U_R_I, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSourceURI(@javax.annotation.Nullable String sourceURI) {
this.sourceURI = sourceURI;

View File

@@ -55,14 +55,14 @@ public class ModelList {
* @return _123list
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_123LIST)
@JsonProperty(value = JSON_PROPERTY_123LIST, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String get123list() {
return _123list;
}
@JsonProperty(JSON_PROPERTY_123LIST)
@JsonProperty(value = JSON_PROPERTY_123LIST, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void set123list(@javax.annotation.Nullable String _123list) {
this._123list = _123list;

View File

@@ -55,14 +55,14 @@ public class ModelReturn {
* @return _return
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_RETURN)
@JsonProperty(value = JSON_PROPERTY_RETURN, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getReturn() {
return _return;
}
@JsonProperty(JSON_PROPERTY_RETURN)
@JsonProperty(value = JSON_PROPERTY_RETURN, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setReturn(@javax.annotation.Nullable Integer _return) {
this._return = _return;

View File

@@ -80,14 +80,14 @@ public class Name {
* @return name
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(@javax.annotation.Nonnull Integer name) {
this.name = name;
@@ -99,7 +99,7 @@ public class Name {
* @return snakeCase
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SNAKE_CASE)
@JsonProperty(value = JSON_PROPERTY_SNAKE_CASE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getSnakeCase() {
return snakeCase;
@@ -118,14 +118,14 @@ public class Name {
* @return property
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PROPERTY)
@JsonProperty(value = JSON_PROPERTY_PROPERTY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProperty() {
return property;
}
@JsonProperty(JSON_PROPERTY_PROPERTY)
@JsonProperty(value = JSON_PROPERTY_PROPERTY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setProperty(@javax.annotation.Nullable String property) {
this.property = property;
@@ -137,7 +137,7 @@ public class Name {
* @return _123number
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_123NUMBER)
@JsonProperty(value = JSON_PROPERTY_123NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer get123number() {
return _123number;

View File

@@ -120,7 +120,7 @@ public class NullableClass {
return integerProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_INTEGER_PROP)
@JsonProperty(value = JSON_PROPERTY_INTEGER_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<Integer> getIntegerProp_JsonNullable() {
@@ -152,7 +152,7 @@ public class NullableClass {
return numberProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_NUMBER_PROP)
@JsonProperty(value = JSON_PROPERTY_NUMBER_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<BigDecimal> getNumberProp_JsonNullable() {
@@ -184,7 +184,7 @@ public class NullableClass {
return booleanProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_BOOLEAN_PROP)
@JsonProperty(value = JSON_PROPERTY_BOOLEAN_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<Boolean> getBooleanProp_JsonNullable() {
@@ -216,7 +216,7 @@ public class NullableClass {
return stringProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_STRING_PROP)
@JsonProperty(value = JSON_PROPERTY_STRING_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<String> getStringProp_JsonNullable() {
@@ -248,7 +248,7 @@ public class NullableClass {
return dateProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_DATE_PROP)
@JsonProperty(value = JSON_PROPERTY_DATE_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<LocalDate> getDateProp_JsonNullable() {
@@ -280,7 +280,7 @@ public class NullableClass {
return datetimeProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_DATETIME_PROP)
@JsonProperty(value = JSON_PROPERTY_DATETIME_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<OffsetDateTime> getDatetimeProp_JsonNullable() {
@@ -324,7 +324,7 @@ public class NullableClass {
return arrayNullableProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_ARRAY_NULLABLE_PROP)
@JsonProperty(value = JSON_PROPERTY_ARRAY_NULLABLE_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<List<Object>> getArrayNullableProp_JsonNullable() {
@@ -368,7 +368,7 @@ public class NullableClass {
return arrayAndItemsNullableProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP)
@JsonProperty(value = JSON_PROPERTY_ARRAY_AND_ITEMS_NULLABLE_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<List<Object>> getArrayAndItemsNullableProp_JsonNullable() {
@@ -403,14 +403,14 @@ public class NullableClass {
* @return arrayItemsNullable
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ITEMS_NULLABLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Object> getArrayItemsNullable() {
return arrayItemsNullable;
}
@JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE)
@JsonProperty(value = JSON_PROPERTY_ARRAY_ITEMS_NULLABLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setArrayItemsNullable(@javax.annotation.Nullable List<Object> arrayItemsNullable) {
this.arrayItemsNullable = arrayItemsNullable;
@@ -444,7 +444,7 @@ public class NullableClass {
return objectNullableProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_OBJECT_NULLABLE_PROP)
@JsonProperty(value = JSON_PROPERTY_OBJECT_NULLABLE_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<Map<String, Object>> getObjectNullableProp_JsonNullable() {
@@ -488,7 +488,7 @@ public class NullableClass {
return objectAndItemsNullableProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP)
@JsonProperty(value = JSON_PROPERTY_OBJECT_AND_ITEMS_NULLABLE_PROP, required = false)
@JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<Map<String, Object>> getObjectAndItemsNullableProp_JsonNullable() {
@@ -523,14 +523,14 @@ public class NullableClass {
* @return objectItemsNullable
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE)
@JsonProperty(value = JSON_PROPERTY_OBJECT_ITEMS_NULLABLE, required = false)
@JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Object> getObjectItemsNullable() {
return objectItemsNullable;
}
@JsonProperty(JSON_PROPERTY_OBJECT_ITEMS_NULLABLE)
@JsonProperty(value = JSON_PROPERTY_OBJECT_ITEMS_NULLABLE, required = false)
@JsonInclude(content = JsonInclude.Include.ALWAYS, value = JsonInclude.Include.USE_DEFAULTS)
public void setObjectItemsNullable(@javax.annotation.Nullable Map<String, Object> objectItemsNullable) {
this.objectItemsNullable = objectItemsNullable;

View File

@@ -56,14 +56,14 @@ public class NumberOnly {
* @return justNumber
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_JUST_NUMBER)
@JsonProperty(value = JSON_PROPERTY_JUST_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getJustNumber() {
return justNumber;
}
@JsonProperty(JSON_PROPERTY_JUST_NUMBER)
@JsonProperty(value = JSON_PROPERTY_JUST_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setJustNumber(@javax.annotation.Nullable BigDecimal justNumber) {
this.justNumber = justNumber;

View File

@@ -74,14 +74,14 @@ public class ObjectWithDeprecatedFields {
* @return uuid
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_UUID)
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUuid() {
return uuid;
}
@JsonProperty(JSON_PROPERTY_UUID)
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUuid(@javax.annotation.Nullable String uuid) {
this.uuid = uuid;
@@ -100,14 +100,14 @@ public class ObjectWithDeprecatedFields {
*/
@Deprecated
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(@javax.annotation.Nullable BigDecimal id) {
this.id = id;
@@ -126,14 +126,14 @@ public class ObjectWithDeprecatedFields {
*/
@Deprecated
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_DEPRECATED_REF)
@JsonProperty(value = JSON_PROPERTY_DEPRECATED_REF, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public DeprecatedObject getDeprecatedRef() {
return deprecatedRef;
}
@JsonProperty(JSON_PROPERTY_DEPRECATED_REF)
@JsonProperty(value = JSON_PROPERTY_DEPRECATED_REF, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setDeprecatedRef(@javax.annotation.Nullable DeprecatedObject deprecatedRef) {
this.deprecatedRef = deprecatedRef;
@@ -160,14 +160,14 @@ public class ObjectWithDeprecatedFields {
*/
@Deprecated
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BARS)
@JsonProperty(value = JSON_PROPERTY_BARS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<String> getBars() {
return bars;
}
@JsonProperty(JSON_PROPERTY_BARS)
@JsonProperty(value = JSON_PROPERTY_BARS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBars(@javax.annotation.Nullable List<String> bars) {
this.bars = bars;

View File

@@ -118,14 +118,14 @@ public class Order {
* @return id
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(@javax.annotation.Nullable Long id) {
this.id = id;
@@ -142,14 +142,14 @@ public class Order {
* @return petId
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PET_ID)
@JsonProperty(value = JSON_PROPERTY_PET_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPetId() {
return petId;
}
@JsonProperty(JSON_PROPERTY_PET_ID)
@JsonProperty(value = JSON_PROPERTY_PET_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPetId(@javax.annotation.Nullable Long petId) {
this.petId = petId;
@@ -166,14 +166,14 @@ public class Order {
* @return quantity
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_QUANTITY)
@JsonProperty(value = JSON_PROPERTY_QUANTITY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getQuantity() {
return quantity;
}
@JsonProperty(JSON_PROPERTY_QUANTITY)
@JsonProperty(value = JSON_PROPERTY_QUANTITY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setQuantity(@javax.annotation.Nullable Integer quantity) {
this.quantity = quantity;
@@ -190,14 +190,14 @@ public class Order {
* @return shipDate
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SHIP_DATE)
@JsonProperty(value = JSON_PROPERTY_SHIP_DATE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OffsetDateTime getShipDate() {
return shipDate;
}
@JsonProperty(JSON_PROPERTY_SHIP_DATE)
@JsonProperty(value = JSON_PROPERTY_SHIP_DATE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setShipDate(@javax.annotation.Nullable OffsetDateTime shipDate) {
this.shipDate = shipDate;
@@ -214,14 +214,14 @@ public class Order {
* @return status
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonProperty(value = JSON_PROPERTY_STATUS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public StatusEnum getStatus() {
return status;
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonProperty(value = JSON_PROPERTY_STATUS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStatus(@javax.annotation.Nullable StatusEnum status) {
this.status = status;
@@ -238,14 +238,14 @@ public class Order {
* @return complete
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_COMPLETE)
@JsonProperty(value = JSON_PROPERTY_COMPLETE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getComplete() {
return complete;
}
@JsonProperty(JSON_PROPERTY_COMPLETE)
@JsonProperty(value = JSON_PROPERTY_COMPLETE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setComplete(@javax.annotation.Nullable Boolean complete) {
this.complete = complete;

View File

@@ -66,14 +66,14 @@ public class OuterComposite {
* @return myNumber
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MY_NUMBER)
@JsonProperty(value = JSON_PROPERTY_MY_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getMyNumber() {
return myNumber;
}
@JsonProperty(JSON_PROPERTY_MY_NUMBER)
@JsonProperty(value = JSON_PROPERTY_MY_NUMBER, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMyNumber(@javax.annotation.Nullable BigDecimal myNumber) {
this.myNumber = myNumber;
@@ -90,14 +90,14 @@ public class OuterComposite {
* @return myString
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MY_STRING)
@JsonProperty(value = JSON_PROPERTY_MY_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMyString() {
return myString;
}
@JsonProperty(JSON_PROPERTY_MY_STRING)
@JsonProperty(value = JSON_PROPERTY_MY_STRING, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMyString(@javax.annotation.Nullable String myString) {
this.myString = myString;
@@ -114,14 +114,14 @@ public class OuterComposite {
* @return myBoolean
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_MY_BOOLEAN)
@JsonProperty(value = JSON_PROPERTY_MY_BOOLEAN, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getMyBoolean() {
return myBoolean;
}
@JsonProperty(JSON_PROPERTY_MY_BOOLEAN)
@JsonProperty(value = JSON_PROPERTY_MY_BOOLEAN, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setMyBoolean(@javax.annotation.Nullable Boolean myBoolean) {
this.myBoolean = myBoolean;

View File

@@ -121,14 +121,14 @@ public class Pet {
* @return id
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(@javax.annotation.Nullable Long id) {
this.id = id;
@@ -145,14 +145,14 @@ public class Pet {
* @return category
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_CATEGORY)
@JsonProperty(value = JSON_PROPERTY_CATEGORY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Category getCategory() {
return category;
}
@JsonProperty(JSON_PROPERTY_CATEGORY)
@JsonProperty(value = JSON_PROPERTY_CATEGORY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setCategory(@javax.annotation.Nullable Category category) {
this.category = category;
@@ -169,14 +169,14 @@ public class Pet {
* @return name
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setName(@javax.annotation.Nonnull String name) {
this.name = name;
@@ -201,14 +201,14 @@ public class Pet {
* @return photoUrls
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
@JsonProperty(value = JSON_PROPERTY_PHOTO_URLS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List<String> getPhotoUrls() {
return photoUrls;
}
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
@JsonProperty(value = JSON_PROPERTY_PHOTO_URLS, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setPhotoUrls(@javax.annotation.Nonnull List<String> photoUrls) {
this.photoUrls = photoUrls;
@@ -233,14 +233,14 @@ public class Pet {
* @return tags
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TAGS)
@JsonProperty(value = JSON_PROPERTY_TAGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Tag> getTags() {
return tags;
}
@JsonProperty(JSON_PROPERTY_TAGS)
@JsonProperty(value = JSON_PROPERTY_TAGS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setTags(@javax.annotation.Nullable List<Tag> tags) {
this.tags = tags;
@@ -257,14 +257,14 @@ public class Pet {
* @return status
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonProperty(value = JSON_PROPERTY_STATUS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public StatusEnum getStatus() {
return status;
}
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonProperty(value = JSON_PROPERTY_STATUS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setStatus(@javax.annotation.Nullable StatusEnum status) {
this.status = status;

View File

@@ -55,14 +55,14 @@ public class QuadrilateralInterface {
* @return quadrilateralType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE)
@JsonProperty(value = JSON_PROPERTY_QUADRILATERAL_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getQuadrilateralType() {
return quadrilateralType;
}
@JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE)
@JsonProperty(value = JSON_PROPERTY_QUADRILATERAL_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setQuadrilateralType(@javax.annotation.Nonnull String quadrilateralType) {
this.quadrilateralType = quadrilateralType;

View File

@@ -63,7 +63,7 @@ public class ReadOnlyFirst {
* @return bar
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BAR)
@JsonProperty(value = JSON_PROPERTY_BAR, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBar() {
return bar;
@@ -82,14 +82,14 @@ public class ReadOnlyFirst {
* @return baz
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_BAZ)
@JsonProperty(value = JSON_PROPERTY_BAZ, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBaz() {
return baz;
}
@JsonProperty(JSON_PROPERTY_BAZ)
@JsonProperty(value = JSON_PROPERTY_BAZ, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setBaz(@javax.annotation.Nullable String baz) {
this.baz = baz;

View File

@@ -60,14 +60,14 @@ public class ScaleneTriangle {
* @return shapeType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getShapeType() {
return shapeType;
}
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setShapeType(@javax.annotation.Nonnull String shapeType) {
this.shapeType = shapeType;
@@ -84,14 +84,14 @@ public class ScaleneTriangle {
* @return triangleType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE)
@JsonProperty(value = JSON_PROPERTY_TRIANGLE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTriangleType() {
return triangleType;
}
@JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE)
@JsonProperty(value = JSON_PROPERTY_TRIANGLE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTriangleType(@javax.annotation.Nonnull String triangleType) {
this.triangleType = triangleType;

View File

@@ -55,14 +55,14 @@ public class ShapeInterface {
* @return shapeType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getShapeType() {
return shapeType;
}
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setShapeType(@javax.annotation.Nonnull String shapeType) {
this.shapeType = shapeType;

View File

@@ -60,14 +60,14 @@ public class SimpleQuadrilateral {
* @return shapeType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getShapeType() {
return shapeType;
}
@JsonProperty(JSON_PROPERTY_SHAPE_TYPE)
@JsonProperty(value = JSON_PROPERTY_SHAPE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setShapeType(@javax.annotation.Nonnull String shapeType) {
this.shapeType = shapeType;
@@ -84,14 +84,14 @@ public class SimpleQuadrilateral {
* @return quadrilateralType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE)
@JsonProperty(value = JSON_PROPERTY_QUADRILATERAL_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getQuadrilateralType() {
return quadrilateralType;
}
@JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE)
@JsonProperty(value = JSON_PROPERTY_QUADRILATERAL_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setQuadrilateralType(@javax.annotation.Nonnull String quadrilateralType) {
this.quadrilateralType = quadrilateralType;

View File

@@ -60,14 +60,14 @@ public class SpecialModelName {
* @return $specialPropertyName
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long get$SpecialPropertyName() {
return $specialPropertyName;
}
@JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void set$SpecialPropertyName(@javax.annotation.Nullable Long $specialPropertyName) {
this.$specialPropertyName = $specialPropertyName;
@@ -84,14 +84,14 @@ public class SpecialModelName {
* @return specialModelName
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SPECIAL_MODEL_NAME)
@JsonProperty(value = JSON_PROPERTY_SPECIAL_MODEL_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSpecialModelName() {
return specialModelName;
}
@JsonProperty(JSON_PROPERTY_SPECIAL_MODEL_NAME)
@JsonProperty(value = JSON_PROPERTY_SPECIAL_MODEL_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSpecialModelName(@javax.annotation.Nullable String specialModelName) {
this.specialModelName = specialModelName;

View File

@@ -60,14 +60,14 @@ public class Tag {
* @return id
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(@javax.annotation.Nullable Long id) {
this.id = id;
@@ -84,14 +84,14 @@ public class Tag {
* @return name
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
return name;
}
@JsonProperty(JSON_PROPERTY_NAME)
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setName(@javax.annotation.Nullable String name) {
this.name = name;

View File

@@ -59,14 +59,14 @@ public class TestInlineFreeformAdditionalPropertiesRequest {
* @return someProperty
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_SOME_PROPERTY)
@JsonProperty(value = JSON_PROPERTY_SOME_PROPERTY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSomeProperty() {
return someProperty;
}
@JsonProperty(JSON_PROPERTY_SOME_PROPERTY)
@JsonProperty(value = JSON_PROPERTY_SOME_PROPERTY, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setSomeProperty(@javax.annotation.Nullable String someProperty) {
this.someProperty = someProperty;

View File

@@ -55,14 +55,14 @@ public class TriangleInterface {
* @return triangleType
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE)
@JsonProperty(value = JSON_PROPERTY_TRIANGLE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getTriangleType() {
return triangleType;
}
@JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE)
@JsonProperty(value = JSON_PROPERTY_TRIANGLE_TYPE, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setTriangleType(@javax.annotation.Nonnull String triangleType) {
this.triangleType = triangleType;

View File

@@ -111,14 +111,14 @@ public class User {
* @return id
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
return id;
}
@JsonProperty(JSON_PROPERTY_ID)
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setId(@javax.annotation.Nullable Long id) {
this.id = id;
@@ -135,14 +135,14 @@ public class User {
* @return username
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_USERNAME)
@JsonProperty(value = JSON_PROPERTY_USERNAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUsername() {
return username;
}
@JsonProperty(JSON_PROPERTY_USERNAME)
@JsonProperty(value = JSON_PROPERTY_USERNAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUsername(@javax.annotation.Nullable String username) {
this.username = username;
@@ -159,14 +159,14 @@ public class User {
* @return firstName
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_FIRST_NAME)
@JsonProperty(value = JSON_PROPERTY_FIRST_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFirstName() {
return firstName;
}
@JsonProperty(JSON_PROPERTY_FIRST_NAME)
@JsonProperty(value = JSON_PROPERTY_FIRST_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setFirstName(@javax.annotation.Nullable String firstName) {
this.firstName = firstName;
@@ -183,14 +183,14 @@ public class User {
* @return lastName
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_LAST_NAME)
@JsonProperty(value = JSON_PROPERTY_LAST_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLastName() {
return lastName;
}
@JsonProperty(JSON_PROPERTY_LAST_NAME)
@JsonProperty(value = JSON_PROPERTY_LAST_NAME, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setLastName(@javax.annotation.Nullable String lastName) {
this.lastName = lastName;
@@ -207,14 +207,14 @@ public class User {
* @return email
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_EMAIL)
@JsonProperty(value = JSON_PROPERTY_EMAIL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEmail() {
return email;
}
@JsonProperty(JSON_PROPERTY_EMAIL)
@JsonProperty(value = JSON_PROPERTY_EMAIL, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setEmail(@javax.annotation.Nullable String email) {
this.email = email;
@@ -231,14 +231,14 @@ public class User {
* @return password
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonProperty(value = JSON_PROPERTY_PASSWORD, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPassword() {
return password;
}
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonProperty(value = JSON_PROPERTY_PASSWORD, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPassword(@javax.annotation.Nullable String password) {
this.password = password;
@@ -255,14 +255,14 @@ public class User {
* @return phone
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_PHONE)
@JsonProperty(value = JSON_PROPERTY_PHONE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPhone() {
return phone;
}
@JsonProperty(JSON_PROPERTY_PHONE)
@JsonProperty(value = JSON_PROPERTY_PHONE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setPhone(@javax.annotation.Nullable String phone) {
this.phone = phone;
@@ -279,14 +279,14 @@ public class User {
* @return userStatus
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_USER_STATUS)
@JsonProperty(value = JSON_PROPERTY_USER_STATUS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getUserStatus() {
return userStatus;
}
@JsonProperty(JSON_PROPERTY_USER_STATUS)
@JsonProperty(value = JSON_PROPERTY_USER_STATUS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setUserStatus(@javax.annotation.Nullable Integer userStatus) {
this.userStatus = userStatus;
@@ -303,14 +303,14 @@ public class User {
* @return objectWithNoDeclaredProps
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS)
@JsonProperty(value = JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Object getObjectWithNoDeclaredProps() {
return objectWithNoDeclaredProps;
}
@JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS)
@JsonProperty(value = JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setObjectWithNoDeclaredProps(@javax.annotation.Nullable Object objectWithNoDeclaredProps) {
this.objectWithNoDeclaredProps = objectWithNoDeclaredProps;
@@ -332,7 +332,7 @@ public class User {
return objectWithNoDeclaredPropsNullable.orElse(null);
}
@JsonProperty(JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE)
@JsonProperty(value = JSON_PROPERTY_OBJECT_WITH_NO_DECLARED_PROPS_NULLABLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<Object> getObjectWithNoDeclaredPropsNullable_JsonNullable() {
@@ -364,7 +364,7 @@ public class User {
return anyTypeProp.orElse(null);
}
@JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP)
@JsonProperty(value = JSON_PROPERTY_ANY_TYPE_PROP, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<Object> getAnyTypeProp_JsonNullable() {
@@ -396,7 +396,7 @@ public class User {
return anyTypePropNullable.orElse(null);
}
@JsonProperty(JSON_PROPERTY_ANY_TYPE_PROP_NULLABLE)
@JsonProperty(value = JSON_PROPERTY_ANY_TYPE_PROP_NULLABLE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JsonNullable<Object> getAnyTypePropNullable_JsonNullable() {

View File

@@ -65,14 +65,14 @@ public class Whale {
* @return hasBaleen
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_BALEEN)
@JsonProperty(value = JSON_PROPERTY_HAS_BALEEN, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasBaleen() {
return hasBaleen;
}
@JsonProperty(JSON_PROPERTY_HAS_BALEEN)
@JsonProperty(value = JSON_PROPERTY_HAS_BALEEN, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasBaleen(@javax.annotation.Nullable Boolean hasBaleen) {
this.hasBaleen = hasBaleen;
@@ -89,14 +89,14 @@ public class Whale {
* @return hasTeeth
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_HAS_TEETH)
@JsonProperty(value = JSON_PROPERTY_HAS_TEETH, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getHasTeeth() {
return hasTeeth;
}
@JsonProperty(JSON_PROPERTY_HAS_TEETH)
@JsonProperty(value = JSON_PROPERTY_HAS_TEETH, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setHasTeeth(@javax.annotation.Nullable Boolean hasTeeth) {
this.hasTeeth = hasTeeth;
@@ -113,14 +113,14 @@ public class Whale {
* @return className
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getClassName() {
return className;
}
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setClassName(@javax.annotation.Nonnull String className) {
this.className = className;

View File

@@ -101,14 +101,14 @@ public class Zebra {
* @return type
*/
@javax.annotation.Nullable
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonProperty(value = JSON_PROPERTY_TYPE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public TypeEnum getType() {
return type;
}
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonProperty(value = JSON_PROPERTY_TYPE, required = false)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public void setType(@javax.annotation.Nullable TypeEnum type) {
this.type = type;
@@ -125,14 +125,14 @@ public class Zebra {
* @return className
*/
@javax.annotation.Nonnull
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getClassName() {
return className;
}
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public void setClassName(@javax.annotation.Nonnull String className) {
this.className = className;