mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-19 04:27:07 +00:00
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:
@@ -65,7 +65,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return mapProperty
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -73,7 +73,7 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP_PROPERTY)
|
||||
@JsonProperty(value = JSON_PROPERTY_MAP_PROPERTY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMapProperty(@jakarta.annotation.Nullable Map<String, String> mapProperty) {
|
||||
this.mapProperty = mapProperty;
|
||||
@@ -98,7 +98,7 @@ public class AdditionalPropertiesClass {
|
||||
* @return mapOfMapProperty
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -106,7 +106,7 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable Map<String, Map<String, String>> mapOfMapProperty) {
|
||||
this.mapOfMapProperty = mapOfMapProperty;
|
||||
|
||||
@@ -56,7 +56,7 @@ public class AllOfWithSingleRef {
|
||||
* @return username
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_USERNAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_USERNAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getUsername() {
|
||||
@@ -64,7 +64,7 @@ public class AllOfWithSingleRef {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_USERNAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_USERNAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUsername(@jakarta.annotation.Nullable String username) {
|
||||
this.username = username;
|
||||
@@ -81,7 +81,7 @@ public class AllOfWithSingleRef {
|
||||
* @return singleRefType
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE)
|
||||
@JsonProperty(value = JSON_PROPERTY_SINGLE_REF_TYPE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public SingleRefType getSingleRefType() {
|
||||
@@ -89,7 +89,7 @@ public class AllOfWithSingleRef {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SINGLE_REF_TYPE)
|
||||
@JsonProperty(value = JSON_PROPERTY_SINGLE_REF_TYPE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setSingleRefType(@jakarta.annotation.Nullable SingleRefType singleRefType) {
|
||||
this.singleRefType = singleRefType;
|
||||
|
||||
@@ -68,7 +68,7 @@ public class Animal {
|
||||
* @return className
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public String getClassName() {
|
||||
@@ -76,7 +76,7 @@ public class Animal {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_CLASS_NAME, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setClassName(@jakarta.annotation.Nonnull String className) {
|
||||
this.className = className;
|
||||
@@ -93,7 +93,7 @@ public class Animal {
|
||||
* @return color
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_COLOR)
|
||||
@JsonProperty(value = JSON_PROPERTY_COLOR, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getColor() {
|
||||
@@ -101,7 +101,7 @@ public class Animal {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_COLOR)
|
||||
@JsonProperty(value = JSON_PROPERTY_COLOR, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setColor(@jakarta.annotation.Nullable String color) {
|
||||
this.color = color;
|
||||
|
||||
@@ -62,7 +62,7 @@ public class ArrayOfArrayOfNumberOnly {
|
||||
* @return arrayArrayNumber
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -70,7 +70,7 @@ public class ArrayOfArrayOfNumberOnly {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_ARRAY_ARRAY_NUMBER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayArrayNumber(@jakarta.annotation.Nullable List<List<BigDecimal>> arrayArrayNumber) {
|
||||
this.arrayArrayNumber = arrayArrayNumber;
|
||||
|
||||
@@ -62,7 +62,7 @@ public class ArrayOfNumberOnly {
|
||||
* @return arrayNumber
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -70,7 +70,7 @@ public class ArrayOfNumberOnly {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_ARRAY_NUMBER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayNumber(@jakarta.annotation.Nullable List<BigDecimal> arrayNumber) {
|
||||
this.arrayNumber = arrayNumber;
|
||||
|
||||
@@ -72,7 +72,7 @@ public class ArrayTest {
|
||||
* @return arrayOfString
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -80,7 +80,7 @@ public class ArrayTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING)
|
||||
@JsonProperty(value = JSON_PROPERTY_ARRAY_OF_STRING, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayOfString(@jakarta.annotation.Nullable List<String> arrayOfString) {
|
||||
this.arrayOfString = arrayOfString;
|
||||
@@ -105,7 +105,7 @@ public class ArrayTest {
|
||||
* @return arrayArrayOfInteger
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -113,7 +113,7 @@ public class ArrayTest {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable List<List<Long>> arrayArrayOfInteger) {
|
||||
this.arrayArrayOfInteger = arrayArrayOfInteger;
|
||||
@@ -138,7 +138,7 @@ public class ArrayTest {
|
||||
* @return arrayArrayOfModel
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -146,7 +146,7 @@ public class ArrayTest {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable List<List<ReadOnlyFirst>> arrayArrayOfModel) {
|
||||
this.arrayArrayOfModel = arrayArrayOfModel;
|
||||
|
||||
@@ -75,7 +75,7 @@ public class Capitalization {
|
||||
* @return smallCamel
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SMALL_CAMEL)
|
||||
@JsonProperty(value = JSON_PROPERTY_SMALL_CAMEL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getSmallCamel() {
|
||||
@@ -83,7 +83,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SMALL_CAMEL)
|
||||
@JsonProperty(value = JSON_PROPERTY_SMALL_CAMEL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setSmallCamel(@jakarta.annotation.Nullable String smallCamel) {
|
||||
this.smallCamel = smallCamel;
|
||||
@@ -100,7 +100,7 @@ public class Capitalization {
|
||||
* @return capitalCamel
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL)
|
||||
@JsonProperty(value = JSON_PROPERTY_CAPITAL_CAMEL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getCapitalCamel() {
|
||||
@@ -108,7 +108,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL)
|
||||
@JsonProperty(value = JSON_PROPERTY_CAPITAL_CAMEL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setCapitalCamel(@jakarta.annotation.Nullable String capitalCamel) {
|
||||
this.capitalCamel = capitalCamel;
|
||||
@@ -125,7 +125,7 @@ public class Capitalization {
|
||||
* @return smallSnake
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SMALL_SNAKE)
|
||||
@JsonProperty(value = JSON_PROPERTY_SMALL_SNAKE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getSmallSnake() {
|
||||
@@ -133,7 +133,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SMALL_SNAKE)
|
||||
@JsonProperty(value = JSON_PROPERTY_SMALL_SNAKE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setSmallSnake(@jakarta.annotation.Nullable String smallSnake) {
|
||||
this.smallSnake = smallSnake;
|
||||
@@ -150,7 +150,7 @@ public class Capitalization {
|
||||
* @return capitalSnake
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE)
|
||||
@JsonProperty(value = JSON_PROPERTY_CAPITAL_SNAKE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getCapitalSnake() {
|
||||
@@ -158,7 +158,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE)
|
||||
@JsonProperty(value = JSON_PROPERTY_CAPITAL_SNAKE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setCapitalSnake(@jakarta.annotation.Nullable String capitalSnake) {
|
||||
this.capitalSnake = capitalSnake;
|
||||
@@ -175,7 +175,7 @@ public class Capitalization {
|
||||
* @return scAETHFlowPoints
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -183,7 +183,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable String scAETHFlowPoints) {
|
||||
this.scAETHFlowPoints = scAETHFlowPoints;
|
||||
@@ -200,7 +200,7 @@ public class Capitalization {
|
||||
* @return ATT_NAME
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -208,7 +208,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable String ATT_NAME) {
|
||||
this.ATT_NAME = ATT_NAME;
|
||||
|
||||
@@ -61,7 +61,7 @@ public class Cat extends Animal {
|
||||
* @return declawed
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_DECLAWED)
|
||||
@JsonProperty(value = JSON_PROPERTY_DECLAWED, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Boolean getDeclawed() {
|
||||
@@ -69,7 +69,7 @@ public class Cat extends Animal {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DECLAWED)
|
||||
@JsonProperty(value = JSON_PROPERTY_DECLAWED, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDeclawed(@jakarta.annotation.Nullable Boolean declawed) {
|
||||
this.declawed = declawed;
|
||||
|
||||
@@ -55,7 +55,7 @@ public class Category {
|
||||
* @return id
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Long getId() {
|
||||
@@ -63,7 +63,7 @@ public class Category {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(@jakarta.annotation.Nullable Long id) {
|
||||
this.id = id;
|
||||
@@ -80,7 +80,7 @@ public class Category {
|
||||
* @return name
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public String getName() {
|
||||
@@ -88,7 +88,7 @@ public class Category {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setName(@jakarta.annotation.Nonnull String name) {
|
||||
this.name = name;
|
||||
|
||||
@@ -62,7 +62,7 @@ public class ChildWithNullable extends ParentWithNullable {
|
||||
* @return otherProperty
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_OTHER_PROPERTY)
|
||||
@JsonProperty(value = JSON_PROPERTY_OTHER_PROPERTY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getOtherProperty() {
|
||||
@@ -70,7 +70,7 @@ public class ChildWithNullable extends ParentWithNullable {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_OTHER_PROPERTY)
|
||||
@JsonProperty(value = JSON_PROPERTY_OTHER_PROPERTY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setOtherProperty(@jakarta.annotation.Nullable String otherProperty) {
|
||||
this.otherProperty = otherProperty;
|
||||
|
||||
@@ -50,7 +50,7 @@ public class ClassModel {
|
||||
* @return propertyClass
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
|
||||
@JsonProperty(value = JSON_PROPERTY_PROPERTY_CLASS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getPropertyClass() {
|
||||
@@ -58,7 +58,7 @@ public class ClassModel {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
|
||||
@JsonProperty(value = JSON_PROPERTY_PROPERTY_CLASS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPropertyClass(@jakarta.annotation.Nullable String propertyClass) {
|
||||
this.propertyClass = propertyClass;
|
||||
|
||||
@@ -50,7 +50,7 @@ public class Client {
|
||||
* @return client
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_CLIENT)
|
||||
@JsonProperty(value = JSON_PROPERTY_CLIENT, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getClient() {
|
||||
@@ -58,7 +58,7 @@ public class Client {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CLIENT)
|
||||
@JsonProperty(value = JSON_PROPERTY_CLIENT, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setClient(@jakarta.annotation.Nullable String client) {
|
||||
this.client = client;
|
||||
|
||||
@@ -52,7 +52,7 @@ public class DeprecatedObject {
|
||||
* @return name
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getName() {
|
||||
@@ -60,7 +60,7 @@ public class DeprecatedObject {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(@jakarta.annotation.Nullable String name) {
|
||||
this.name = name;
|
||||
|
||||
@@ -61,7 +61,7 @@ public class Dog extends Animal {
|
||||
* @return breed
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_BREED)
|
||||
@JsonProperty(value = JSON_PROPERTY_BREED, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getBreed() {
|
||||
@@ -69,7 +69,7 @@ public class Dog extends Animal {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BREED)
|
||||
@JsonProperty(value = JSON_PROPERTY_BREED, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBreed(@jakarta.annotation.Nullable String breed) {
|
||||
this.breed = breed;
|
||||
|
||||
@@ -128,7 +128,7 @@ public class EnumArrays {
|
||||
* @return justSymbol
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_JUST_SYMBOL)
|
||||
@JsonProperty(value = JSON_PROPERTY_JUST_SYMBOL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public JustSymbolEnum getJustSymbol() {
|
||||
@@ -136,7 +136,7 @@ public class EnumArrays {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_JUST_SYMBOL)
|
||||
@JsonProperty(value = JSON_PROPERTY_JUST_SYMBOL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setJustSymbol(@jakarta.annotation.Nullable JustSymbolEnum justSymbol) {
|
||||
this.justSymbol = justSymbol;
|
||||
@@ -161,7 +161,7 @@ public class EnumArrays {
|
||||
* @return arrayEnum
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -169,7 +169,7 @@ public class EnumArrays {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_ENUM)
|
||||
@JsonProperty(value = JSON_PROPERTY_ARRAY_ENUM, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayEnum(@jakarta.annotation.Nullable List<ArrayEnumEnum> arrayEnum) {
|
||||
this.arrayEnum = arrayEnum;
|
||||
|
||||
@@ -238,7 +238,7 @@ public class EnumTest {
|
||||
* @return enumString
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_STRING)
|
||||
@JsonProperty(value = JSON_PROPERTY_ENUM_STRING, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public EnumStringEnum getEnumString() {
|
||||
@@ -246,7 +246,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_STRING)
|
||||
@JsonProperty(value = JSON_PROPERTY_ENUM_STRING, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setEnumString(@jakarta.annotation.Nullable EnumStringEnum enumString) {
|
||||
this.enumString = enumString;
|
||||
@@ -263,7 +263,7 @@ public class EnumTest {
|
||||
* @return enumStringRequired
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -271,7 +271,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED)
|
||||
@JsonProperty(value = JSON_PROPERTY_ENUM_STRING_REQUIRED, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setEnumStringRequired(@jakarta.annotation.Nonnull EnumStringRequiredEnum enumStringRequired) {
|
||||
this.enumStringRequired = enumStringRequired;
|
||||
@@ -288,7 +288,7 @@ public class EnumTest {
|
||||
* @return enumInteger
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER)
|
||||
@JsonProperty(value = JSON_PROPERTY_ENUM_INTEGER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public EnumIntegerEnum getEnumInteger() {
|
||||
@@ -296,7 +296,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER)
|
||||
@JsonProperty(value = JSON_PROPERTY_ENUM_INTEGER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setEnumInteger(@jakarta.annotation.Nullable EnumIntegerEnum enumInteger) {
|
||||
this.enumInteger = enumInteger;
|
||||
@@ -313,7 +313,7 @@ public class EnumTest {
|
||||
* @return enumNumber
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_ENUM_NUMBER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public EnumNumberEnum getEnumNumber() {
|
||||
@@ -321,7 +321,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ENUM_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_ENUM_NUMBER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setEnumNumber(@jakarta.annotation.Nullable EnumNumberEnum enumNumber) {
|
||||
this.enumNumber = enumNumber;
|
||||
@@ -344,7 +344,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() {
|
||||
@@ -371,7 +371,7 @@ public class EnumTest {
|
||||
* @return outerEnumInteger
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -379,7 +379,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_OUTER_ENUM_INTEGER)
|
||||
@JsonProperty(value = JSON_PROPERTY_OUTER_ENUM_INTEGER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setOuterEnumInteger(@jakarta.annotation.Nullable OuterEnumInteger outerEnumInteger) {
|
||||
this.outerEnumInteger = outerEnumInteger;
|
||||
@@ -396,7 +396,7 @@ public class EnumTest {
|
||||
* @return outerEnumDefaultValue
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -404,7 +404,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable OuterEnumDefaultValue outerEnumDefaultValue) {
|
||||
this.outerEnumDefaultValue = outerEnumDefaultValue;
|
||||
@@ -421,7 +421,7 @@ public class EnumTest {
|
||||
* @return outerEnumIntegerDefaultValue
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -429,7 +429,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable OuterEnumIntegerDefaultValue outerEnumIntegerDefaultValue) {
|
||||
this.outerEnumIntegerDefaultValue = outerEnumIntegerDefaultValue;
|
||||
|
||||
@@ -59,7 +59,7 @@ public class FakeBigDecimalMap200Response {
|
||||
* @return someId
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SOME_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_SOME_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public BigDecimal getSomeId() {
|
||||
@@ -67,7 +67,7 @@ public class FakeBigDecimalMap200Response {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SOME_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_SOME_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setSomeId(@jakarta.annotation.Nullable BigDecimal someId) {
|
||||
this.someId = someId;
|
||||
@@ -92,7 +92,7 @@ public class FakeBigDecimalMap200Response {
|
||||
* @return someMap
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -100,7 +100,7 @@ public class FakeBigDecimalMap200Response {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SOME_MAP)
|
||||
@JsonProperty(value = JSON_PROPERTY_SOME_MAP, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setSomeMap(@jakarta.annotation.Nullable Map<String, BigDecimal> someMap) {
|
||||
this.someMap = someMap;
|
||||
|
||||
@@ -59,7 +59,7 @@ public class FileSchemaTestClass {
|
||||
* @return _file
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_FILE)
|
||||
@JsonProperty(value = JSON_PROPERTY_FILE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public ModelFile getFile() {
|
||||
@@ -67,7 +67,7 @@ public class FileSchemaTestClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_FILE)
|
||||
@JsonProperty(value = JSON_PROPERTY_FILE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setFile(@jakarta.annotation.Nullable ModelFile _file) {
|
||||
this._file = _file;
|
||||
@@ -92,7 +92,7 @@ public class FileSchemaTestClass {
|
||||
* @return files
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_FILES)
|
||||
@JsonProperty(value = JSON_PROPERTY_FILES, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public List<ModelFile> getFiles() {
|
||||
@@ -100,7 +100,7 @@ public class FileSchemaTestClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_FILES)
|
||||
@JsonProperty(value = JSON_PROPERTY_FILES, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setFiles(@jakarta.annotation.Nullable List<ModelFile> files) {
|
||||
this.files = files;
|
||||
|
||||
@@ -50,7 +50,7 @@ public class Foo {
|
||||
* @return bar
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_BAR)
|
||||
@JsonProperty(value = JSON_PROPERTY_BAR, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getBar() {
|
||||
@@ -58,7 +58,7 @@ public class Foo {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BAR)
|
||||
@JsonProperty(value = JSON_PROPERTY_BAR, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBar(@jakarta.annotation.Nullable String bar) {
|
||||
this.bar = bar;
|
||||
|
||||
@@ -52,7 +52,7 @@ public class FooGetDefaultResponse {
|
||||
* @return string
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_STRING)
|
||||
@JsonProperty(value = JSON_PROPERTY_STRING, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Foo getString() {
|
||||
@@ -60,7 +60,7 @@ public class FooGetDefaultResponse {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STRING)
|
||||
@JsonProperty(value = JSON_PROPERTY_STRING, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setString(@jakarta.annotation.Nullable Foo string) {
|
||||
this.string = string;
|
||||
|
||||
@@ -133,7 +133,7 @@ public class FormatTest {
|
||||
* @return integer
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_INTEGER)
|
||||
@JsonProperty(value = JSON_PROPERTY_INTEGER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Integer getInteger() {
|
||||
@@ -141,7 +141,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INTEGER)
|
||||
@JsonProperty(value = JSON_PROPERTY_INTEGER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setInteger(@jakarta.annotation.Nullable Integer integer) {
|
||||
this.integer = integer;
|
||||
@@ -160,7 +160,7 @@ public class FormatTest {
|
||||
* @return int32
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_INT32)
|
||||
@JsonProperty(value = JSON_PROPERTY_INT32, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Integer getInt32() {
|
||||
@@ -168,7 +168,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INT32)
|
||||
@JsonProperty(value = JSON_PROPERTY_INT32, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setInt32(@jakarta.annotation.Nullable Integer int32) {
|
||||
this.int32 = int32;
|
||||
@@ -185,7 +185,7 @@ public class FormatTest {
|
||||
* @return int64
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_INT64)
|
||||
@JsonProperty(value = JSON_PROPERTY_INT64, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Long getInt64() {
|
||||
@@ -193,7 +193,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INT64)
|
||||
@JsonProperty(value = JSON_PROPERTY_INT64, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setInt64(@jakarta.annotation.Nullable Long int64) {
|
||||
this.int64 = int64;
|
||||
@@ -212,7 +212,7 @@ public class FormatTest {
|
||||
* @return number
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_NUMBER, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public BigDecimal getNumber() {
|
||||
@@ -220,7 +220,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_NUMBER, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setNumber(@jakarta.annotation.Nonnull BigDecimal number) {
|
||||
this.number = number;
|
||||
@@ -239,7 +239,7 @@ public class FormatTest {
|
||||
* @return _float
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_FLOAT)
|
||||
@JsonProperty(value = JSON_PROPERTY_FLOAT, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Float getFloat() {
|
||||
@@ -247,7 +247,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_FLOAT)
|
||||
@JsonProperty(value = JSON_PROPERTY_FLOAT, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setFloat(@jakarta.annotation.Nullable Float _float) {
|
||||
this._float = _float;
|
||||
@@ -266,7 +266,7 @@ public class FormatTest {
|
||||
* @return _double
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_DOUBLE)
|
||||
@JsonProperty(value = JSON_PROPERTY_DOUBLE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Double getDouble() {
|
||||
@@ -274,7 +274,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DOUBLE)
|
||||
@JsonProperty(value = JSON_PROPERTY_DOUBLE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDouble(@jakarta.annotation.Nullable Double _double) {
|
||||
this._double = _double;
|
||||
@@ -291,7 +291,7 @@ public class FormatTest {
|
||||
* @return decimal
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_DECIMAL)
|
||||
@JsonProperty(value = JSON_PROPERTY_DECIMAL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public BigDecimal getDecimal() {
|
||||
@@ -299,7 +299,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DECIMAL)
|
||||
@JsonProperty(value = JSON_PROPERTY_DECIMAL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDecimal(@jakarta.annotation.Nullable BigDecimal decimal) {
|
||||
this.decimal = decimal;
|
||||
@@ -316,7 +316,7 @@ public class FormatTest {
|
||||
* @return string
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_STRING)
|
||||
@JsonProperty(value = JSON_PROPERTY_STRING, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getString() {
|
||||
@@ -324,7 +324,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STRING)
|
||||
@JsonProperty(value = JSON_PROPERTY_STRING, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setString(@jakarta.annotation.Nullable String string) {
|
||||
this.string = string;
|
||||
@@ -341,7 +341,7 @@ public class FormatTest {
|
||||
* @return _byte
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_BYTE)
|
||||
@JsonProperty(value = JSON_PROPERTY_BYTE, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public byte[] getByte() {
|
||||
@@ -349,7 +349,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BYTE)
|
||||
@JsonProperty(value = JSON_PROPERTY_BYTE, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setByte(@jakarta.annotation.Nonnull byte[] _byte) {
|
||||
this._byte = _byte;
|
||||
@@ -366,7 +366,7 @@ public class FormatTest {
|
||||
* @return binary
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_BINARY)
|
||||
@JsonProperty(value = JSON_PROPERTY_BINARY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public File getBinary() {
|
||||
@@ -374,7 +374,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BINARY)
|
||||
@JsonProperty(value = JSON_PROPERTY_BINARY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBinary(@jakarta.annotation.Nullable File binary) {
|
||||
this.binary = binary;
|
||||
@@ -391,7 +391,7 @@ public class FormatTest {
|
||||
* @return date
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_DATE)
|
||||
@JsonProperty(value = JSON_PROPERTY_DATE, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public LocalDate getDate() {
|
||||
@@ -399,7 +399,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DATE)
|
||||
@JsonProperty(value = JSON_PROPERTY_DATE, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setDate(@jakarta.annotation.Nonnull LocalDate date) {
|
||||
this.date = date;
|
||||
@@ -416,7 +416,7 @@ public class FormatTest {
|
||||
* @return dateTime
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_DATE_TIME)
|
||||
@JsonProperty(value = JSON_PROPERTY_DATE_TIME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public OffsetDateTime getDateTime() {
|
||||
@@ -424,7 +424,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DATE_TIME)
|
||||
@JsonProperty(value = JSON_PROPERTY_DATE_TIME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDateTime(@jakarta.annotation.Nullable OffsetDateTime dateTime) {
|
||||
this.dateTime = dateTime;
|
||||
@@ -441,7 +441,7 @@ public class FormatTest {
|
||||
* @return uuid
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_UUID)
|
||||
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public UUID getUuid() {
|
||||
@@ -449,7 +449,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_UUID)
|
||||
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUuid(@jakarta.annotation.Nullable UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
@@ -466,7 +466,7 @@ public class FormatTest {
|
||||
* @return password
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_PASSWORD)
|
||||
@JsonProperty(value = JSON_PROPERTY_PASSWORD, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public String getPassword() {
|
||||
@@ -474,7 +474,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PASSWORD)
|
||||
@JsonProperty(value = JSON_PROPERTY_PASSWORD, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setPassword(@jakarta.annotation.Nonnull String password) {
|
||||
this.password = password;
|
||||
@@ -491,7 +491,7 @@ public class FormatTest {
|
||||
* @return patternWithDigits
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -499,7 +499,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PATTERN_WITH_DIGITS)
|
||||
@JsonProperty(value = JSON_PROPERTY_PATTERN_WITH_DIGITS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPatternWithDigits(@jakarta.annotation.Nullable String patternWithDigits) {
|
||||
this.patternWithDigits = patternWithDigits;
|
||||
@@ -516,7 +516,7 @@ public class FormatTest {
|
||||
* @return patternWithDigitsAndDelimiter
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -524,7 +524,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable String patternWithDigitsAndDelimiter) {
|
||||
this.patternWithDigitsAndDelimiter = patternWithDigitsAndDelimiter;
|
||||
|
||||
@@ -62,7 +62,7 @@ public class HasOnlyReadOnly {
|
||||
* @return bar
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_BAR)
|
||||
@JsonProperty(value = JSON_PROPERTY_BAR, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getBar() {
|
||||
@@ -76,7 +76,7 @@ public class HasOnlyReadOnly {
|
||||
* @return foo
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_FOO)
|
||||
@JsonProperty(value = JSON_PROPERTY_FOO, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getFoo() {
|
||||
|
||||
@@ -60,7 +60,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() {
|
||||
|
||||
@@ -110,7 +110,7 @@ public class MapTest {
|
||||
* @return mapMapOfString
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -118,7 +118,7 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable Map<String, Map<String, String>> mapMapOfString) {
|
||||
this.mapMapOfString = mapMapOfString;
|
||||
@@ -143,7 +143,7 @@ public class MapTest {
|
||||
* @return mapOfEnumString
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -151,7 +151,7 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable Map<String, InnerEnum> mapOfEnumString) {
|
||||
this.mapOfEnumString = mapOfEnumString;
|
||||
@@ -176,7 +176,7 @@ public class MapTest {
|
||||
* @return directMap
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -184,7 +184,7 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DIRECT_MAP)
|
||||
@JsonProperty(value = JSON_PROPERTY_DIRECT_MAP, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDirectMap(@jakarta.annotation.Nullable Map<String, Boolean> directMap) {
|
||||
this.directMap = directMap;
|
||||
@@ -209,7 +209,7 @@ public class MapTest {
|
||||
* @return indirectMap
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -217,7 +217,7 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_INDIRECT_MAP)
|
||||
@JsonProperty(value = JSON_PROPERTY_INDIRECT_MAP, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setIndirectMap(@jakarta.annotation.Nullable Map<String, Boolean> indirectMap) {
|
||||
this.indirectMap = indirectMap;
|
||||
|
||||
@@ -65,7 +65,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
* @return uuid
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_UUID)
|
||||
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public UUID getUuid() {
|
||||
@@ -73,7 +73,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_UUID)
|
||||
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUuid(@jakarta.annotation.Nullable UUID uuid) {
|
||||
this.uuid = uuid;
|
||||
@@ -90,7 +90,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
* @return dateTime
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_DATE_TIME)
|
||||
@JsonProperty(value = JSON_PROPERTY_DATE_TIME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public OffsetDateTime getDateTime() {
|
||||
@@ -98,7 +98,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DATE_TIME)
|
||||
@JsonProperty(value = JSON_PROPERTY_DATE_TIME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDateTime(@jakarta.annotation.Nullable OffsetDateTime dateTime) {
|
||||
this.dateTime = dateTime;
|
||||
@@ -123,7 +123,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
* @return map
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_MAP)
|
||||
@JsonProperty(value = JSON_PROPERTY_MAP, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Map<String, Animal> getMap() {
|
||||
@@ -131,7 +131,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MAP)
|
||||
@JsonProperty(value = JSON_PROPERTY_MAP, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMap(@jakarta.annotation.Nullable Map<String, Animal> map) {
|
||||
this.map = map;
|
||||
|
||||
@@ -56,7 +56,7 @@ public class Model200Response {
|
||||
* @return name
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Integer getName() {
|
||||
@@ -64,7 +64,7 @@ public class Model200Response {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(@jakarta.annotation.Nullable Integer name) {
|
||||
this.name = name;
|
||||
@@ -81,7 +81,7 @@ public class Model200Response {
|
||||
* @return propertyClass
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
|
||||
@JsonProperty(value = JSON_PROPERTY_PROPERTY_CLASS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getPropertyClass() {
|
||||
@@ -89,7 +89,7 @@ public class Model200Response {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
|
||||
@JsonProperty(value = JSON_PROPERTY_PROPERTY_CLASS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPropertyClass(@jakarta.annotation.Nullable String propertyClass) {
|
||||
this.propertyClass = propertyClass;
|
||||
|
||||
@@ -61,7 +61,7 @@ public class ModelApiResponse {
|
||||
* @return code
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_CODE)
|
||||
@JsonProperty(value = JSON_PROPERTY_CODE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Integer getCode() {
|
||||
@@ -69,7 +69,7 @@ public class ModelApiResponse {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CODE)
|
||||
@JsonProperty(value = JSON_PROPERTY_CODE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setCode(@jakarta.annotation.Nullable Integer code) {
|
||||
this.code = code;
|
||||
@@ -86,7 +86,7 @@ public class ModelApiResponse {
|
||||
* @return type
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_TYPE)
|
||||
@JsonProperty(value = JSON_PROPERTY_TYPE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getType() {
|
||||
@@ -94,7 +94,7 @@ public class ModelApiResponse {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_TYPE)
|
||||
@JsonProperty(value = JSON_PROPERTY_TYPE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setType(@jakarta.annotation.Nullable String type) {
|
||||
this.type = type;
|
||||
@@ -111,7 +111,7 @@ public class ModelApiResponse {
|
||||
* @return message
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_MESSAGE)
|
||||
@JsonProperty(value = JSON_PROPERTY_MESSAGE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getMessage() {
|
||||
@@ -119,7 +119,7 @@ public class ModelApiResponse {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MESSAGE)
|
||||
@JsonProperty(value = JSON_PROPERTY_MESSAGE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMessage(@jakarta.annotation.Nullable String message) {
|
||||
this.message = message;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class ModelFile {
|
||||
* @return sourceURI
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -59,7 +59,7 @@ public class ModelFile {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable String sourceURI) {
|
||||
this.sourceURI = sourceURI;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class ModelList {
|
||||
* @return _123list
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_123LIST)
|
||||
@JsonProperty(value = JSON_PROPERTY_123LIST, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String get123list() {
|
||||
@@ -59,7 +59,7 @@ public class ModelList {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_123LIST)
|
||||
@JsonProperty(value = JSON_PROPERTY_123LIST, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void set123list(@jakarta.annotation.Nullable String _123list) {
|
||||
this._123list = _123list;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class ModelReturn {
|
||||
* @return _return
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_RETURN)
|
||||
@JsonProperty(value = JSON_PROPERTY_RETURN, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Integer getReturn() {
|
||||
@@ -59,7 +59,7 @@ public class ModelReturn {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_RETURN)
|
||||
@JsonProperty(value = JSON_PROPERTY_RETURN, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setReturn(@jakarta.annotation.Nullable Integer _return) {
|
||||
this._return = _return;
|
||||
|
||||
@@ -77,7 +77,7 @@ public class Name {
|
||||
* @return name
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public Integer getName() {
|
||||
@@ -85,7 +85,7 @@ public class Name {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setName(@jakarta.annotation.Nonnull Integer name) {
|
||||
this.name = name;
|
||||
@@ -96,7 +96,7 @@ public class Name {
|
||||
* @return snakeCase
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SNAKE_CASE)
|
||||
@JsonProperty(value = JSON_PROPERTY_SNAKE_CASE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Integer getSnakeCase() {
|
||||
@@ -116,7 +116,7 @@ public class Name {
|
||||
* @return property
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_PROPERTY)
|
||||
@JsonProperty(value = JSON_PROPERTY_PROPERTY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getProperty() {
|
||||
@@ -124,7 +124,7 @@ public class Name {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PROPERTY)
|
||||
@JsonProperty(value = JSON_PROPERTY_PROPERTY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setProperty(@jakarta.annotation.Nullable String property) {
|
||||
this.property = property;
|
||||
@@ -135,7 +135,7 @@ public class Name {
|
||||
* @return _123number
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_123NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_123NUMBER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Integer get123number() {
|
||||
|
||||
@@ -127,7 +127,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() {
|
||||
@@ -160,7 +160,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() {
|
||||
@@ -193,7 +193,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() {
|
||||
@@ -226,7 +226,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() {
|
||||
@@ -259,7 +259,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() {
|
||||
@@ -292,7 +292,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() {
|
||||
@@ -337,7 +337,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() {
|
||||
@@ -382,7 +382,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() {
|
||||
@@ -417,7 +417,7 @@ public class NullableClass {
|
||||
* @return arrayItemsNullable
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -425,7 +425,7 @@ public class NullableClass {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ARRAY_ITEMS_NULLABLE)
|
||||
@JsonProperty(value = JSON_PROPERTY_ARRAY_ITEMS_NULLABLE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setArrayItemsNullable(@jakarta.annotation.Nullable List<Object> arrayItemsNullable) {
|
||||
this.arrayItemsNullable = arrayItemsNullable;
|
||||
@@ -460,7 +460,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() {
|
||||
@@ -505,7 +505,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() {
|
||||
@@ -540,7 +540,7 @@ public class NullableClass {
|
||||
* @return objectItemsNullable
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -548,7 +548,7 @@ public class NullableClass {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable Map<String, Object> objectItemsNullable) {
|
||||
this.objectItemsNullable = objectItemsNullable;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class NumberOnly {
|
||||
* @return justNumber
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_JUST_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_JUST_NUMBER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public BigDecimal getJustNumber() {
|
||||
@@ -59,7 +59,7 @@ public class NumberOnly {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_JUST_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_JUST_NUMBER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setJustNumber(@jakarta.annotation.Nullable BigDecimal justNumber) {
|
||||
this.justNumber = justNumber;
|
||||
|
||||
@@ -70,7 +70,7 @@ public class ObjectWithDeprecatedFields {
|
||||
* @return uuid
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_UUID)
|
||||
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getUuid() {
|
||||
@@ -78,7 +78,7 @@ public class ObjectWithDeprecatedFields {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_UUID)
|
||||
@JsonProperty(value = JSON_PROPERTY_UUID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUuid(@jakarta.annotation.Nullable String uuid) {
|
||||
this.uuid = uuid;
|
||||
@@ -97,7 +97,7 @@ public class ObjectWithDeprecatedFields {
|
||||
*/
|
||||
@Deprecated
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public BigDecimal getId() {
|
||||
@@ -105,7 +105,7 @@ public class ObjectWithDeprecatedFields {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(@jakarta.annotation.Nullable BigDecimal id) {
|
||||
this.id = id;
|
||||
@@ -124,7 +124,7 @@ public class ObjectWithDeprecatedFields {
|
||||
*/
|
||||
@Deprecated
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_DEPRECATED_REF)
|
||||
@JsonProperty(value = JSON_PROPERTY_DEPRECATED_REF, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public DeprecatedObject getDeprecatedRef() {
|
||||
@@ -132,7 +132,7 @@ public class ObjectWithDeprecatedFields {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_DEPRECATED_REF)
|
||||
@JsonProperty(value = JSON_PROPERTY_DEPRECATED_REF, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setDeprecatedRef(@jakarta.annotation.Nullable DeprecatedObject deprecatedRef) {
|
||||
this.deprecatedRef = deprecatedRef;
|
||||
@@ -159,7 +159,7 @@ public class ObjectWithDeprecatedFields {
|
||||
*/
|
||||
@Deprecated
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_BARS)
|
||||
@JsonProperty(value = JSON_PROPERTY_BARS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public List<String> getBars() {
|
||||
@@ -167,7 +167,7 @@ public class ObjectWithDeprecatedFields {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BARS)
|
||||
@JsonProperty(value = JSON_PROPERTY_BARS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBars(@jakarta.annotation.Nullable List<String> bars) {
|
||||
this.bars = bars;
|
||||
|
||||
@@ -113,7 +113,7 @@ public class Order {
|
||||
* @return id
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Long getId() {
|
||||
@@ -121,7 +121,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(@jakarta.annotation.Nullable Long id) {
|
||||
this.id = id;
|
||||
@@ -138,7 +138,7 @@ public class Order {
|
||||
* @return petId
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_PET_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_PET_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Long getPetId() {
|
||||
@@ -146,7 +146,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PET_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_PET_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPetId(@jakarta.annotation.Nullable Long petId) {
|
||||
this.petId = petId;
|
||||
@@ -163,7 +163,7 @@ public class Order {
|
||||
* @return quantity
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_QUANTITY)
|
||||
@JsonProperty(value = JSON_PROPERTY_QUANTITY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Integer getQuantity() {
|
||||
@@ -171,7 +171,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_QUANTITY)
|
||||
@JsonProperty(value = JSON_PROPERTY_QUANTITY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setQuantity(@jakarta.annotation.Nullable Integer quantity) {
|
||||
this.quantity = quantity;
|
||||
@@ -188,7 +188,7 @@ public class Order {
|
||||
* @return shipDate
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SHIP_DATE)
|
||||
@JsonProperty(value = JSON_PROPERTY_SHIP_DATE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public OffsetDateTime getShipDate() {
|
||||
@@ -196,7 +196,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SHIP_DATE)
|
||||
@JsonProperty(value = JSON_PROPERTY_SHIP_DATE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setShipDate(@jakarta.annotation.Nullable OffsetDateTime shipDate) {
|
||||
this.shipDate = shipDate;
|
||||
@@ -213,7 +213,7 @@ public class Order {
|
||||
* @return status
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_STATUS)
|
||||
@JsonProperty(value = JSON_PROPERTY_STATUS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public StatusEnum getStatus() {
|
||||
@@ -221,7 +221,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STATUS)
|
||||
@JsonProperty(value = JSON_PROPERTY_STATUS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setStatus(@jakarta.annotation.Nullable StatusEnum status) {
|
||||
this.status = status;
|
||||
@@ -238,7 +238,7 @@ public class Order {
|
||||
* @return complete
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_COMPLETE)
|
||||
@JsonProperty(value = JSON_PROPERTY_COMPLETE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Boolean getComplete() {
|
||||
@@ -246,7 +246,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_COMPLETE)
|
||||
@JsonProperty(value = JSON_PROPERTY_COMPLETE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setComplete(@jakarta.annotation.Nullable Boolean complete) {
|
||||
this.complete = complete;
|
||||
|
||||
@@ -61,7 +61,7 @@ public class OuterComposite {
|
||||
* @return myNumber
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_MY_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_MY_NUMBER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public BigDecimal getMyNumber() {
|
||||
@@ -69,7 +69,7 @@ public class OuterComposite {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MY_NUMBER)
|
||||
@JsonProperty(value = JSON_PROPERTY_MY_NUMBER, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMyNumber(@jakarta.annotation.Nullable BigDecimal myNumber) {
|
||||
this.myNumber = myNumber;
|
||||
@@ -86,7 +86,7 @@ public class OuterComposite {
|
||||
* @return myString
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_MY_STRING)
|
||||
@JsonProperty(value = JSON_PROPERTY_MY_STRING, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getMyString() {
|
||||
@@ -94,7 +94,7 @@ public class OuterComposite {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MY_STRING)
|
||||
@JsonProperty(value = JSON_PROPERTY_MY_STRING, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMyString(@jakarta.annotation.Nullable String myString) {
|
||||
this.myString = myString;
|
||||
@@ -111,7 +111,7 @@ public class OuterComposite {
|
||||
* @return myBoolean
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_MY_BOOLEAN)
|
||||
@JsonProperty(value = JSON_PROPERTY_MY_BOOLEAN, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Boolean getMyBoolean() {
|
||||
@@ -119,7 +119,7 @@ public class OuterComposite {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_MY_BOOLEAN)
|
||||
@JsonProperty(value = JSON_PROPERTY_MY_BOOLEAN, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setMyBoolean(@jakarta.annotation.Nullable Boolean myBoolean) {
|
||||
this.myBoolean = myBoolean;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class OuterObjectWithEnumProperty {
|
||||
* @return value
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_VALUE)
|
||||
@JsonProperty(value = JSON_PROPERTY_VALUE, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public OuterEnumInteger getValue() {
|
||||
@@ -59,7 +59,7 @@ public class OuterObjectWithEnumProperty {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_VALUE)
|
||||
@JsonProperty(value = JSON_PROPERTY_VALUE, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setValue(@jakarta.annotation.Nonnull OuterEnumInteger value) {
|
||||
this.value = value;
|
||||
|
||||
@@ -104,7 +104,7 @@ public class ParentWithNullable {
|
||||
* @return type
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_TYPE)
|
||||
@JsonProperty(value = JSON_PROPERTY_TYPE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public TypeEnum getType() {
|
||||
@@ -112,7 +112,7 @@ public class ParentWithNullable {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_TYPE)
|
||||
@JsonProperty(value = JSON_PROPERTY_TYPE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setType(@jakarta.annotation.Nullable TypeEnum type) {
|
||||
this.type = type;
|
||||
@@ -135,7 +135,7 @@ public class ParentWithNullable {
|
||||
return nullableProperty.orElse(null);
|
||||
}
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NULLABLE_PROPERTY)
|
||||
@JsonProperty(value = JSON_PROPERTY_NULLABLE_PROPERTY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public JsonNullable<String> getNullableProperty_JsonNullable() {
|
||||
|
||||
@@ -120,7 +120,7 @@ public class Pet {
|
||||
* @return id
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Long getId() {
|
||||
@@ -128,7 +128,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(@jakarta.annotation.Nullable Long id) {
|
||||
this.id = id;
|
||||
@@ -145,7 +145,7 @@ public class Pet {
|
||||
* @return category
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_CATEGORY)
|
||||
@JsonProperty(value = JSON_PROPERTY_CATEGORY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Category getCategory() {
|
||||
@@ -153,7 +153,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_CATEGORY)
|
||||
@JsonProperty(value = JSON_PROPERTY_CATEGORY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setCategory(@jakarta.annotation.Nullable Category category) {
|
||||
this.category = category;
|
||||
@@ -170,7 +170,7 @@ public class Pet {
|
||||
* @return name
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public String getName() {
|
||||
@@ -178,7 +178,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setName(@jakarta.annotation.Nonnull String name) {
|
||||
this.name = name;
|
||||
@@ -203,7 +203,7 @@ public class Pet {
|
||||
* @return photoUrls
|
||||
*/
|
||||
@jakarta.annotation.Nonnull
|
||||
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
|
||||
@JsonProperty(value = JSON_PROPERTY_PHOTO_URLS, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
|
||||
public Set<String> getPhotoUrls() {
|
||||
@@ -212,7 +212,7 @@ public class Pet {
|
||||
|
||||
|
||||
@JsonDeserialize(as = LinkedHashSet.class)
|
||||
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
|
||||
@JsonProperty(value = JSON_PROPERTY_PHOTO_URLS, required = true)
|
||||
@JsonInclude(value = JsonInclude.Include.ALWAYS)
|
||||
public void setPhotoUrls(@jakarta.annotation.Nonnull Set<String> photoUrls) {
|
||||
this.photoUrls = photoUrls;
|
||||
@@ -237,7 +237,7 @@ public class Pet {
|
||||
* @return tags
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_TAGS)
|
||||
@JsonProperty(value = JSON_PROPERTY_TAGS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public List<Tag> getTags() {
|
||||
@@ -245,7 +245,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_TAGS)
|
||||
@JsonProperty(value = JSON_PROPERTY_TAGS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setTags(@jakarta.annotation.Nullable List<Tag> tags) {
|
||||
this.tags = tags;
|
||||
@@ -262,7 +262,7 @@ public class Pet {
|
||||
* @return status
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_STATUS)
|
||||
@JsonProperty(value = JSON_PROPERTY_STATUS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public StatusEnum getStatus() {
|
||||
@@ -270,7 +270,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_STATUS)
|
||||
@JsonProperty(value = JSON_PROPERTY_STATUS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setStatus(@jakarta.annotation.Nullable StatusEnum status) {
|
||||
this.status = status;
|
||||
|
||||
@@ -59,7 +59,7 @@ public class ReadOnlyFirst {
|
||||
* @return bar
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_BAR)
|
||||
@JsonProperty(value = JSON_PROPERTY_BAR, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getBar() {
|
||||
@@ -79,7 +79,7 @@ public class ReadOnlyFirst {
|
||||
* @return baz
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_BAZ)
|
||||
@JsonProperty(value = JSON_PROPERTY_BAZ, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getBaz() {
|
||||
@@ -87,7 +87,7 @@ public class ReadOnlyFirst {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_BAZ)
|
||||
@JsonProperty(value = JSON_PROPERTY_BAZ, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setBaz(@jakarta.annotation.Nullable String baz) {
|
||||
this.baz = baz;
|
||||
|
||||
@@ -51,7 +51,7 @@ public class SpecialModelName {
|
||||
* @return $specialPropertyName
|
||||
*/
|
||||
@jakarta.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() {
|
||||
@@ -59,7 +59,7 @@ public class SpecialModelName {
|
||||
}
|
||||
|
||||
|
||||
@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(@jakarta.annotation.Nullable Long $specialPropertyName) {
|
||||
this.$specialPropertyName = $specialPropertyName;
|
||||
|
||||
@@ -55,7 +55,7 @@ public class Tag {
|
||||
* @return id
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Long getId() {
|
||||
@@ -63,7 +63,7 @@ public class Tag {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(@jakarta.annotation.Nullable Long id) {
|
||||
this.id = id;
|
||||
@@ -80,7 +80,7 @@ public class Tag {
|
||||
* @return name
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getName() {
|
||||
@@ -88,7 +88,7 @@ public class Tag {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setName(@jakarta.annotation.Nullable String name) {
|
||||
this.name = name;
|
||||
|
||||
@@ -55,7 +55,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest {
|
||||
* @return someProperty
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_SOME_PROPERTY)
|
||||
@JsonProperty(value = JSON_PROPERTY_SOME_PROPERTY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getSomeProperty() {
|
||||
@@ -63,7 +63,7 @@ public class TestInlineFreeformAdditionalPropertiesRequest {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_SOME_PROPERTY)
|
||||
@JsonProperty(value = JSON_PROPERTY_SOME_PROPERTY, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setSomeProperty(@jakarta.annotation.Nullable String someProperty) {
|
||||
this.someProperty = someProperty;
|
||||
|
||||
@@ -85,7 +85,7 @@ public class User {
|
||||
* @return id
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Long getId() {
|
||||
@@ -93,7 +93,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_ID)
|
||||
@JsonProperty(value = JSON_PROPERTY_ID, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setId(@jakarta.annotation.Nullable Long id) {
|
||||
this.id = id;
|
||||
@@ -110,7 +110,7 @@ public class User {
|
||||
* @return username
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_USERNAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_USERNAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getUsername() {
|
||||
@@ -118,7 +118,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_USERNAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_USERNAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUsername(@jakarta.annotation.Nullable String username) {
|
||||
this.username = username;
|
||||
@@ -135,7 +135,7 @@ public class User {
|
||||
* @return firstName
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_FIRST_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_FIRST_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getFirstName() {
|
||||
@@ -143,7 +143,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_FIRST_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_FIRST_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setFirstName(@jakarta.annotation.Nullable String firstName) {
|
||||
this.firstName = firstName;
|
||||
@@ -160,7 +160,7 @@ public class User {
|
||||
* @return lastName
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_LAST_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_LAST_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getLastName() {
|
||||
@@ -168,7 +168,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_LAST_NAME)
|
||||
@JsonProperty(value = JSON_PROPERTY_LAST_NAME, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setLastName(@jakarta.annotation.Nullable String lastName) {
|
||||
this.lastName = lastName;
|
||||
@@ -185,7 +185,7 @@ public class User {
|
||||
* @return email
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_EMAIL)
|
||||
@JsonProperty(value = JSON_PROPERTY_EMAIL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getEmail() {
|
||||
@@ -193,7 +193,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_EMAIL)
|
||||
@JsonProperty(value = JSON_PROPERTY_EMAIL, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setEmail(@jakarta.annotation.Nullable String email) {
|
||||
this.email = email;
|
||||
@@ -210,7 +210,7 @@ public class User {
|
||||
* @return password
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_PASSWORD)
|
||||
@JsonProperty(value = JSON_PROPERTY_PASSWORD, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getPassword() {
|
||||
@@ -218,7 +218,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PASSWORD)
|
||||
@JsonProperty(value = JSON_PROPERTY_PASSWORD, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPassword(@jakarta.annotation.Nullable String password) {
|
||||
this.password = password;
|
||||
@@ -235,7 +235,7 @@ public class User {
|
||||
* @return phone
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_PHONE)
|
||||
@JsonProperty(value = JSON_PROPERTY_PHONE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public String getPhone() {
|
||||
@@ -243,7 +243,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_PHONE)
|
||||
@JsonProperty(value = JSON_PROPERTY_PHONE, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setPhone(@jakarta.annotation.Nullable String phone) {
|
||||
this.phone = phone;
|
||||
@@ -260,7 +260,7 @@ public class User {
|
||||
* @return userStatus
|
||||
*/
|
||||
@jakarta.annotation.Nullable
|
||||
@JsonProperty(JSON_PROPERTY_USER_STATUS)
|
||||
@JsonProperty(value = JSON_PROPERTY_USER_STATUS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
|
||||
public Integer getUserStatus() {
|
||||
@@ -268,7 +268,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@JsonProperty(JSON_PROPERTY_USER_STATUS)
|
||||
@JsonProperty(value = JSON_PROPERTY_USER_STATUS, required = false)
|
||||
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
|
||||
public void setUserStatus(@jakarta.annotation.Nullable Integer userStatus) {
|
||||
this.userStatus = userStatus;
|
||||
|
||||
Reference in New Issue
Block a user