update java samples

This commit is contained in:
William Cheng 2022-04-21 11:00:39 +08:00
parent a8d4c00662
commit f92f8f1e58
52 changed files with 181 additions and 181 deletions

View File

@ -54,7 +54,7 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -55,7 +55,7 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -54,7 +54,7 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -103,7 +103,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, String> getMapString() {
public Map<String, String> getMapString() {
return mapString;
}
@ -134,7 +134,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, BigDecimal> getMapNumber() {
public Map<String, BigDecimal> getMapNumber() {
return mapNumber;
}
@ -165,7 +165,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Integer> getMapInteger() {
public Map<String, Integer> getMapInteger() {
return mapInteger;
}
@ -196,7 +196,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Boolean> getMapBoolean() {
public Map<String, Boolean> getMapBoolean() {
return mapBoolean;
}
@ -227,7 +227,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_ARRAY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, List<Integer>> getMapArrayInteger() {
public Map<String, List<Integer>> getMapArrayInteger() {
return mapArrayInteger;
}
@ -258,7 +258,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_ARRAY_ANYTYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, List<Object>> getMapArrayAnytype() {
public Map<String, List<Object>> getMapArrayAnytype() {
return mapArrayAnytype;
}
@ -289,7 +289,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_MAP_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Map<String, String>> getMapMapString() {
public Map<String, Map<String, String>> getMapMapString() {
return mapMapString;
}
@ -320,7 +320,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_MAP_ANYTYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Map<String, Object>> getMapMapAnytype() {
public Map<String, Map<String, Object>> getMapMapAnytype() {
return mapMapAnytype;
}
@ -343,7 +343,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ANYTYPE1)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Object getAnytype1() {
public Object getAnytype1() {
return anytype1;
}
@ -366,7 +366,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ANYTYPE2)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Object getAnytype2() {
public Object getAnytype2() {
return anytype2;
}
@ -389,7 +389,7 @@ public class AdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ANYTYPE3)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Object getAnytype3() {
public Object getAnytype3() {
return anytype3;
}

View File

@ -54,7 +54,7 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -55,7 +55,7 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -54,7 +54,7 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -54,7 +54,7 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -69,7 +69,7 @@ public class Animal {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getClassName() {
public String getClassName() {
return className;
}
@ -92,7 +92,7 @@ public class Animal {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COLOR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getColor() {
public String getColor() {
return color;
}

View File

@ -62,7 +62,7 @@ public class ArrayOfArrayOfNumberOnly {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<List<BigDecimal>> getArrayArrayNumber() {
public List<List<BigDecimal>> getArrayArrayNumber() {
return arrayArrayNumber;
}

View File

@ -62,7 +62,7 @@ public class ArrayOfNumberOnly {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ARRAY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<BigDecimal> getArrayNumber() {
public List<BigDecimal> getArrayNumber() {
return arrayNumber;
}

View File

@ -70,7 +70,7 @@ public class ArrayTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ARRAY_OF_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<String> getArrayOfString() {
public List<String> getArrayOfString() {
return arrayOfString;
}
@ -101,7 +101,7 @@ public class ArrayTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<List<Long>> getArrayArrayOfInteger() {
public List<List<Long>> getArrayArrayOfInteger() {
return arrayArrayOfInteger;
}
@ -132,7 +132,7 @@ public class ArrayTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ARRAY_ARRAY_OF_MODEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
return arrayArrayOfModel;
}

View File

@ -89,7 +89,7 @@ public class BigCat extends Cat {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_KIND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public KindEnum getKind() {
public KindEnum getKind() {
return kind;
}

View File

@ -87,7 +87,7 @@ public class BigCatAllOf {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_KIND)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public KindEnum getKind() {
public KindEnum getKind() {
return kind;
}

View File

@ -71,7 +71,7 @@ public class Capitalization {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SMALL_CAMEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSmallCamel() {
public String getSmallCamel() {
return smallCamel;
}
@ -94,7 +94,7 @@ public class Capitalization {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CAPITAL_CAMEL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCapitalCamel() {
public String getCapitalCamel() {
return capitalCamel;
}
@ -117,7 +117,7 @@ public class Capitalization {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SMALL_SNAKE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSmallSnake() {
public String getSmallSnake() {
return smallSnake;
}
@ -140,7 +140,7 @@ public class Capitalization {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CAPITAL_SNAKE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getCapitalSnake() {
public String getCapitalSnake() {
return capitalSnake;
}
@ -163,7 +163,7 @@ public class Capitalization {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SC_A_E_T_H_FLOW_POINTS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getScAETHFlowPoints() {
public String getScAETHFlowPoints() {
return scAETHFlowPoints;
}
@ -186,7 +186,7 @@ public class Capitalization {
@ApiModelProperty(value = "Name of the pet ")
@JsonProperty(JSON_PROPERTY_A_T_T_N_A_M_E)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getATTNAME() {
public String getATTNAME() {
return ATT_NAME;
}

View File

@ -54,7 +54,7 @@ public class Cat extends Animal {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getDeclawed() {
public Boolean getDeclawed() {
return declawed;
}

View File

@ -52,7 +52,7 @@ public class CatAllOf {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DECLAWED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getDeclawed() {
public Boolean getDeclawed() {
return declawed;
}

View File

@ -55,7 +55,7 @@ public class Category {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -78,7 +78,7 @@ public class Category {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
public String getName() {
return name;
}

View File

@ -52,7 +52,7 @@ public class ClassModel {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPropertyClass() {
public String getPropertyClass() {
return propertyClass;
}

View File

@ -54,7 +54,7 @@ public class Dog extends Animal {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BREED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBreed() {
public String getBreed() {
return breed;
}

View File

@ -52,7 +52,7 @@ public class DogAllOf {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BREED)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBreed() {
public String getBreed() {
return breed;
}

View File

@ -123,7 +123,7 @@ public class EnumArrays {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_JUST_SYMBOL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public JustSymbolEnum getJustSymbol() {
public JustSymbolEnum getJustSymbol() {
return justSymbol;
}
@ -154,7 +154,7 @@ public class EnumArrays {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ARRAY_ENUM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<ArrayEnumEnum> getArrayEnum() {
public List<ArrayEnumEnum> getArrayEnum() {
return arrayEnum;
}

View File

@ -203,7 +203,7 @@ public class EnumTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ENUM_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public EnumStringEnum getEnumString() {
public EnumStringEnum getEnumString() {
return enumString;
}
@ -226,7 +226,7 @@ public class EnumTest {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public EnumStringRequiredEnum getEnumStringRequired() {
public EnumStringRequiredEnum getEnumStringRequired() {
return enumStringRequired;
}
@ -249,7 +249,7 @@ public class EnumTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ENUM_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public EnumIntegerEnum getEnumInteger() {
public EnumIntegerEnum getEnumInteger() {
return enumInteger;
}
@ -272,7 +272,7 @@ public class EnumTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ENUM_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public EnumNumberEnum getEnumNumber() {
public EnumNumberEnum getEnumNumber() {
return enumNumber;
}
@ -295,7 +295,7 @@ public class EnumTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_OUTER_ENUM)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public OuterEnum getOuterEnum() {
public OuterEnum getOuterEnum() {
return outerEnum;
}

View File

@ -59,7 +59,7 @@ public class FileSchemaTestClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_FILE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public ModelFile getFile() {
public ModelFile getFile() {
return _file;
}
@ -90,7 +90,7 @@ public class FileSchemaTestClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_FILES)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<ModelFile> getFiles() {
public List<ModelFile> getFiles() {
return files;
}

View File

@ -113,7 +113,7 @@ public class FormatTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInteger() {
public Integer getInteger() {
return integer;
}
@ -140,7 +140,7 @@ public class FormatTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_INT32)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getInt32() {
public Integer getInt32() {
return int32;
}
@ -163,7 +163,7 @@ public class FormatTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_INT64)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getInt64() {
public Long getInt64() {
return int64;
}
@ -190,7 +190,7 @@ public class FormatTest {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_NUMBER)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public BigDecimal getNumber() {
public BigDecimal getNumber() {
return number;
}
@ -217,7 +217,7 @@ public class FormatTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_FLOAT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Float getFloat() {
public Float getFloat() {
return _float;
}
@ -244,7 +244,7 @@ public class FormatTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DOUBLE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Double getDouble() {
public Double getDouble() {
return _double;
}
@ -268,7 +268,7 @@ public class FormatTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getString() {
public String getString() {
return string;
}
@ -291,7 +291,7 @@ public class FormatTest {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_BYTE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public byte[] getByte() {
public byte[] getByte() {
return _byte;
}
@ -314,7 +314,7 @@ public class FormatTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BINARY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public File getBinary() {
public File getBinary() {
return binary;
}
@ -338,7 +338,7 @@ public class FormatTest {
@JsonProperty(JSON_PROPERTY_DATE)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd")
public LocalDate getDate() {
public LocalDate getDate() {
return date;
}
@ -363,7 +363,7 @@ public class FormatTest {
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXX")
public OffsetDateTime getDateTime() {
public OffsetDateTime getDateTime() {
return dateTime;
}
@ -387,7 +387,7 @@ public class FormatTest {
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
public UUID getUuid() {
return uuid;
}
@ -411,7 +411,7 @@ public class FormatTest {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getPassword() {
public String getPassword() {
return password;
}
@ -434,7 +434,7 @@ public class FormatTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BIG_DECIMAL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getBigDecimal() {
public BigDecimal getBigDecimal() {
return bigDecimal;
}

View File

@ -51,7 +51,7 @@ public class HasOnlyReadOnly {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BAR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBar() {
public String getBar() {
return bar;
}
@ -63,7 +63,7 @@ public class HasOnlyReadOnly {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_FOO)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFoo() {
public String getFoo() {
return foo;
}

View File

@ -107,7 +107,7 @@ public class MapTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_MAP_OF_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Map<String, String>> getMapMapOfString() {
public Map<String, Map<String, String>> getMapMapOfString() {
return mapMapOfString;
}
@ -138,7 +138,7 @@ public class MapTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP_OF_ENUM_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, InnerEnum> getMapOfEnumString() {
public Map<String, InnerEnum> getMapOfEnumString() {
return mapOfEnumString;
}
@ -169,7 +169,7 @@ public class MapTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_DIRECT_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Boolean> getDirectMap() {
public Map<String, Boolean> getDirectMap() {
return directMap;
}
@ -200,7 +200,7 @@ public class MapTest {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_INDIRECT_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Boolean> getIndirectMap() {
public Map<String, Boolean> getIndirectMap() {
return indirectMap;
}

View File

@ -65,7 +65,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_UUID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public UUID getUuid() {
public UUID getUuid() {
return uuid;
}
@ -89,7 +89,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
@JsonProperty(JSON_PROPERTY_DATE_TIME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXX")
public OffsetDateTime getDateTime() {
public OffsetDateTime getDateTime() {
return dateTime;
}
@ -121,7 +121,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MAP)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Map<String, Animal> getMap() {
public Map<String, Animal> getMap() {
return map;
}

View File

@ -57,7 +57,7 @@ public class Model200Response {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getName() {
public Integer getName() {
return name;
}
@ -80,7 +80,7 @@ public class Model200Response {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PROPERTY_CLASS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPropertyClass() {
public String getPropertyClass() {
return propertyClass;
}

View File

@ -60,7 +60,7 @@ public class ModelApiResponse {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getCode() {
public Integer getCode() {
return code;
}
@ -83,7 +83,7 @@ public class ModelApiResponse {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getType() {
public String getType() {
return type;
}
@ -106,7 +106,7 @@ public class ModelApiResponse {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MESSAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMessage() {
public String getMessage() {
return message;
}

View File

@ -52,7 +52,7 @@ public class ModelClient {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CLIENT)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getClient() {
public String getClient() {
return _client;
}

View File

@ -53,7 +53,7 @@ public class ModelFile {
@ApiModelProperty(value = "Test capitalization")
@JsonProperty(JSON_PROPERTY_SOURCE_U_R_I)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getSourceURI() {
public String getSourceURI() {
return sourceURI;
}

View File

@ -52,7 +52,7 @@ public class ModelList {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_123LIST)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String get123list() {
public String get123list() {
return _123list;
}

View File

@ -53,7 +53,7 @@ public class ModelReturn {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_RETURN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getReturn() {
public Integer getReturn() {
return _return;
}

View File

@ -64,7 +64,7 @@ public class Name {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getName() {
public Integer getName() {
return name;
}
@ -82,7 +82,7 @@ public class Name {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_SNAKE_CASE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getSnakeCase() {
public Integer getSnakeCase() {
return snakeCase;
}
@ -99,7 +99,7 @@ public class Name {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PROPERTY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getProperty() {
public String getProperty() {
return property;
}
@ -117,7 +117,7 @@ public class Name {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_123NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer get123number() {
public Integer get123number() {
return _123number;
}

View File

@ -52,7 +52,7 @@ public class NumberOnly {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_JUST_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getJustNumber() {
public BigDecimal getJustNumber() {
return justNumber;
}

View File

@ -106,7 +106,7 @@ public class Order {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -129,7 +129,7 @@ public class Order {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPetId() {
public Long getPetId() {
return petId;
}
@ -152,7 +152,7 @@ public class Order {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_QUANTITY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getQuantity() {
public Integer getQuantity() {
return quantity;
}
@ -176,7 +176,7 @@ public class Order {
@JsonProperty(JSON_PROPERTY_SHIP_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXX")
public OffsetDateTime getShipDate() {
public OffsetDateTime getShipDate() {
return shipDate;
}
@ -200,7 +200,7 @@ public class Order {
@ApiModelProperty(value = "Order Status")
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public StatusEnum getStatus() {
public StatusEnum getStatus() {
return status;
}
@ -223,7 +223,7 @@ public class Order {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COMPLETE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getComplete() {
public Boolean getComplete() {
return complete;
}

View File

@ -60,7 +60,7 @@ public class OuterComposite {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MY_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getMyNumber() {
public BigDecimal getMyNumber() {
return myNumber;
}
@ -83,7 +83,7 @@ public class OuterComposite {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MY_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMyString() {
public String getMyString() {
return myString;
}
@ -106,7 +106,7 @@ public class OuterComposite {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MY_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getMyBoolean() {
public Boolean getMyBoolean() {
return myBoolean;
}

View File

@ -112,7 +112,7 @@ public class Pet {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -136,7 +136,7 @@ public class Pet {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Category getCategory() {
public Category getCategory() {
return category;
}
@ -159,7 +159,7 @@ public class Pet {
@ApiModelProperty(example = "doggie", required = true, value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
public String getName() {
return name;
}
@ -187,7 +187,7 @@ public class Pet {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Set<String> getPhotoUrls() {
public Set<String> getPhotoUrls() {
return photoUrls;
}
@ -219,7 +219,7 @@ public class Pet {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_TAGS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Tag> getTags() {
public List<Tag> getTags() {
return tags;
}
@ -242,7 +242,7 @@ public class Pet {
@ApiModelProperty(value = "pet status in the store")
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public StatusEnum getStatus() {
public StatusEnum getStatus() {
return status;
}

View File

@ -50,7 +50,7 @@ public class ReadOnlyFirst {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BAR)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBar() {
public String getBar() {
return bar;
}
@ -67,7 +67,7 @@ public class ReadOnlyFirst {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_BAZ)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getBaz() {
public String getBaz() {
return baz;
}

View File

@ -52,7 +52,7 @@ public class SpecialModelName {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_$_SPECIAL_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long get$SpecialPropertyName() {
public Long get$SpecialPropertyName() {
return $specialPropertyName;
}

View File

@ -55,7 +55,7 @@ public class Tag {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -78,7 +78,7 @@ public class Tag {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -70,7 +70,7 @@ public class TypeHolderDefault {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getStringItem() {
public String getStringItem() {
return stringItem;
}
@ -93,7 +93,7 @@ public class TypeHolderDefault {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_NUMBER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public BigDecimal getNumberItem() {
public BigDecimal getNumberItem() {
return numberItem;
}
@ -116,7 +116,7 @@ public class TypeHolderDefault {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_INTEGER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getIntegerItem() {
public Integer getIntegerItem() {
return integerItem;
}
@ -139,7 +139,7 @@ public class TypeHolderDefault {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_BOOL_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getBoolItem() {
public Boolean getBoolItem() {
return boolItem;
}
@ -167,7 +167,7 @@ public class TypeHolderDefault {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_ARRAY_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List<Integer> getArrayItem() {
public List<Integer> getArrayItem() {
return arrayItem;
}

View File

@ -74,7 +74,7 @@ public class TypeHolderExample {
@ApiModelProperty(example = "what", required = true, value = "")
@JsonProperty(JSON_PROPERTY_STRING_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getStringItem() {
public String getStringItem() {
return stringItem;
}
@ -97,7 +97,7 @@ public class TypeHolderExample {
@ApiModelProperty(example = "1.234", required = true, value = "")
@JsonProperty(JSON_PROPERTY_NUMBER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public BigDecimal getNumberItem() {
public BigDecimal getNumberItem() {
return numberItem;
}
@ -120,7 +120,7 @@ public class TypeHolderExample {
@ApiModelProperty(example = "1.234", required = true, value = "")
@JsonProperty(JSON_PROPERTY_FLOAT_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Float getFloatItem() {
public Float getFloatItem() {
return floatItem;
}
@ -143,7 +143,7 @@ public class TypeHolderExample {
@ApiModelProperty(example = "-2", required = true, value = "")
@JsonProperty(JSON_PROPERTY_INTEGER_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Integer getIntegerItem() {
public Integer getIntegerItem() {
return integerItem;
}
@ -166,7 +166,7 @@ public class TypeHolderExample {
@ApiModelProperty(example = "true", required = true, value = "")
@JsonProperty(JSON_PROPERTY_BOOL_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public Boolean getBoolItem() {
public Boolean getBoolItem() {
return boolItem;
}
@ -194,7 +194,7 @@ public class TypeHolderExample {
@ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "")
@JsonProperty(JSON_PROPERTY_ARRAY_ITEM)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List<Integer> getArrayItem() {
public List<Integer> getArrayItem() {
return arrayItem;
}

View File

@ -79,7 +79,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -102,7 +102,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_USERNAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUsername() {
public String getUsername() {
return username;
}
@ -125,7 +125,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_FIRST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFirstName() {
public String getFirstName() {
return firstName;
}
@ -148,7 +148,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_LAST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLastName() {
public String getLastName() {
return lastName;
}
@ -171,7 +171,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_EMAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEmail() {
public String getEmail() {
return email;
}
@ -194,7 +194,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPassword() {
public String getPassword() {
return password;
}
@ -217,7 +217,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PHONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPhone() {
public String getPhone() {
return phone;
}
@ -240,7 +240,7 @@ public class User {
@ApiModelProperty(value = "User Status")
@JsonProperty(JSON_PROPERTY_USER_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getUserStatus() {
public Integer getUserStatus() {
return userStatus;
}

View File

@ -166,7 +166,7 @@ public class XmlItem {
@ApiModelProperty(example = "string", value = "")
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getAttributeString() {
public String getAttributeString() {
return attributeString;
}
@ -189,7 +189,7 @@ public class XmlItem {
@ApiModelProperty(example = "1.234", value = "")
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getAttributeNumber() {
public BigDecimal getAttributeNumber() {
return attributeNumber;
}
@ -212,7 +212,7 @@ public class XmlItem {
@ApiModelProperty(example = "-2", value = "")
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getAttributeInteger() {
public Integer getAttributeInteger() {
return attributeInteger;
}
@ -235,7 +235,7 @@ public class XmlItem {
@ApiModelProperty(example = "true", value = "")
@JsonProperty(JSON_PROPERTY_ATTRIBUTE_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getAttributeBoolean() {
public Boolean getAttributeBoolean() {
return attributeBoolean;
}
@ -266,7 +266,7 @@ public class XmlItem {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Integer> getWrappedArray() {
public List<Integer> getWrappedArray() {
return wrappedArray;
}
@ -289,7 +289,7 @@ public class XmlItem {
@ApiModelProperty(example = "string", value = "")
@JsonProperty(JSON_PROPERTY_NAME_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getNameString() {
public String getNameString() {
return nameString;
}
@ -312,7 +312,7 @@ public class XmlItem {
@ApiModelProperty(example = "1.234", value = "")
@JsonProperty(JSON_PROPERTY_NAME_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getNameNumber() {
public BigDecimal getNameNumber() {
return nameNumber;
}
@ -335,7 +335,7 @@ public class XmlItem {
@ApiModelProperty(example = "-2", value = "")
@JsonProperty(JSON_PROPERTY_NAME_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getNameInteger() {
public Integer getNameInteger() {
return nameInteger;
}
@ -358,7 +358,7 @@ public class XmlItem {
@ApiModelProperty(example = "true", value = "")
@JsonProperty(JSON_PROPERTY_NAME_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getNameBoolean() {
public Boolean getNameBoolean() {
return nameBoolean;
}
@ -389,7 +389,7 @@ public class XmlItem {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Integer> getNameArray() {
public List<Integer> getNameArray() {
return nameArray;
}
@ -420,7 +420,7 @@ public class XmlItem {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Integer> getNameWrappedArray() {
public List<Integer> getNameWrappedArray() {
return nameWrappedArray;
}
@ -443,7 +443,7 @@ public class XmlItem {
@ApiModelProperty(example = "string", value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPrefixString() {
public String getPrefixString() {
return prefixString;
}
@ -466,7 +466,7 @@ public class XmlItem {
@ApiModelProperty(example = "1.234", value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getPrefixNumber() {
public BigDecimal getPrefixNumber() {
return prefixNumber;
}
@ -489,7 +489,7 @@ public class XmlItem {
@ApiModelProperty(example = "-2", value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getPrefixInteger() {
public Integer getPrefixInteger() {
return prefixInteger;
}
@ -512,7 +512,7 @@ public class XmlItem {
@ApiModelProperty(example = "true", value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getPrefixBoolean() {
public Boolean getPrefixBoolean() {
return prefixBoolean;
}
@ -543,7 +543,7 @@ public class XmlItem {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Integer> getPrefixArray() {
public List<Integer> getPrefixArray() {
return prefixArray;
}
@ -574,7 +574,7 @@ public class XmlItem {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Integer> getPrefixWrappedArray() {
public List<Integer> getPrefixWrappedArray() {
return prefixWrappedArray;
}
@ -597,7 +597,7 @@ public class XmlItem {
@ApiModelProperty(example = "string", value = "")
@JsonProperty(JSON_PROPERTY_NAMESPACE_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getNamespaceString() {
public String getNamespaceString() {
return namespaceString;
}
@ -620,7 +620,7 @@ public class XmlItem {
@ApiModelProperty(example = "1.234", value = "")
@JsonProperty(JSON_PROPERTY_NAMESPACE_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getNamespaceNumber() {
public BigDecimal getNamespaceNumber() {
return namespaceNumber;
}
@ -643,7 +643,7 @@ public class XmlItem {
@ApiModelProperty(example = "-2", value = "")
@JsonProperty(JSON_PROPERTY_NAMESPACE_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getNamespaceInteger() {
public Integer getNamespaceInteger() {
return namespaceInteger;
}
@ -666,7 +666,7 @@ public class XmlItem {
@ApiModelProperty(example = "true", value = "")
@JsonProperty(JSON_PROPERTY_NAMESPACE_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getNamespaceBoolean() {
public Boolean getNamespaceBoolean() {
return namespaceBoolean;
}
@ -697,7 +697,7 @@ public class XmlItem {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAMESPACE_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Integer> getNamespaceArray() {
public List<Integer> getNamespaceArray() {
return namespaceArray;
}
@ -728,7 +728,7 @@ public class XmlItem {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAMESPACE_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Integer> getNamespaceWrappedArray() {
public List<Integer> getNamespaceWrappedArray() {
return namespaceWrappedArray;
}
@ -751,7 +751,7 @@ public class XmlItem {
@ApiModelProperty(example = "string", value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_NS_STRING)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPrefixNsString() {
public String getPrefixNsString() {
return prefixNsString;
}
@ -774,7 +774,7 @@ public class XmlItem {
@ApiModelProperty(example = "1.234", value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_NS_NUMBER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public BigDecimal getPrefixNsNumber() {
public BigDecimal getPrefixNsNumber() {
return prefixNsNumber;
}
@ -797,7 +797,7 @@ public class XmlItem {
@ApiModelProperty(example = "-2", value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_NS_INTEGER)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getPrefixNsInteger() {
public Integer getPrefixNsInteger() {
return prefixNsInteger;
}
@ -820,7 +820,7 @@ public class XmlItem {
@ApiModelProperty(example = "true", value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_NS_BOOLEAN)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getPrefixNsBoolean() {
public Boolean getPrefixNsBoolean() {
return prefixNsBoolean;
}
@ -851,7 +851,7 @@ public class XmlItem {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_NS_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Integer> getPrefixNsArray() {
public List<Integer> getPrefixNsArray() {
return prefixNsArray;
}
@ -882,7 +882,7 @@ public class XmlItem {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PREFIX_NS_WRAPPED_ARRAY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Integer> getPrefixNsWrappedArray() {
public List<Integer> getPrefixNsWrappedArray() {
return prefixNsWrappedArray;
}

View File

@ -57,7 +57,7 @@ public class Category {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -81,7 +81,7 @@ public class Category {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -62,7 +62,7 @@ public class ModelApiResponse {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CODE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getCode() {
public Integer getCode() {
return code;
}
@ -85,7 +85,7 @@ public class ModelApiResponse {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_TYPE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getType() {
public String getType() {
return type;
}
@ -108,7 +108,7 @@ public class ModelApiResponse {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_MESSAGE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getMessage() {
public String getMessage() {
return message;
}

View File

@ -108,7 +108,7 @@ public class Order {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -131,7 +131,7 @@ public class Order {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PET_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getPetId() {
public Long getPetId() {
return petId;
}
@ -154,7 +154,7 @@ public class Order {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_QUANTITY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getQuantity() {
public Integer getQuantity() {
return quantity;
}
@ -178,7 +178,7 @@ public class Order {
@JsonProperty(JSON_PROPERTY_SHIP_DATE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd'T'HH:mm:ss.SSSXXXX")
public OffsetDateTime getShipDate() {
public OffsetDateTime getShipDate() {
return shipDate;
}
@ -202,7 +202,7 @@ public class Order {
@ApiModelProperty(value = "Order Status")
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public StatusEnum getStatus() {
public StatusEnum getStatus() {
return status;
}
@ -225,7 +225,7 @@ public class Order {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_COMPLETE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Boolean getComplete() {
public Boolean getComplete() {
return complete;
}

View File

@ -113,7 +113,7 @@ public class Pet {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -137,7 +137,7 @@ public class Pet {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_CATEGORY)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Category getCategory() {
public Category getCategory() {
return category;
}
@ -160,7 +160,7 @@ public class Pet {
@ApiModelProperty(example = "doggie", required = true, value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public String getName() {
public String getName() {
return name;
}
@ -188,7 +188,7 @@ public class Pet {
@ApiModelProperty(required = true, value = "")
@JsonProperty(JSON_PROPERTY_PHOTO_URLS)
@JsonInclude(value = JsonInclude.Include.ALWAYS)
public List<String> getPhotoUrls() {
public List<String> getPhotoUrls() {
return photoUrls;
}
@ -219,7 +219,7 @@ public class Pet {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_TAGS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public List<Tag> getTags() {
public List<Tag> getTags() {
return tags;
}
@ -242,7 +242,7 @@ public class Pet {
@ApiModelProperty(value = "pet status in the store")
@JsonProperty(JSON_PROPERTY_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public StatusEnum getStatus() {
public StatusEnum getStatus() {
return status;
}

View File

@ -57,7 +57,7 @@ public class Tag {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -80,7 +80,7 @@ public class Tag {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getName() {
public String getName() {
return name;
}

View File

@ -81,7 +81,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_ID)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Long getId() {
public Long getId() {
return id;
}
@ -104,7 +104,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_USERNAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getUsername() {
public String getUsername() {
return username;
}
@ -127,7 +127,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_FIRST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getFirstName() {
public String getFirstName() {
return firstName;
}
@ -150,7 +150,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_LAST_NAME)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getLastName() {
public String getLastName() {
return lastName;
}
@ -173,7 +173,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_EMAIL)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getEmail() {
public String getEmail() {
return email;
}
@ -196,7 +196,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PASSWORD)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPassword() {
public String getPassword() {
return password;
}
@ -219,7 +219,7 @@ public class User {
@ApiModelProperty(value = "")
@JsonProperty(JSON_PROPERTY_PHONE)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public String getPhone() {
public String getPhone() {
return phone;
}
@ -242,7 +242,7 @@ public class User {
@ApiModelProperty(value = "User Status")
@JsonProperty(JSON_PROPERTY_USER_STATUS)
@JsonInclude(value = JsonInclude.Include.USE_DEFAULTS)
public Integer getUserStatus() {
public Integer getUserStatus() {
return userStatus;
}