forked from loafle/openapi-generator-original
[Java][JavaJaxRS] Respect readOnly/writeOnly attribute markers (#9276)
* [Java] [JavaJaxRS] Respect readOnly/writeOnly attribute markers Generate jackson JsonProperty like following: - `readOnly` is present in Spec: `@JsonProperty(value = "[name]", access = JsonProperty.Access.READ_ONLY)` - `writeOnly` is present in Spec: `@JsonProperty(value = "[name]", access = JsonProperty.Access.WRITE_ONLY)` Edge case: both are present -> Spec is invalid and generator cancels anyway with: > org.openapitools.codegen.SpecValidationException: There were issues with the specification. The option can be disabled via validateSpec (Maven/Gradle) or --skip-validate-spec (CLI). > | Error count: 1, Warning count: 1 > Errors: > -attribute components.schemas.Example. writeOnly and readOnly are both present * update samples Co-authored-by: Michael Kroll <9883575+mickroll@users.noreply.github.com>
This commit is contained in:
@@ -87,7 +87,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
|
||||
{{{vendorExtensions.x-extra-annotation}}}
|
||||
{{/vendorExtensions.x-extra-annotation}}
|
||||
{{#jackson}}
|
||||
@JsonProperty("{{baseName}}")
|
||||
@JsonProperty(value = "{{baseName}}"{{#isReadOnly}}, access = JsonProperty.Access.READ_ONLY{{/isReadOnly}}{{#isWriteOnly}}, access = JsonProperty.Access.WRITE_ONLY{{/isWriteOnly}})
|
||||
{{/jackson}}
|
||||
@ApiModelProperty({{#example}}example = "{{{example}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}")
|
||||
{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}}
|
||||
|
||||
@@ -46,7 +46,7 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> impleme
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -47,7 +47,7 @@ public class AdditionalPropertiesArray extends HashMap<String, List> implements
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -46,7 +46,7 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> implem
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -106,7 +106,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get mapString
|
||||
* @return mapString
|
||||
**/
|
||||
@JsonProperty("map_string")
|
||||
@JsonProperty(value = "map_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, String> getMapString() {
|
||||
@@ -134,7 +134,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get mapNumber
|
||||
* @return mapNumber
|
||||
**/
|
||||
@JsonProperty("map_number")
|
||||
@JsonProperty(value = "map_number")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, BigDecimal> getMapNumber() {
|
||||
@@ -162,7 +162,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get mapInteger
|
||||
* @return mapInteger
|
||||
**/
|
||||
@JsonProperty("map_integer")
|
||||
@JsonProperty(value = "map_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Integer> getMapInteger() {
|
||||
@@ -190,7 +190,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get mapBoolean
|
||||
* @return mapBoolean
|
||||
**/
|
||||
@JsonProperty("map_boolean")
|
||||
@JsonProperty(value = "map_boolean")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Boolean> getMapBoolean() {
|
||||
@@ -218,7 +218,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get mapArrayInteger
|
||||
* @return mapArrayInteger
|
||||
**/
|
||||
@JsonProperty("map_array_integer")
|
||||
@JsonProperty(value = "map_array_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
@@ -246,7 +246,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get mapArrayAnytype
|
||||
* @return mapArrayAnytype
|
||||
**/
|
||||
@JsonProperty("map_array_anytype")
|
||||
@JsonProperty(value = "map_array_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
@@ -274,7 +274,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get mapMapString
|
||||
* @return mapMapString
|
||||
**/
|
||||
@JsonProperty("map_map_string")
|
||||
@JsonProperty(value = "map_map_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
@@ -302,7 +302,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get mapMapAnytype
|
||||
* @return mapMapAnytype
|
||||
**/
|
||||
@JsonProperty("map_map_anytype")
|
||||
@JsonProperty(value = "map_map_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
@@ -322,7 +322,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get anytype1
|
||||
* @return anytype1
|
||||
**/
|
||||
@JsonProperty("anytype_1")
|
||||
@JsonProperty(value = "anytype_1")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Object getAnytype1() {
|
||||
@@ -342,7 +342,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get anytype2
|
||||
* @return anytype2
|
||||
**/
|
||||
@JsonProperty("anytype_2")
|
||||
@JsonProperty(value = "anytype_2")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Object getAnytype2() {
|
||||
@@ -362,7 +362,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
* Get anytype3
|
||||
* @return anytype3
|
||||
**/
|
||||
@JsonProperty("anytype_3")
|
||||
@JsonProperty(value = "anytype_3")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Object getAnytype3() {
|
||||
|
||||
@@ -46,7 +46,7 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> implem
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -47,7 +47,7 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> impl
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -46,7 +46,7 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> implements
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -46,7 +46,7 @@ public class AdditionalPropertiesString extends HashMap<String, String> implemen
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -57,7 +57,7 @@ public class Animal implements Serializable {
|
||||
* Get className
|
||||
* @return className
|
||||
**/
|
||||
@JsonProperty("className")
|
||||
@JsonProperty(value = "className")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public String getClassName() {
|
||||
@@ -77,7 +77,7 @@ public class Animal implements Serializable {
|
||||
* Get color
|
||||
* @return color
|
||||
**/
|
||||
@JsonProperty("color")
|
||||
@JsonProperty(value = "color")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getColor() {
|
||||
|
||||
@@ -55,7 +55,7 @@ public class ArrayOfArrayOfNumberOnly implements Serializable {
|
||||
* Get arrayArrayNumber
|
||||
* @return arrayArrayNumber
|
||||
**/
|
||||
@JsonProperty("ArrayArrayNumber")
|
||||
@JsonProperty(value = "ArrayArrayNumber")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<List<BigDecimal>> getArrayArrayNumber() {
|
||||
|
||||
@@ -55,7 +55,7 @@ public class ArrayOfNumberOnly implements Serializable {
|
||||
* Get arrayNumber
|
||||
* @return arrayNumber
|
||||
**/
|
||||
@JsonProperty("ArrayNumber")
|
||||
@JsonProperty(value = "ArrayNumber")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<BigDecimal> getArrayNumber() {
|
||||
|
||||
@@ -65,7 +65,7 @@ public class ArrayTest implements Serializable {
|
||||
* Get arrayOfString
|
||||
* @return arrayOfString
|
||||
**/
|
||||
@JsonProperty("array_of_string")
|
||||
@JsonProperty(value = "array_of_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<String> getArrayOfString() {
|
||||
@@ -93,7 +93,7 @@ public class ArrayTest implements Serializable {
|
||||
* Get arrayArrayOfInteger
|
||||
* @return arrayArrayOfInteger
|
||||
**/
|
||||
@JsonProperty("array_array_of_integer")
|
||||
@JsonProperty(value = "array_array_of_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
@@ -121,7 +121,7 @@ public class ArrayTest implements Serializable {
|
||||
* Get arrayArrayOfModel
|
||||
* @return arrayArrayOfModel
|
||||
**/
|
||||
@JsonProperty("array_array_of_model")
|
||||
@JsonProperty(value = "array_array_of_model")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
|
||||
|
||||
@@ -82,7 +82,7 @@ public class BigCat extends Cat implements Serializable {
|
||||
* Get kind
|
||||
* @return kind
|
||||
**/
|
||||
@JsonProperty("kind")
|
||||
@JsonProperty(value = "kind")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public KindEnum getKind() {
|
||||
|
||||
@@ -80,7 +80,7 @@ public class BigCatAllOf implements Serializable {
|
||||
* Get kind
|
||||
* @return kind
|
||||
**/
|
||||
@JsonProperty("kind")
|
||||
@JsonProperty(value = "kind")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public KindEnum getKind() {
|
||||
|
||||
@@ -69,7 +69,7 @@ public class Capitalization implements Serializable {
|
||||
* Get smallCamel
|
||||
* @return smallCamel
|
||||
**/
|
||||
@JsonProperty("smallCamel")
|
||||
@JsonProperty(value = "smallCamel")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getSmallCamel() {
|
||||
@@ -89,7 +89,7 @@ public class Capitalization implements Serializable {
|
||||
* Get capitalCamel
|
||||
* @return capitalCamel
|
||||
**/
|
||||
@JsonProperty("CapitalCamel")
|
||||
@JsonProperty(value = "CapitalCamel")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getCapitalCamel() {
|
||||
@@ -109,7 +109,7 @@ public class Capitalization implements Serializable {
|
||||
* Get smallSnake
|
||||
* @return smallSnake
|
||||
**/
|
||||
@JsonProperty("small_Snake")
|
||||
@JsonProperty(value = "small_Snake")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getSmallSnake() {
|
||||
@@ -129,7 +129,7 @@ public class Capitalization implements Serializable {
|
||||
* Get capitalSnake
|
||||
* @return capitalSnake
|
||||
**/
|
||||
@JsonProperty("Capital_Snake")
|
||||
@JsonProperty(value = "Capital_Snake")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getCapitalSnake() {
|
||||
@@ -149,7 +149,7 @@ public class Capitalization implements Serializable {
|
||||
* Get scAETHFlowPoints
|
||||
* @return scAETHFlowPoints
|
||||
**/
|
||||
@JsonProperty("SCA_ETH_Flow_Points")
|
||||
@JsonProperty(value = "SCA_ETH_Flow_Points")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getScAETHFlowPoints() {
|
||||
@@ -169,7 +169,7 @@ public class Capitalization implements Serializable {
|
||||
* Name of the pet
|
||||
* @return ATT_NAME
|
||||
**/
|
||||
@JsonProperty("ATT_NAME")
|
||||
@JsonProperty(value = "ATT_NAME")
|
||||
@ApiModelProperty(value = "Name of the pet ")
|
||||
|
||||
public String getATTNAME() {
|
||||
|
||||
@@ -46,7 +46,7 @@ public class Cat extends Animal implements Serializable {
|
||||
* Get declawed
|
||||
* @return declawed
|
||||
**/
|
||||
@JsonProperty("declawed")
|
||||
@JsonProperty(value = "declawed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getDeclawed() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class CatAllOf implements Serializable {
|
||||
* Get declawed
|
||||
* @return declawed
|
||||
**/
|
||||
@JsonProperty("declawed")
|
||||
@JsonProperty(value = "declawed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getDeclawed() {
|
||||
|
||||
@@ -49,7 +49,7 @@ public class Category implements Serializable {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -69,7 +69,7 @@ public class Category implements Serializable {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public String getName() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class ClassModel implements Serializable {
|
||||
* Get propertyClass
|
||||
* @return propertyClass
|
||||
**/
|
||||
@JsonProperty("_class")
|
||||
@JsonProperty(value = "_class")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getPropertyClass() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class Client implements Serializable {
|
||||
* Get client
|
||||
* @return client
|
||||
**/
|
||||
@JsonProperty("client")
|
||||
@JsonProperty(value = "client")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getClient() {
|
||||
|
||||
@@ -46,7 +46,7 @@ public class Dog extends Animal implements Serializable {
|
||||
* Get breed
|
||||
* @return breed
|
||||
**/
|
||||
@JsonProperty("breed")
|
||||
@JsonProperty(value = "breed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBreed() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class DogAllOf implements Serializable {
|
||||
* Get breed
|
||||
* @return breed
|
||||
**/
|
||||
@JsonProperty("breed")
|
||||
@JsonProperty(value = "breed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBreed() {
|
||||
|
||||
@@ -114,7 +114,7 @@ public class EnumArrays implements Serializable {
|
||||
* Get justSymbol
|
||||
* @return justSymbol
|
||||
**/
|
||||
@JsonProperty("just_symbol")
|
||||
@JsonProperty(value = "just_symbol")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public JustSymbolEnum getJustSymbol() {
|
||||
@@ -142,7 +142,7 @@ public class EnumArrays implements Serializable {
|
||||
* Get arrayEnum
|
||||
* @return arrayEnum
|
||||
**/
|
||||
@JsonProperty("array_enum")
|
||||
@JsonProperty(value = "array_enum")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<ArrayEnumEnum> getArrayEnum() {
|
||||
|
||||
@@ -194,7 +194,7 @@ public class EnumTest implements Serializable {
|
||||
* Get enumString
|
||||
* @return enumString
|
||||
**/
|
||||
@JsonProperty("enum_string")
|
||||
@JsonProperty(value = "enum_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public EnumStringEnum getEnumString() {
|
||||
@@ -214,7 +214,7 @@ public class EnumTest implements Serializable {
|
||||
* Get enumStringRequired
|
||||
* @return enumStringRequired
|
||||
**/
|
||||
@JsonProperty("enum_string_required")
|
||||
@JsonProperty(value = "enum_string_required")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public EnumStringRequiredEnum getEnumStringRequired() {
|
||||
@@ -234,7 +234,7 @@ public class EnumTest implements Serializable {
|
||||
* Get enumInteger
|
||||
* @return enumInteger
|
||||
**/
|
||||
@JsonProperty("enum_integer")
|
||||
@JsonProperty(value = "enum_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public EnumIntegerEnum getEnumInteger() {
|
||||
@@ -254,7 +254,7 @@ public class EnumTest implements Serializable {
|
||||
* Get enumNumber
|
||||
* @return enumNumber
|
||||
**/
|
||||
@JsonProperty("enum_number")
|
||||
@JsonProperty(value = "enum_number")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public EnumNumberEnum getEnumNumber() {
|
||||
@@ -274,7 +274,7 @@ public class EnumTest implements Serializable {
|
||||
* Get outerEnum
|
||||
* @return outerEnum
|
||||
**/
|
||||
@JsonProperty("outerEnum")
|
||||
@JsonProperty(value = "outerEnum")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public OuterEnum getOuterEnum() {
|
||||
|
||||
@@ -51,7 +51,7 @@ public class FileSchemaTestClass implements Serializable {
|
||||
* Get file
|
||||
* @return file
|
||||
**/
|
||||
@JsonProperty("file")
|
||||
@JsonProperty(value = "file")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public java.io.File getFile() {
|
||||
@@ -79,7 +79,7 @@ public class FileSchemaTestClass implements Serializable {
|
||||
* Get files
|
||||
* @return files
|
||||
**/
|
||||
@JsonProperty("files")
|
||||
@JsonProperty(value = "files")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<java.io.File> getFiles() {
|
||||
|
||||
@@ -116,7 +116,7 @@ public class FormatTest implements Serializable {
|
||||
* maximum: 100
|
||||
* @return integer
|
||||
**/
|
||||
@JsonProperty("integer")
|
||||
@JsonProperty(value = "integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Min(10) @Max(100)
|
||||
public Integer getInteger() {
|
||||
@@ -138,7 +138,7 @@ public class FormatTest implements Serializable {
|
||||
* maximum: 200
|
||||
* @return int32
|
||||
**/
|
||||
@JsonProperty("int32")
|
||||
@JsonProperty(value = "int32")
|
||||
@ApiModelProperty(value = "")
|
||||
@Min(20) @Max(200)
|
||||
public Integer getInt32() {
|
||||
@@ -158,7 +158,7 @@ public class FormatTest implements Serializable {
|
||||
* Get int64
|
||||
* @return int64
|
||||
**/
|
||||
@JsonProperty("int64")
|
||||
@JsonProperty(value = "int64")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getInt64() {
|
||||
@@ -180,7 +180,7 @@ public class FormatTest implements Serializable {
|
||||
* maximum: 543.2
|
||||
* @return number
|
||||
**/
|
||||
@JsonProperty("number")
|
||||
@JsonProperty(value = "number")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull @Valid @DecimalMin("32.1") @DecimalMax("543.2")
|
||||
public BigDecimal getNumber() {
|
||||
@@ -202,7 +202,7 @@ public class FormatTest implements Serializable {
|
||||
* maximum: 987.6
|
||||
* @return _float
|
||||
**/
|
||||
@JsonProperty("float")
|
||||
@JsonProperty(value = "float")
|
||||
@ApiModelProperty(value = "")
|
||||
@DecimalMin("54.3") @DecimalMax("987.6")
|
||||
public Float getFloat() {
|
||||
@@ -224,7 +224,7 @@ public class FormatTest implements Serializable {
|
||||
* maximum: 123.4
|
||||
* @return _double
|
||||
**/
|
||||
@JsonProperty("double")
|
||||
@JsonProperty(value = "double")
|
||||
@ApiModelProperty(value = "")
|
||||
@DecimalMin("67.8") @DecimalMax("123.4")
|
||||
public Double getDouble() {
|
||||
@@ -244,7 +244,7 @@ public class FormatTest implements Serializable {
|
||||
* Get string
|
||||
* @return string
|
||||
**/
|
||||
@JsonProperty("string")
|
||||
@JsonProperty(value = "string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Pattern(regexp="/[a-z]/i")
|
||||
public String getString() {
|
||||
@@ -264,7 +264,7 @@ public class FormatTest implements Serializable {
|
||||
* Get _byte
|
||||
* @return _byte
|
||||
**/
|
||||
@JsonProperty("byte")
|
||||
@JsonProperty(value = "byte")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public byte[] getByte() {
|
||||
@@ -284,7 +284,7 @@ public class FormatTest implements Serializable {
|
||||
* Get binary
|
||||
* @return binary
|
||||
**/
|
||||
@JsonProperty("binary")
|
||||
@JsonProperty(value = "binary")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public File getBinary() {
|
||||
@@ -304,7 +304,7 @@ public class FormatTest implements Serializable {
|
||||
* Get date
|
||||
* @return date
|
||||
**/
|
||||
@JsonProperty("date")
|
||||
@JsonProperty(value = "date")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public LocalDate getDate() {
|
||||
@@ -324,7 +324,7 @@ public class FormatTest implements Serializable {
|
||||
* Get dateTime
|
||||
* @return dateTime
|
||||
**/
|
||||
@JsonProperty("dateTime")
|
||||
@JsonProperty(value = "dateTime")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public OffsetDateTime getDateTime() {
|
||||
@@ -344,7 +344,7 @@ public class FormatTest implements Serializable {
|
||||
* Get uuid
|
||||
* @return uuid
|
||||
**/
|
||||
@JsonProperty("uuid")
|
||||
@JsonProperty(value = "uuid")
|
||||
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
|
||||
|
||||
public UUID getUuid() {
|
||||
@@ -364,7 +364,7 @@ public class FormatTest implements Serializable {
|
||||
* Get password
|
||||
* @return password
|
||||
**/
|
||||
@JsonProperty("password")
|
||||
@JsonProperty(value = "password")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull @Size(min=10,max=64)
|
||||
public String getPassword() {
|
||||
@@ -384,7 +384,7 @@ public class FormatTest implements Serializable {
|
||||
* Get bigDecimal
|
||||
* @return bigDecimal
|
||||
**/
|
||||
@JsonProperty("BigDecimal")
|
||||
@JsonProperty(value = "BigDecimal")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public BigDecimal getBigDecimal() {
|
||||
|
||||
@@ -49,7 +49,7 @@ public class HasOnlyReadOnly implements Serializable {
|
||||
* Get bar
|
||||
* @return bar
|
||||
**/
|
||||
@JsonProperty("bar")
|
||||
@JsonProperty(value = "bar", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBar() {
|
||||
@@ -69,7 +69,7 @@ public class HasOnlyReadOnly implements Serializable {
|
||||
* Get foo
|
||||
* @return foo
|
||||
**/
|
||||
@JsonProperty("foo")
|
||||
@JsonProperty(value = "foo", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getFoo() {
|
||||
|
||||
@@ -102,7 +102,7 @@ public class MapTest implements Serializable {
|
||||
* Get mapMapOfString
|
||||
* @return mapMapOfString
|
||||
**/
|
||||
@JsonProperty("map_map_of_string")
|
||||
@JsonProperty(value = "map_map_of_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
@@ -130,7 +130,7 @@ public class MapTest implements Serializable {
|
||||
* Get mapOfEnumString
|
||||
* @return mapOfEnumString
|
||||
**/
|
||||
@JsonProperty("map_of_enum_string")
|
||||
@JsonProperty(value = "map_of_enum_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, InnerEnum> getMapOfEnumString() {
|
||||
@@ -158,7 +158,7 @@ public class MapTest implements Serializable {
|
||||
* Get directMap
|
||||
* @return directMap
|
||||
**/
|
||||
@JsonProperty("direct_map")
|
||||
@JsonProperty(value = "direct_map")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Boolean> getDirectMap() {
|
||||
@@ -186,7 +186,7 @@ public class MapTest implements Serializable {
|
||||
* Get indirectMap
|
||||
* @return indirectMap
|
||||
**/
|
||||
@JsonProperty("indirect_map")
|
||||
@JsonProperty(value = "indirect_map")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Boolean> getIndirectMap() {
|
||||
|
||||
@@ -60,7 +60,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
* Get uuid
|
||||
* @return uuid
|
||||
**/
|
||||
@JsonProperty("uuid")
|
||||
@JsonProperty(value = "uuid")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public UUID getUuid() {
|
||||
@@ -80,7 +80,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
* Get dateTime
|
||||
* @return dateTime
|
||||
**/
|
||||
@JsonProperty("dateTime")
|
||||
@JsonProperty(value = "dateTime")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public OffsetDateTime getDateTime() {
|
||||
@@ -108,7 +108,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
* Get map
|
||||
* @return map
|
||||
**/
|
||||
@JsonProperty("map")
|
||||
@JsonProperty(value = "map")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, Animal> getMap() {
|
||||
|
||||
@@ -50,7 +50,7 @@ public class Model200Response implements Serializable {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getName() {
|
||||
@@ -70,7 +70,7 @@ public class Model200Response implements Serializable {
|
||||
* Get propertyClass
|
||||
* @return propertyClass
|
||||
**/
|
||||
@JsonProperty("class")
|
||||
@JsonProperty(value = "class")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getPropertyClass() {
|
||||
|
||||
@@ -54,7 +54,7 @@ public class ModelApiResponse implements Serializable {
|
||||
* Get code
|
||||
* @return code
|
||||
**/
|
||||
@JsonProperty("code")
|
||||
@JsonProperty(value = "code")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getCode() {
|
||||
@@ -74,7 +74,7 @@ public class ModelApiResponse implements Serializable {
|
||||
* Get type
|
||||
* @return type
|
||||
**/
|
||||
@JsonProperty("type")
|
||||
@JsonProperty(value = "type")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getType() {
|
||||
@@ -94,7 +94,7 @@ public class ModelApiResponse implements Serializable {
|
||||
* Get message
|
||||
* @return message
|
||||
**/
|
||||
@JsonProperty("message")
|
||||
@JsonProperty(value = "message")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getMessage() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class ModelReturn implements Serializable {
|
||||
* Get _return
|
||||
* @return _return
|
||||
**/
|
||||
@JsonProperty("return")
|
||||
@JsonProperty(value = "return")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getReturn() {
|
||||
|
||||
@@ -60,7 +60,7 @@ public class Name implements Serializable {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public Integer getName() {
|
||||
@@ -80,7 +80,7 @@ public class Name implements Serializable {
|
||||
* Get snakeCase
|
||||
* @return snakeCase
|
||||
**/
|
||||
@JsonProperty("snake_case")
|
||||
@JsonProperty(value = "snake_case", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getSnakeCase() {
|
||||
@@ -100,7 +100,7 @@ public class Name implements Serializable {
|
||||
* Get property
|
||||
* @return property
|
||||
**/
|
||||
@JsonProperty("property")
|
||||
@JsonProperty(value = "property")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getProperty() {
|
||||
@@ -120,7 +120,7 @@ public class Name implements Serializable {
|
||||
* Get _123number
|
||||
* @return _123number
|
||||
**/
|
||||
@JsonProperty("123Number")
|
||||
@JsonProperty(value = "123Number", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer get123number() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class NumberOnly implements Serializable {
|
||||
* Get justNumber
|
||||
* @return justNumber
|
||||
**/
|
||||
@JsonProperty("JustNumber")
|
||||
@JsonProperty(value = "JustNumber")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public BigDecimal getJustNumber() {
|
||||
|
||||
@@ -104,7 +104,7 @@ public class Order implements Serializable {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -124,7 +124,7 @@ public class Order implements Serializable {
|
||||
* Get petId
|
||||
* @return petId
|
||||
**/
|
||||
@JsonProperty("petId")
|
||||
@JsonProperty(value = "petId")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getPetId() {
|
||||
@@ -144,7 +144,7 @@ public class Order implements Serializable {
|
||||
* Get quantity
|
||||
* @return quantity
|
||||
**/
|
||||
@JsonProperty("quantity")
|
||||
@JsonProperty(value = "quantity")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getQuantity() {
|
||||
@@ -164,7 +164,7 @@ public class Order implements Serializable {
|
||||
* Get shipDate
|
||||
* @return shipDate
|
||||
**/
|
||||
@JsonProperty("shipDate")
|
||||
@JsonProperty(value = "shipDate")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public OffsetDateTime getShipDate() {
|
||||
@@ -184,7 +184,7 @@ public class Order implements Serializable {
|
||||
* Order Status
|
||||
* @return status
|
||||
**/
|
||||
@JsonProperty("status")
|
||||
@JsonProperty(value = "status")
|
||||
@ApiModelProperty(value = "Order Status")
|
||||
|
||||
public StatusEnum getStatus() {
|
||||
@@ -204,7 +204,7 @@ public class Order implements Serializable {
|
||||
* Get complete
|
||||
* @return complete
|
||||
**/
|
||||
@JsonProperty("complete")
|
||||
@JsonProperty(value = "complete")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getComplete() {
|
||||
|
||||
@@ -55,7 +55,7 @@ public class OuterComposite implements Serializable {
|
||||
* Get myNumber
|
||||
* @return myNumber
|
||||
**/
|
||||
@JsonProperty("my_number")
|
||||
@JsonProperty(value = "my_number")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public BigDecimal getMyNumber() {
|
||||
@@ -75,7 +75,7 @@ public class OuterComposite implements Serializable {
|
||||
* Get myString
|
||||
* @return myString
|
||||
**/
|
||||
@JsonProperty("my_string")
|
||||
@JsonProperty(value = "my_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getMyString() {
|
||||
@@ -95,7 +95,7 @@ public class OuterComposite implements Serializable {
|
||||
* Get myBoolean
|
||||
* @return myBoolean
|
||||
**/
|
||||
@JsonProperty("my_boolean")
|
||||
@JsonProperty(value = "my_boolean")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getMyBoolean() {
|
||||
|
||||
@@ -109,7 +109,7 @@ public class Pet implements Serializable {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -129,7 +129,7 @@ public class Pet implements Serializable {
|
||||
* Get category
|
||||
* @return category
|
||||
**/
|
||||
@JsonProperty("category")
|
||||
@JsonProperty(value = "category")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Category getCategory() {
|
||||
@@ -149,7 +149,7 @@ public class Pet implements Serializable {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(example = "doggie", required = true, value = "")
|
||||
@NotNull
|
||||
public String getName() {
|
||||
@@ -174,7 +174,7 @@ public class Pet implements Serializable {
|
||||
* Get photoUrls
|
||||
* @return photoUrls
|
||||
**/
|
||||
@JsonProperty("photoUrls")
|
||||
@JsonProperty(value = "photoUrls")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public Set<String> getPhotoUrls() {
|
||||
@@ -202,7 +202,7 @@ public class Pet implements Serializable {
|
||||
* Get tags
|
||||
* @return tags
|
||||
**/
|
||||
@JsonProperty("tags")
|
||||
@JsonProperty(value = "tags")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<Tag> getTags() {
|
||||
@@ -222,7 +222,7 @@ public class Pet implements Serializable {
|
||||
* pet status in the store
|
||||
* @return status
|
||||
**/
|
||||
@JsonProperty("status")
|
||||
@JsonProperty(value = "status")
|
||||
@ApiModelProperty(value = "pet status in the store")
|
||||
|
||||
public StatusEnum getStatus() {
|
||||
|
||||
@@ -49,7 +49,7 @@ public class ReadOnlyFirst implements Serializable {
|
||||
* Get bar
|
||||
* @return bar
|
||||
**/
|
||||
@JsonProperty("bar")
|
||||
@JsonProperty(value = "bar", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBar() {
|
||||
@@ -69,7 +69,7 @@ public class ReadOnlyFirst implements Serializable {
|
||||
* Get baz
|
||||
* @return baz
|
||||
**/
|
||||
@JsonProperty("baz")
|
||||
@JsonProperty(value = "baz")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBaz() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class SpecialModelName implements Serializable {
|
||||
* Get $specialPropertyName
|
||||
* @return $specialPropertyName
|
||||
**/
|
||||
@JsonProperty("$special[property.name]")
|
||||
@JsonProperty(value = "$special[property.name]")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long get$SpecialPropertyName() {
|
||||
|
||||
@@ -49,7 +49,7 @@ public class Tag implements Serializable {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -69,7 +69,7 @@ public class Tag implements Serializable {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -67,7 +67,7 @@ public class TypeHolderDefault implements Serializable {
|
||||
* Get stringItem
|
||||
* @return stringItem
|
||||
**/
|
||||
@JsonProperty("string_item")
|
||||
@JsonProperty(value = "string_item")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public String getStringItem() {
|
||||
@@ -87,7 +87,7 @@ public class TypeHolderDefault implements Serializable {
|
||||
* Get numberItem
|
||||
* @return numberItem
|
||||
**/
|
||||
@JsonProperty("number_item")
|
||||
@JsonProperty(value = "number_item")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull @Valid
|
||||
public BigDecimal getNumberItem() {
|
||||
@@ -107,7 +107,7 @@ public class TypeHolderDefault implements Serializable {
|
||||
* Get integerItem
|
||||
* @return integerItem
|
||||
**/
|
||||
@JsonProperty("integer_item")
|
||||
@JsonProperty(value = "integer_item")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public Integer getIntegerItem() {
|
||||
@@ -127,7 +127,7 @@ public class TypeHolderDefault implements Serializable {
|
||||
* Get boolItem
|
||||
* @return boolItem
|
||||
**/
|
||||
@JsonProperty("bool_item")
|
||||
@JsonProperty(value = "bool_item")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public Boolean getBoolItem() {
|
||||
@@ -152,7 +152,7 @@ public class TypeHolderDefault implements Serializable {
|
||||
* Get arrayItem
|
||||
* @return arrayItem
|
||||
**/
|
||||
@JsonProperty("array_item")
|
||||
@JsonProperty(value = "array_item")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public List<Integer> getArrayItem() {
|
||||
|
||||
@@ -72,7 +72,7 @@ public class TypeHolderExample implements Serializable {
|
||||
* Get stringItem
|
||||
* @return stringItem
|
||||
**/
|
||||
@JsonProperty("string_item")
|
||||
@JsonProperty(value = "string_item")
|
||||
@ApiModelProperty(example = "what", required = true, value = "")
|
||||
@NotNull
|
||||
public String getStringItem() {
|
||||
@@ -92,7 +92,7 @@ public class TypeHolderExample implements Serializable {
|
||||
* Get numberItem
|
||||
* @return numberItem
|
||||
**/
|
||||
@JsonProperty("number_item")
|
||||
@JsonProperty(value = "number_item")
|
||||
@ApiModelProperty(example = "1.234", required = true, value = "")
|
||||
@NotNull @Valid
|
||||
public BigDecimal getNumberItem() {
|
||||
@@ -112,7 +112,7 @@ public class TypeHolderExample implements Serializable {
|
||||
* Get floatItem
|
||||
* @return floatItem
|
||||
**/
|
||||
@JsonProperty("float_item")
|
||||
@JsonProperty(value = "float_item")
|
||||
@ApiModelProperty(example = "1.234", required = true, value = "")
|
||||
@NotNull
|
||||
public Float getFloatItem() {
|
||||
@@ -132,7 +132,7 @@ public class TypeHolderExample implements Serializable {
|
||||
* Get integerItem
|
||||
* @return integerItem
|
||||
**/
|
||||
@JsonProperty("integer_item")
|
||||
@JsonProperty(value = "integer_item")
|
||||
@ApiModelProperty(example = "-2", required = true, value = "")
|
||||
@NotNull
|
||||
public Integer getIntegerItem() {
|
||||
@@ -152,7 +152,7 @@ public class TypeHolderExample implements Serializable {
|
||||
* Get boolItem
|
||||
* @return boolItem
|
||||
**/
|
||||
@JsonProperty("bool_item")
|
||||
@JsonProperty(value = "bool_item")
|
||||
@ApiModelProperty(example = "true", required = true, value = "")
|
||||
@NotNull
|
||||
public Boolean getBoolItem() {
|
||||
@@ -177,7 +177,7 @@ public class TypeHolderExample implements Serializable {
|
||||
* Get arrayItem
|
||||
* @return arrayItem
|
||||
**/
|
||||
@JsonProperty("array_item")
|
||||
@JsonProperty(value = "array_item")
|
||||
@ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "")
|
||||
@NotNull
|
||||
public List<Integer> getArrayItem() {
|
||||
|
||||
@@ -79,7 +79,7 @@ public class User implements Serializable {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -99,7 +99,7 @@ public class User implements Serializable {
|
||||
* Get username
|
||||
* @return username
|
||||
**/
|
||||
@JsonProperty("username")
|
||||
@JsonProperty(value = "username")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getUsername() {
|
||||
@@ -119,7 +119,7 @@ public class User implements Serializable {
|
||||
* Get firstName
|
||||
* @return firstName
|
||||
**/
|
||||
@JsonProperty("firstName")
|
||||
@JsonProperty(value = "firstName")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getFirstName() {
|
||||
@@ -139,7 +139,7 @@ public class User implements Serializable {
|
||||
* Get lastName
|
||||
* @return lastName
|
||||
**/
|
||||
@JsonProperty("lastName")
|
||||
@JsonProperty(value = "lastName")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getLastName() {
|
||||
@@ -159,7 +159,7 @@ public class User implements Serializable {
|
||||
* Get email
|
||||
* @return email
|
||||
**/
|
||||
@JsonProperty("email")
|
||||
@JsonProperty(value = "email")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getEmail() {
|
||||
@@ -179,7 +179,7 @@ public class User implements Serializable {
|
||||
* Get password
|
||||
* @return password
|
||||
**/
|
||||
@JsonProperty("password")
|
||||
@JsonProperty(value = "password")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getPassword() {
|
||||
@@ -199,7 +199,7 @@ public class User implements Serializable {
|
||||
* Get phone
|
||||
* @return phone
|
||||
**/
|
||||
@JsonProperty("phone")
|
||||
@JsonProperty(value = "phone")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getPhone() {
|
||||
@@ -219,7 +219,7 @@ public class User implements Serializable {
|
||||
* User Status
|
||||
* @return userStatus
|
||||
**/
|
||||
@JsonProperty("userStatus")
|
||||
@JsonProperty(value = "userStatus")
|
||||
@ApiModelProperty(value = "User Status")
|
||||
|
||||
public Integer getUserStatus() {
|
||||
|
||||
@@ -187,7 +187,7 @@ public class XmlItem implements Serializable {
|
||||
* Get attributeString
|
||||
* @return attributeString
|
||||
**/
|
||||
@JsonProperty("attribute_string")
|
||||
@JsonProperty(value = "attribute_string")
|
||||
@ApiModelProperty(example = "string", value = "")
|
||||
|
||||
public String getAttributeString() {
|
||||
@@ -207,7 +207,7 @@ public class XmlItem implements Serializable {
|
||||
* Get attributeNumber
|
||||
* @return attributeNumber
|
||||
**/
|
||||
@JsonProperty("attribute_number")
|
||||
@JsonProperty(value = "attribute_number")
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
@Valid
|
||||
public BigDecimal getAttributeNumber() {
|
||||
@@ -227,7 +227,7 @@ public class XmlItem implements Serializable {
|
||||
* Get attributeInteger
|
||||
* @return attributeInteger
|
||||
**/
|
||||
@JsonProperty("attribute_integer")
|
||||
@JsonProperty(value = "attribute_integer")
|
||||
@ApiModelProperty(example = "-2", value = "")
|
||||
|
||||
public Integer getAttributeInteger() {
|
||||
@@ -247,7 +247,7 @@ public class XmlItem implements Serializable {
|
||||
* Get attributeBoolean
|
||||
* @return attributeBoolean
|
||||
**/
|
||||
@JsonProperty("attribute_boolean")
|
||||
@JsonProperty(value = "attribute_boolean")
|
||||
@ApiModelProperty(example = "true", value = "")
|
||||
|
||||
public Boolean getAttributeBoolean() {
|
||||
@@ -275,7 +275,7 @@ public class XmlItem implements Serializable {
|
||||
* Get wrappedArray
|
||||
* @return wrappedArray
|
||||
**/
|
||||
@JsonProperty("wrapped_array")
|
||||
@JsonProperty(value = "wrapped_array")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Integer> getWrappedArray() {
|
||||
@@ -295,7 +295,7 @@ public class XmlItem implements Serializable {
|
||||
* Get nameString
|
||||
* @return nameString
|
||||
**/
|
||||
@JsonProperty("name_string")
|
||||
@JsonProperty(value = "name_string")
|
||||
@ApiModelProperty(example = "string", value = "")
|
||||
|
||||
public String getNameString() {
|
||||
@@ -315,7 +315,7 @@ public class XmlItem implements Serializable {
|
||||
* Get nameNumber
|
||||
* @return nameNumber
|
||||
**/
|
||||
@JsonProperty("name_number")
|
||||
@JsonProperty(value = "name_number")
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
@Valid
|
||||
public BigDecimal getNameNumber() {
|
||||
@@ -335,7 +335,7 @@ public class XmlItem implements Serializable {
|
||||
* Get nameInteger
|
||||
* @return nameInteger
|
||||
**/
|
||||
@JsonProperty("name_integer")
|
||||
@JsonProperty(value = "name_integer")
|
||||
@ApiModelProperty(example = "-2", value = "")
|
||||
|
||||
public Integer getNameInteger() {
|
||||
@@ -355,7 +355,7 @@ public class XmlItem implements Serializable {
|
||||
* Get nameBoolean
|
||||
* @return nameBoolean
|
||||
**/
|
||||
@JsonProperty("name_boolean")
|
||||
@JsonProperty(value = "name_boolean")
|
||||
@ApiModelProperty(example = "true", value = "")
|
||||
|
||||
public Boolean getNameBoolean() {
|
||||
@@ -383,7 +383,7 @@ public class XmlItem implements Serializable {
|
||||
* Get nameArray
|
||||
* @return nameArray
|
||||
**/
|
||||
@JsonProperty("name_array")
|
||||
@JsonProperty(value = "name_array")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Integer> getNameArray() {
|
||||
@@ -411,7 +411,7 @@ public class XmlItem implements Serializable {
|
||||
* Get nameWrappedArray
|
||||
* @return nameWrappedArray
|
||||
**/
|
||||
@JsonProperty("name_wrapped_array")
|
||||
@JsonProperty(value = "name_wrapped_array")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Integer> getNameWrappedArray() {
|
||||
@@ -431,7 +431,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixString
|
||||
* @return prefixString
|
||||
**/
|
||||
@JsonProperty("prefix_string")
|
||||
@JsonProperty(value = "prefix_string")
|
||||
@ApiModelProperty(example = "string", value = "")
|
||||
|
||||
public String getPrefixString() {
|
||||
@@ -451,7 +451,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixNumber
|
||||
* @return prefixNumber
|
||||
**/
|
||||
@JsonProperty("prefix_number")
|
||||
@JsonProperty(value = "prefix_number")
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
@Valid
|
||||
public BigDecimal getPrefixNumber() {
|
||||
@@ -471,7 +471,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixInteger
|
||||
* @return prefixInteger
|
||||
**/
|
||||
@JsonProperty("prefix_integer")
|
||||
@JsonProperty(value = "prefix_integer")
|
||||
@ApiModelProperty(example = "-2", value = "")
|
||||
|
||||
public Integer getPrefixInteger() {
|
||||
@@ -491,7 +491,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixBoolean
|
||||
* @return prefixBoolean
|
||||
**/
|
||||
@JsonProperty("prefix_boolean")
|
||||
@JsonProperty(value = "prefix_boolean")
|
||||
@ApiModelProperty(example = "true", value = "")
|
||||
|
||||
public Boolean getPrefixBoolean() {
|
||||
@@ -519,7 +519,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixArray
|
||||
* @return prefixArray
|
||||
**/
|
||||
@JsonProperty("prefix_array")
|
||||
@JsonProperty(value = "prefix_array")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Integer> getPrefixArray() {
|
||||
@@ -547,7 +547,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixWrappedArray
|
||||
* @return prefixWrappedArray
|
||||
**/
|
||||
@JsonProperty("prefix_wrapped_array")
|
||||
@JsonProperty(value = "prefix_wrapped_array")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Integer> getPrefixWrappedArray() {
|
||||
@@ -567,7 +567,7 @@ public class XmlItem implements Serializable {
|
||||
* Get namespaceString
|
||||
* @return namespaceString
|
||||
**/
|
||||
@JsonProperty("namespace_string")
|
||||
@JsonProperty(value = "namespace_string")
|
||||
@ApiModelProperty(example = "string", value = "")
|
||||
|
||||
public String getNamespaceString() {
|
||||
@@ -587,7 +587,7 @@ public class XmlItem implements Serializable {
|
||||
* Get namespaceNumber
|
||||
* @return namespaceNumber
|
||||
**/
|
||||
@JsonProperty("namespace_number")
|
||||
@JsonProperty(value = "namespace_number")
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
@Valid
|
||||
public BigDecimal getNamespaceNumber() {
|
||||
@@ -607,7 +607,7 @@ public class XmlItem implements Serializable {
|
||||
* Get namespaceInteger
|
||||
* @return namespaceInteger
|
||||
**/
|
||||
@JsonProperty("namespace_integer")
|
||||
@JsonProperty(value = "namespace_integer")
|
||||
@ApiModelProperty(example = "-2", value = "")
|
||||
|
||||
public Integer getNamespaceInteger() {
|
||||
@@ -627,7 +627,7 @@ public class XmlItem implements Serializable {
|
||||
* Get namespaceBoolean
|
||||
* @return namespaceBoolean
|
||||
**/
|
||||
@JsonProperty("namespace_boolean")
|
||||
@JsonProperty(value = "namespace_boolean")
|
||||
@ApiModelProperty(example = "true", value = "")
|
||||
|
||||
public Boolean getNamespaceBoolean() {
|
||||
@@ -655,7 +655,7 @@ public class XmlItem implements Serializable {
|
||||
* Get namespaceArray
|
||||
* @return namespaceArray
|
||||
**/
|
||||
@JsonProperty("namespace_array")
|
||||
@JsonProperty(value = "namespace_array")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Integer> getNamespaceArray() {
|
||||
@@ -683,7 +683,7 @@ public class XmlItem implements Serializable {
|
||||
* Get namespaceWrappedArray
|
||||
* @return namespaceWrappedArray
|
||||
**/
|
||||
@JsonProperty("namespace_wrapped_array")
|
||||
@JsonProperty(value = "namespace_wrapped_array")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Integer> getNamespaceWrappedArray() {
|
||||
@@ -703,7 +703,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixNsString
|
||||
* @return prefixNsString
|
||||
**/
|
||||
@JsonProperty("prefix_ns_string")
|
||||
@JsonProperty(value = "prefix_ns_string")
|
||||
@ApiModelProperty(example = "string", value = "")
|
||||
|
||||
public String getPrefixNsString() {
|
||||
@@ -723,7 +723,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixNsNumber
|
||||
* @return prefixNsNumber
|
||||
**/
|
||||
@JsonProperty("prefix_ns_number")
|
||||
@JsonProperty(value = "prefix_ns_number")
|
||||
@ApiModelProperty(example = "1.234", value = "")
|
||||
@Valid
|
||||
public BigDecimal getPrefixNsNumber() {
|
||||
@@ -743,7 +743,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixNsInteger
|
||||
* @return prefixNsInteger
|
||||
**/
|
||||
@JsonProperty("prefix_ns_integer")
|
||||
@JsonProperty(value = "prefix_ns_integer")
|
||||
@ApiModelProperty(example = "-2", value = "")
|
||||
|
||||
public Integer getPrefixNsInteger() {
|
||||
@@ -763,7 +763,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixNsBoolean
|
||||
* @return prefixNsBoolean
|
||||
**/
|
||||
@JsonProperty("prefix_ns_boolean")
|
||||
@JsonProperty(value = "prefix_ns_boolean")
|
||||
@ApiModelProperty(example = "true", value = "")
|
||||
|
||||
public Boolean getPrefixNsBoolean() {
|
||||
@@ -791,7 +791,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixNsArray
|
||||
* @return prefixNsArray
|
||||
**/
|
||||
@JsonProperty("prefix_ns_array")
|
||||
@JsonProperty(value = "prefix_ns_array")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Integer> getPrefixNsArray() {
|
||||
@@ -819,7 +819,7 @@ public class XmlItem implements Serializable {
|
||||
* Get prefixNsWrappedArray
|
||||
* @return prefixNsWrappedArray
|
||||
**/
|
||||
@JsonProperty("prefix_ns_wrapped_array")
|
||||
@JsonProperty(value = "prefix_ns_wrapped_array")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Integer> getPrefixNsWrappedArray() {
|
||||
|
||||
@@ -59,7 +59,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapProperty
|
||||
* @return mapProperty
|
||||
**/
|
||||
@JsonProperty("map_property")
|
||||
@JsonProperty(value = "map_property")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, String> getMapProperty() {
|
||||
@@ -87,7 +87,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapOfMapProperty
|
||||
* @return mapOfMapProperty
|
||||
**/
|
||||
@JsonProperty("map_of_map_property")
|
||||
@JsonProperty(value = "map_of_map_property")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
|
||||
@@ -55,7 +55,7 @@ public class Animal {
|
||||
* Get className
|
||||
* @return className
|
||||
**/
|
||||
@JsonProperty("className")
|
||||
@JsonProperty(value = "className")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public String getClassName() {
|
||||
@@ -75,7 +75,7 @@ public class Animal {
|
||||
* Get color
|
||||
* @return color
|
||||
**/
|
||||
@JsonProperty("color")
|
||||
@JsonProperty(value = "color")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getColor() {
|
||||
|
||||
@@ -54,7 +54,7 @@ public class ArrayOfArrayOfNumberOnly {
|
||||
* Get arrayArrayNumber
|
||||
* @return arrayArrayNumber
|
||||
**/
|
||||
@JsonProperty("ArrayArrayNumber")
|
||||
@JsonProperty(value = "ArrayArrayNumber")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<List<BigDecimal>> getArrayArrayNumber() {
|
||||
|
||||
@@ -54,7 +54,7 @@ public class ArrayOfNumberOnly {
|
||||
* Get arrayNumber
|
||||
* @return arrayNumber
|
||||
**/
|
||||
@JsonProperty("ArrayNumber")
|
||||
@JsonProperty(value = "ArrayNumber")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<BigDecimal> getArrayNumber() {
|
||||
|
||||
@@ -64,7 +64,7 @@ public class ArrayTest {
|
||||
* Get arrayOfString
|
||||
* @return arrayOfString
|
||||
**/
|
||||
@JsonProperty("array_of_string")
|
||||
@JsonProperty(value = "array_of_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Size(min=0,max=3)
|
||||
public List<String> getArrayOfString() {
|
||||
@@ -92,7 +92,7 @@ public class ArrayTest {
|
||||
* Get arrayArrayOfInteger
|
||||
* @return arrayArrayOfInteger
|
||||
**/
|
||||
@JsonProperty("array_array_of_integer")
|
||||
@JsonProperty(value = "array_array_of_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
@@ -120,7 +120,7 @@ public class ArrayTest {
|
||||
* Get arrayArrayOfModel
|
||||
* @return arrayArrayOfModel
|
||||
**/
|
||||
@JsonProperty("array_array_of_model")
|
||||
@JsonProperty(value = "array_array_of_model")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
|
||||
|
||||
@@ -68,7 +68,7 @@ public class Capitalization {
|
||||
* Get smallCamel
|
||||
* @return smallCamel
|
||||
**/
|
||||
@JsonProperty("smallCamel")
|
||||
@JsonProperty(value = "smallCamel")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getSmallCamel() {
|
||||
@@ -88,7 +88,7 @@ public class Capitalization {
|
||||
* Get capitalCamel
|
||||
* @return capitalCamel
|
||||
**/
|
||||
@JsonProperty("CapitalCamel")
|
||||
@JsonProperty(value = "CapitalCamel")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getCapitalCamel() {
|
||||
@@ -108,7 +108,7 @@ public class Capitalization {
|
||||
* Get smallSnake
|
||||
* @return smallSnake
|
||||
**/
|
||||
@JsonProperty("small_Snake")
|
||||
@JsonProperty(value = "small_Snake")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getSmallSnake() {
|
||||
@@ -128,7 +128,7 @@ public class Capitalization {
|
||||
* Get capitalSnake
|
||||
* @return capitalSnake
|
||||
**/
|
||||
@JsonProperty("Capital_Snake")
|
||||
@JsonProperty(value = "Capital_Snake")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getCapitalSnake() {
|
||||
@@ -148,7 +148,7 @@ public class Capitalization {
|
||||
* Get scAETHFlowPoints
|
||||
* @return scAETHFlowPoints
|
||||
**/
|
||||
@JsonProperty("SCA_ETH_Flow_Points")
|
||||
@JsonProperty(value = "SCA_ETH_Flow_Points")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getScAETHFlowPoints() {
|
||||
@@ -168,7 +168,7 @@ public class Capitalization {
|
||||
* Name of the pet
|
||||
* @return ATT_NAME
|
||||
**/
|
||||
@JsonProperty("ATT_NAME")
|
||||
@JsonProperty(value = "ATT_NAME")
|
||||
@ApiModelProperty(value = "Name of the pet ")
|
||||
|
||||
public String getATTNAME() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class Cat extends Animal {
|
||||
* Get declawed
|
||||
* @return declawed
|
||||
**/
|
||||
@JsonProperty("declawed")
|
||||
@JsonProperty(value = "declawed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getDeclawed() {
|
||||
|
||||
@@ -43,7 +43,7 @@ public class CatAllOf {
|
||||
* Get declawed
|
||||
* @return declawed
|
||||
**/
|
||||
@JsonProperty("declawed")
|
||||
@JsonProperty(value = "declawed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getDeclawed() {
|
||||
|
||||
@@ -48,7 +48,7 @@ public class Category {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -68,7 +68,7 @@ public class Category {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public String getName() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class ClassModel {
|
||||
* Get propertyClass
|
||||
* @return propertyClass
|
||||
**/
|
||||
@JsonProperty("_class")
|
||||
@JsonProperty(value = "_class")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getPropertyClass() {
|
||||
|
||||
@@ -43,7 +43,7 @@ public class Client {
|
||||
* Get client
|
||||
* @return client
|
||||
**/
|
||||
@JsonProperty("client")
|
||||
@JsonProperty(value = "client")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getClient() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class Dog extends Animal {
|
||||
* Get breed
|
||||
* @return breed
|
||||
**/
|
||||
@JsonProperty("breed")
|
||||
@JsonProperty(value = "breed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBreed() {
|
||||
|
||||
@@ -43,7 +43,7 @@ public class DogAllOf {
|
||||
* Get breed
|
||||
* @return breed
|
||||
**/
|
||||
@JsonProperty("breed")
|
||||
@JsonProperty(value = "breed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBreed() {
|
||||
|
||||
@@ -113,7 +113,7 @@ public class EnumArrays {
|
||||
* Get justSymbol
|
||||
* @return justSymbol
|
||||
**/
|
||||
@JsonProperty("just_symbol")
|
||||
@JsonProperty(value = "just_symbol")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public JustSymbolEnum getJustSymbol() {
|
||||
@@ -141,7 +141,7 @@ public class EnumArrays {
|
||||
* Get arrayEnum
|
||||
* @return arrayEnum
|
||||
**/
|
||||
@JsonProperty("array_enum")
|
||||
@JsonProperty(value = "array_enum")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<ArrayEnumEnum> getArrayEnum() {
|
||||
|
||||
@@ -211,7 +211,7 @@ public class EnumTest {
|
||||
* Get enumString
|
||||
* @return enumString
|
||||
**/
|
||||
@JsonProperty("enum_string")
|
||||
@JsonProperty(value = "enum_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public EnumStringEnum getEnumString() {
|
||||
@@ -231,7 +231,7 @@ public class EnumTest {
|
||||
* Get enumStringRequired
|
||||
* @return enumStringRequired
|
||||
**/
|
||||
@JsonProperty("enum_string_required")
|
||||
@JsonProperty(value = "enum_string_required")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public EnumStringRequiredEnum getEnumStringRequired() {
|
||||
@@ -251,7 +251,7 @@ public class EnumTest {
|
||||
* Get enumInteger
|
||||
* @return enumInteger
|
||||
**/
|
||||
@JsonProperty("enum_integer")
|
||||
@JsonProperty(value = "enum_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public EnumIntegerEnum getEnumInteger() {
|
||||
@@ -271,7 +271,7 @@ public class EnumTest {
|
||||
* Get enumNumber
|
||||
* @return enumNumber
|
||||
**/
|
||||
@JsonProperty("enum_number")
|
||||
@JsonProperty(value = "enum_number")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public EnumNumberEnum getEnumNumber() {
|
||||
@@ -291,7 +291,7 @@ public class EnumTest {
|
||||
* Get outerEnum
|
||||
* @return outerEnum
|
||||
**/
|
||||
@JsonProperty("outerEnum")
|
||||
@JsonProperty(value = "outerEnum")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public OuterEnum getOuterEnum() {
|
||||
@@ -311,7 +311,7 @@ public class EnumTest {
|
||||
* Get outerEnumInteger
|
||||
* @return outerEnumInteger
|
||||
**/
|
||||
@JsonProperty("outerEnumInteger")
|
||||
@JsonProperty(value = "outerEnumInteger")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public OuterEnumInteger getOuterEnumInteger() {
|
||||
@@ -331,7 +331,7 @@ public class EnumTest {
|
||||
* Get outerEnumDefaultValue
|
||||
* @return outerEnumDefaultValue
|
||||
**/
|
||||
@JsonProperty("outerEnumDefaultValue")
|
||||
@JsonProperty(value = "outerEnumDefaultValue")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public OuterEnumDefaultValue getOuterEnumDefaultValue() {
|
||||
@@ -351,7 +351,7 @@ public class EnumTest {
|
||||
* Get outerEnumIntegerDefaultValue
|
||||
* @return outerEnumIntegerDefaultValue
|
||||
**/
|
||||
@JsonProperty("outerEnumIntegerDefaultValue")
|
||||
@JsonProperty(value = "outerEnumIntegerDefaultValue")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() {
|
||||
|
||||
@@ -50,7 +50,7 @@ public class FileSchemaTestClass {
|
||||
* Get file
|
||||
* @return file
|
||||
**/
|
||||
@JsonProperty("file")
|
||||
@JsonProperty(value = "file")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public java.io.File getFile() {
|
||||
@@ -78,7 +78,7 @@ public class FileSchemaTestClass {
|
||||
* Get files
|
||||
* @return files
|
||||
**/
|
||||
@JsonProperty("files")
|
||||
@JsonProperty(value = "files")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<java.io.File> getFiles() {
|
||||
|
||||
@@ -43,7 +43,7 @@ public class Foo {
|
||||
* Get bar
|
||||
* @return bar
|
||||
**/
|
||||
@JsonProperty("bar")
|
||||
@JsonProperty(value = "bar")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBar() {
|
||||
|
||||
@@ -124,7 +124,7 @@ public class FormatTest {
|
||||
* maximum: 100
|
||||
* @return integer
|
||||
**/
|
||||
@JsonProperty("integer")
|
||||
@JsonProperty(value = "integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Min(10) @Max(100)
|
||||
public Integer getInteger() {
|
||||
@@ -146,7 +146,7 @@ public class FormatTest {
|
||||
* maximum: 200
|
||||
* @return int32
|
||||
**/
|
||||
@JsonProperty("int32")
|
||||
@JsonProperty(value = "int32")
|
||||
@ApiModelProperty(value = "")
|
||||
@Min(20) @Max(200)
|
||||
public Integer getInt32() {
|
||||
@@ -166,7 +166,7 @@ public class FormatTest {
|
||||
* Get int64
|
||||
* @return int64
|
||||
**/
|
||||
@JsonProperty("int64")
|
||||
@JsonProperty(value = "int64")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getInt64() {
|
||||
@@ -188,7 +188,7 @@ public class FormatTest {
|
||||
* maximum: 543.2
|
||||
* @return number
|
||||
**/
|
||||
@JsonProperty("number")
|
||||
@JsonProperty(value = "number")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull @Valid @DecimalMin("32.1") @DecimalMax("543.2")
|
||||
public BigDecimal getNumber() {
|
||||
@@ -210,7 +210,7 @@ public class FormatTest {
|
||||
* maximum: 987.6
|
||||
* @return _float
|
||||
**/
|
||||
@JsonProperty("float")
|
||||
@JsonProperty(value = "float")
|
||||
@ApiModelProperty(value = "")
|
||||
@DecimalMin("54.3") @DecimalMax("987.6")
|
||||
public Float getFloat() {
|
||||
@@ -232,7 +232,7 @@ public class FormatTest {
|
||||
* maximum: 123.4
|
||||
* @return _double
|
||||
**/
|
||||
@JsonProperty("double")
|
||||
@JsonProperty(value = "double")
|
||||
@ApiModelProperty(value = "")
|
||||
@DecimalMin("67.8") @DecimalMax("123.4")
|
||||
public Double getDouble() {
|
||||
@@ -252,7 +252,7 @@ public class FormatTest {
|
||||
* Get decimal
|
||||
* @return decimal
|
||||
**/
|
||||
@JsonProperty("decimal")
|
||||
@JsonProperty(value = "decimal")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public BigDecimal getDecimal() {
|
||||
@@ -272,7 +272,7 @@ public class FormatTest {
|
||||
* Get string
|
||||
* @return string
|
||||
**/
|
||||
@JsonProperty("string")
|
||||
@JsonProperty(value = "string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Pattern(regexp="/[a-z]/i")
|
||||
public String getString() {
|
||||
@@ -292,7 +292,7 @@ public class FormatTest {
|
||||
* Get _byte
|
||||
* @return _byte
|
||||
**/
|
||||
@JsonProperty("byte")
|
||||
@JsonProperty(value = "byte")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public byte[] getByte() {
|
||||
@@ -312,7 +312,7 @@ public class FormatTest {
|
||||
* Get binary
|
||||
* @return binary
|
||||
**/
|
||||
@JsonProperty("binary")
|
||||
@JsonProperty(value = "binary")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public File getBinary() {
|
||||
@@ -332,7 +332,7 @@ public class FormatTest {
|
||||
* Get date
|
||||
* @return date
|
||||
**/
|
||||
@JsonProperty("date")
|
||||
@JsonProperty(value = "date")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public Date getDate() {
|
||||
@@ -352,7 +352,7 @@ public class FormatTest {
|
||||
* Get dateTime
|
||||
* @return dateTime
|
||||
**/
|
||||
@JsonProperty("dateTime")
|
||||
@JsonProperty(value = "dateTime")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Date getDateTime() {
|
||||
@@ -372,7 +372,7 @@ public class FormatTest {
|
||||
* Get uuid
|
||||
* @return uuid
|
||||
**/
|
||||
@JsonProperty("uuid")
|
||||
@JsonProperty(value = "uuid")
|
||||
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
|
||||
|
||||
public UUID getUuid() {
|
||||
@@ -392,7 +392,7 @@ public class FormatTest {
|
||||
* Get password
|
||||
* @return password
|
||||
**/
|
||||
@JsonProperty("password")
|
||||
@JsonProperty(value = "password")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull @Size(min=10,max=64)
|
||||
public String getPassword() {
|
||||
@@ -412,7 +412,7 @@ public class FormatTest {
|
||||
* A string that is a 10 digit number. Can have leading zeros.
|
||||
* @return patternWithDigits
|
||||
**/
|
||||
@JsonProperty("pattern_with_digits")
|
||||
@JsonProperty(value = "pattern_with_digits")
|
||||
@ApiModelProperty(value = "A string that is a 10 digit number. Can have leading zeros.")
|
||||
@Pattern(regexp="^\\d{10}$")
|
||||
public String getPatternWithDigits() {
|
||||
@@ -432,7 +432,7 @@ public class FormatTest {
|
||||
* A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01.
|
||||
* @return patternWithDigitsAndDelimiter
|
||||
**/
|
||||
@JsonProperty("pattern_with_digits_and_delimiter")
|
||||
@JsonProperty(value = "pattern_with_digits_and_delimiter")
|
||||
@ApiModelProperty(value = "A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01.")
|
||||
@Pattern(regexp="/^image_\\d{1,3}$/i")
|
||||
public String getPatternWithDigitsAndDelimiter() {
|
||||
|
||||
@@ -48,7 +48,7 @@ public class HasOnlyReadOnly {
|
||||
* Get bar
|
||||
* @return bar
|
||||
**/
|
||||
@JsonProperty("bar")
|
||||
@JsonProperty(value = "bar", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBar() {
|
||||
@@ -68,7 +68,7 @@ public class HasOnlyReadOnly {
|
||||
* Get foo
|
||||
* @return foo
|
||||
**/
|
||||
@JsonProperty("foo")
|
||||
@JsonProperty(value = "foo", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getFoo() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class HealthCheckResult {
|
||||
* Get nullableMessage
|
||||
* @return nullableMessage
|
||||
**/
|
||||
@JsonProperty("NullableMessage")
|
||||
@JsonProperty(value = "NullableMessage")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getNullableMessage() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class InlineResponseDefault {
|
||||
* Get string
|
||||
* @return string
|
||||
**/
|
||||
@JsonProperty("string")
|
||||
@JsonProperty(value = "string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Foo getString() {
|
||||
|
||||
@@ -101,7 +101,7 @@ public class MapTest {
|
||||
* Get mapMapOfString
|
||||
* @return mapMapOfString
|
||||
**/
|
||||
@JsonProperty("map_map_of_string")
|
||||
@JsonProperty(value = "map_map_of_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
@@ -129,7 +129,7 @@ public class MapTest {
|
||||
* Get mapOfEnumString
|
||||
* @return mapOfEnumString
|
||||
**/
|
||||
@JsonProperty("map_of_enum_string")
|
||||
@JsonProperty(value = "map_of_enum_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, InnerEnum> getMapOfEnumString() {
|
||||
@@ -157,7 +157,7 @@ public class MapTest {
|
||||
* Get directMap
|
||||
* @return directMap
|
||||
**/
|
||||
@JsonProperty("direct_map")
|
||||
@JsonProperty(value = "direct_map")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Boolean> getDirectMap() {
|
||||
@@ -185,7 +185,7 @@ public class MapTest {
|
||||
* Get indirectMap
|
||||
* @return indirectMap
|
||||
**/
|
||||
@JsonProperty("indirect_map")
|
||||
@JsonProperty(value = "indirect_map")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Boolean> getIndirectMap() {
|
||||
|
||||
@@ -59,7 +59,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
* Get uuid
|
||||
* @return uuid
|
||||
**/
|
||||
@JsonProperty("uuid")
|
||||
@JsonProperty(value = "uuid")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public UUID getUuid() {
|
||||
@@ -79,7 +79,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
* Get dateTime
|
||||
* @return dateTime
|
||||
**/
|
||||
@JsonProperty("dateTime")
|
||||
@JsonProperty(value = "dateTime")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Date getDateTime() {
|
||||
@@ -107,7 +107,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
* Get map
|
||||
* @return map
|
||||
**/
|
||||
@JsonProperty("map")
|
||||
@JsonProperty(value = "map")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, Animal> getMap() {
|
||||
|
||||
@@ -49,7 +49,7 @@ public class Model200Response {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getName() {
|
||||
@@ -69,7 +69,7 @@ public class Model200Response {
|
||||
* Get propertyClass
|
||||
* @return propertyClass
|
||||
**/
|
||||
@JsonProperty("class")
|
||||
@JsonProperty(value = "class")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getPropertyClass() {
|
||||
|
||||
@@ -53,7 +53,7 @@ public class ModelApiResponse {
|
||||
* Get code
|
||||
* @return code
|
||||
**/
|
||||
@JsonProperty("code")
|
||||
@JsonProperty(value = "code")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getCode() {
|
||||
@@ -73,7 +73,7 @@ public class ModelApiResponse {
|
||||
* Get type
|
||||
* @return type
|
||||
**/
|
||||
@JsonProperty("type")
|
||||
@JsonProperty(value = "type")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getType() {
|
||||
@@ -93,7 +93,7 @@ public class ModelApiResponse {
|
||||
* Get message
|
||||
* @return message
|
||||
**/
|
||||
@JsonProperty("message")
|
||||
@JsonProperty(value = "message")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getMessage() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class ModelReturn {
|
||||
* Get _return
|
||||
* @return _return
|
||||
**/
|
||||
@JsonProperty("return")
|
||||
@JsonProperty(value = "return")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getReturn() {
|
||||
|
||||
@@ -59,7 +59,7 @@ public class Name {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public Integer getName() {
|
||||
@@ -79,7 +79,7 @@ public class Name {
|
||||
* Get snakeCase
|
||||
* @return snakeCase
|
||||
**/
|
||||
@JsonProperty("snake_case")
|
||||
@JsonProperty(value = "snake_case", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getSnakeCase() {
|
||||
@@ -99,7 +99,7 @@ public class Name {
|
||||
* Get property
|
||||
* @return property
|
||||
**/
|
||||
@JsonProperty("property")
|
||||
@JsonProperty(value = "property")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getProperty() {
|
||||
@@ -119,7 +119,7 @@ public class Name {
|
||||
* Get _123number
|
||||
* @return _123number
|
||||
**/
|
||||
@JsonProperty("123Number")
|
||||
@JsonProperty(value = "123Number", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer get123number() {
|
||||
|
||||
@@ -104,7 +104,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get integerProp
|
||||
* @return integerProp
|
||||
**/
|
||||
@JsonProperty("integer_prop")
|
||||
@JsonProperty(value = "integer_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getIntegerProp() {
|
||||
@@ -124,7 +124,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get numberProp
|
||||
* @return numberProp
|
||||
**/
|
||||
@JsonProperty("number_prop")
|
||||
@JsonProperty(value = "number_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public BigDecimal getNumberProp() {
|
||||
@@ -144,7 +144,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get booleanProp
|
||||
* @return booleanProp
|
||||
**/
|
||||
@JsonProperty("boolean_prop")
|
||||
@JsonProperty(value = "boolean_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getBooleanProp() {
|
||||
@@ -164,7 +164,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get stringProp
|
||||
* @return stringProp
|
||||
**/
|
||||
@JsonProperty("string_prop")
|
||||
@JsonProperty(value = "string_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getStringProp() {
|
||||
@@ -184,7 +184,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get dateProp
|
||||
* @return dateProp
|
||||
**/
|
||||
@JsonProperty("date_prop")
|
||||
@JsonProperty(value = "date_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Date getDateProp() {
|
||||
@@ -204,7 +204,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get datetimeProp
|
||||
* @return datetimeProp
|
||||
**/
|
||||
@JsonProperty("datetime_prop")
|
||||
@JsonProperty(value = "datetime_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Date getDatetimeProp() {
|
||||
@@ -232,7 +232,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get arrayNullableProp
|
||||
* @return arrayNullableProp
|
||||
**/
|
||||
@JsonProperty("array_nullable_prop")
|
||||
@JsonProperty(value = "array_nullable_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Object> getArrayNullableProp() {
|
||||
@@ -260,7 +260,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get arrayAndItemsNullableProp
|
||||
* @return arrayAndItemsNullableProp
|
||||
**/
|
||||
@JsonProperty("array_and_items_nullable_prop")
|
||||
@JsonProperty(value = "array_and_items_nullable_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Object> getArrayAndItemsNullableProp() {
|
||||
@@ -288,7 +288,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get arrayItemsNullable
|
||||
* @return arrayItemsNullable
|
||||
**/
|
||||
@JsonProperty("array_items_nullable")
|
||||
@JsonProperty(value = "array_items_nullable")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<Object> getArrayItemsNullable() {
|
||||
@@ -316,7 +316,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get objectNullableProp
|
||||
* @return objectNullableProp
|
||||
**/
|
||||
@JsonProperty("object_nullable_prop")
|
||||
@JsonProperty(value = "object_nullable_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Object> getObjectNullableProp() {
|
||||
@@ -344,7 +344,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get objectAndItemsNullableProp
|
||||
* @return objectAndItemsNullableProp
|
||||
**/
|
||||
@JsonProperty("object_and_items_nullable_prop")
|
||||
@JsonProperty(value = "object_and_items_nullable_prop")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Object> getObjectAndItemsNullableProp() {
|
||||
@@ -372,7 +372,7 @@ public class NullableClass extends HashMap<String, Object> {
|
||||
* Get objectItemsNullable
|
||||
* @return objectItemsNullable
|
||||
**/
|
||||
@JsonProperty("object_items_nullable")
|
||||
@JsonProperty(value = "object_items_nullable")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Object> getObjectItemsNullable() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class NumberOnly {
|
||||
* Get justNumber
|
||||
* @return justNumber
|
||||
**/
|
||||
@JsonProperty("JustNumber")
|
||||
@JsonProperty(value = "JustNumber")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public BigDecimal getJustNumber() {
|
||||
|
||||
@@ -103,7 +103,7 @@ public class Order {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -123,7 +123,7 @@ public class Order {
|
||||
* Get petId
|
||||
* @return petId
|
||||
**/
|
||||
@JsonProperty("petId")
|
||||
@JsonProperty(value = "petId")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getPetId() {
|
||||
@@ -143,7 +143,7 @@ public class Order {
|
||||
* Get quantity
|
||||
* @return quantity
|
||||
**/
|
||||
@JsonProperty("quantity")
|
||||
@JsonProperty(value = "quantity")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Integer getQuantity() {
|
||||
@@ -163,7 +163,7 @@ public class Order {
|
||||
* Get shipDate
|
||||
* @return shipDate
|
||||
**/
|
||||
@JsonProperty("shipDate")
|
||||
@JsonProperty(value = "shipDate")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Date getShipDate() {
|
||||
@@ -183,7 +183,7 @@ public class Order {
|
||||
* Order Status
|
||||
* @return status
|
||||
**/
|
||||
@JsonProperty("status")
|
||||
@JsonProperty(value = "status")
|
||||
@ApiModelProperty(value = "Order Status")
|
||||
|
||||
public StatusEnum getStatus() {
|
||||
@@ -203,7 +203,7 @@ public class Order {
|
||||
* Get complete
|
||||
* @return complete
|
||||
**/
|
||||
@JsonProperty("complete")
|
||||
@JsonProperty(value = "complete")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getComplete() {
|
||||
|
||||
@@ -54,7 +54,7 @@ public class OuterComposite {
|
||||
* Get myNumber
|
||||
* @return myNumber
|
||||
**/
|
||||
@JsonProperty("my_number")
|
||||
@JsonProperty(value = "my_number")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public BigDecimal getMyNumber() {
|
||||
@@ -74,7 +74,7 @@ public class OuterComposite {
|
||||
* Get myString
|
||||
* @return myString
|
||||
**/
|
||||
@JsonProperty("my_string")
|
||||
@JsonProperty(value = "my_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getMyString() {
|
||||
@@ -94,7 +94,7 @@ public class OuterComposite {
|
||||
* Get myBoolean
|
||||
* @return myBoolean
|
||||
**/
|
||||
@JsonProperty("my_boolean")
|
||||
@JsonProperty(value = "my_boolean")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getMyBoolean() {
|
||||
|
||||
@@ -44,7 +44,7 @@ public class OuterObjectWithEnumProperty {
|
||||
* Get value
|
||||
* @return value
|
||||
**/
|
||||
@JsonProperty("value")
|
||||
@JsonProperty(value = "value")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull @Valid
|
||||
public OuterEnumInteger getValue() {
|
||||
|
||||
@@ -108,7 +108,7 @@ public class Pet {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -128,7 +128,7 @@ public class Pet {
|
||||
* Get category
|
||||
* @return category
|
||||
**/
|
||||
@JsonProperty("category")
|
||||
@JsonProperty(value = "category")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Category getCategory() {
|
||||
@@ -148,7 +148,7 @@ public class Pet {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(example = "doggie", required = true, value = "")
|
||||
@NotNull
|
||||
public String getName() {
|
||||
@@ -173,7 +173,7 @@ public class Pet {
|
||||
* Get photoUrls
|
||||
* @return photoUrls
|
||||
**/
|
||||
@JsonProperty("photoUrls")
|
||||
@JsonProperty(value = "photoUrls")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public Set<String> getPhotoUrls() {
|
||||
@@ -201,7 +201,7 @@ public class Pet {
|
||||
* Get tags
|
||||
* @return tags
|
||||
**/
|
||||
@JsonProperty("tags")
|
||||
@JsonProperty(value = "tags")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<Tag> getTags() {
|
||||
@@ -221,7 +221,7 @@ public class Pet {
|
||||
* pet status in the store
|
||||
* @return status
|
||||
**/
|
||||
@JsonProperty("status")
|
||||
@JsonProperty(value = "status")
|
||||
@ApiModelProperty(value = "pet status in the store")
|
||||
|
||||
public StatusEnum getStatus() {
|
||||
|
||||
@@ -48,7 +48,7 @@ public class ReadOnlyFirst {
|
||||
* Get bar
|
||||
* @return bar
|
||||
**/
|
||||
@JsonProperty("bar")
|
||||
@JsonProperty(value = "bar", access = JsonProperty.Access.READ_ONLY)
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBar() {
|
||||
@@ -68,7 +68,7 @@ public class ReadOnlyFirst {
|
||||
* Get baz
|
||||
* @return baz
|
||||
**/
|
||||
@JsonProperty("baz")
|
||||
@JsonProperty(value = "baz")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getBaz() {
|
||||
|
||||
@@ -43,7 +43,7 @@ public class SpecialModelName {
|
||||
* Get $specialPropertyName
|
||||
* @return $specialPropertyName
|
||||
**/
|
||||
@JsonProperty("$special[property.name]")
|
||||
@JsonProperty(value = "$special[property.name]")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long get$SpecialPropertyName() {
|
||||
|
||||
@@ -48,7 +48,7 @@ public class Tag {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -68,7 +68,7 @@ public class Tag {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -78,7 +78,7 @@ public class User {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -98,7 +98,7 @@ public class User {
|
||||
* Get username
|
||||
* @return username
|
||||
**/
|
||||
@JsonProperty("username")
|
||||
@JsonProperty(value = "username")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getUsername() {
|
||||
@@ -118,7 +118,7 @@ public class User {
|
||||
* Get firstName
|
||||
* @return firstName
|
||||
**/
|
||||
@JsonProperty("firstName")
|
||||
@JsonProperty(value = "firstName")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getFirstName() {
|
||||
@@ -138,7 +138,7 @@ public class User {
|
||||
* Get lastName
|
||||
* @return lastName
|
||||
**/
|
||||
@JsonProperty("lastName")
|
||||
@JsonProperty(value = "lastName")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getLastName() {
|
||||
@@ -158,7 +158,7 @@ public class User {
|
||||
* Get email
|
||||
* @return email
|
||||
**/
|
||||
@JsonProperty("email")
|
||||
@JsonProperty(value = "email")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getEmail() {
|
||||
@@ -178,7 +178,7 @@ public class User {
|
||||
* Get password
|
||||
* @return password
|
||||
**/
|
||||
@JsonProperty("password")
|
||||
@JsonProperty(value = "password")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getPassword() {
|
||||
@@ -198,7 +198,7 @@ public class User {
|
||||
* Get phone
|
||||
* @return phone
|
||||
**/
|
||||
@JsonProperty("phone")
|
||||
@JsonProperty(value = "phone")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getPhone() {
|
||||
@@ -218,7 +218,7 @@ public class User {
|
||||
* User Status
|
||||
* @return userStatus
|
||||
**/
|
||||
@JsonProperty("userStatus")
|
||||
@JsonProperty(value = "userStatus")
|
||||
@ApiModelProperty(value = "User Status")
|
||||
|
||||
public Integer getUserStatus() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -46,7 +46,7 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -105,7 +105,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapString
|
||||
* @return mapString
|
||||
**/
|
||||
@JsonProperty("map_string")
|
||||
@JsonProperty(value = "map_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, String> getMapString() {
|
||||
@@ -133,7 +133,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapNumber
|
||||
* @return mapNumber
|
||||
**/
|
||||
@JsonProperty("map_number")
|
||||
@JsonProperty(value = "map_number")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, BigDecimal> getMapNumber() {
|
||||
@@ -161,7 +161,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapInteger
|
||||
* @return mapInteger
|
||||
**/
|
||||
@JsonProperty("map_integer")
|
||||
@JsonProperty(value = "map_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Integer> getMapInteger() {
|
||||
@@ -189,7 +189,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapBoolean
|
||||
* @return mapBoolean
|
||||
**/
|
||||
@JsonProperty("map_boolean")
|
||||
@JsonProperty(value = "map_boolean")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Map<String, Boolean> getMapBoolean() {
|
||||
@@ -217,7 +217,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapArrayInteger
|
||||
* @return mapArrayInteger
|
||||
**/
|
||||
@JsonProperty("map_array_integer")
|
||||
@JsonProperty(value = "map_array_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
@@ -245,7 +245,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapArrayAnytype
|
||||
* @return mapArrayAnytype
|
||||
**/
|
||||
@JsonProperty("map_array_anytype")
|
||||
@JsonProperty(value = "map_array_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
@@ -273,7 +273,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapMapString
|
||||
* @return mapMapString
|
||||
**/
|
||||
@JsonProperty("map_map_string")
|
||||
@JsonProperty(value = "map_map_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
@@ -301,7 +301,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get mapMapAnytype
|
||||
* @return mapMapAnytype
|
||||
**/
|
||||
@JsonProperty("map_map_anytype")
|
||||
@JsonProperty(value = "map_map_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
@@ -321,7 +321,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get anytype1
|
||||
* @return anytype1
|
||||
**/
|
||||
@JsonProperty("anytype_1")
|
||||
@JsonProperty(value = "anytype_1")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Object getAnytype1() {
|
||||
@@ -341,7 +341,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get anytype2
|
||||
* @return anytype2
|
||||
**/
|
||||
@JsonProperty("anytype_2")
|
||||
@JsonProperty(value = "anytype_2")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Object getAnytype2() {
|
||||
@@ -361,7 +361,7 @@ public class AdditionalPropertiesClass {
|
||||
* Get anytype3
|
||||
* @return anytype3
|
||||
**/
|
||||
@JsonProperty("anytype_3")
|
||||
@JsonProperty(value = "anytype_3")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Object getAnytype3() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -46,7 +46,7 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getName() {
|
||||
|
||||
@@ -56,7 +56,7 @@ public class Animal {
|
||||
* Get className
|
||||
* @return className
|
||||
**/
|
||||
@JsonProperty("className")
|
||||
@JsonProperty(value = "className")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public String getClassName() {
|
||||
@@ -76,7 +76,7 @@ public class Animal {
|
||||
* Get color
|
||||
* @return color
|
||||
**/
|
||||
@JsonProperty("color")
|
||||
@JsonProperty(value = "color")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getColor() {
|
||||
|
||||
@@ -54,7 +54,7 @@ public class ArrayOfArrayOfNumberOnly {
|
||||
* Get arrayArrayNumber
|
||||
* @return arrayArrayNumber
|
||||
**/
|
||||
@JsonProperty("ArrayArrayNumber")
|
||||
@JsonProperty(value = "ArrayArrayNumber")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<List<BigDecimal>> getArrayArrayNumber() {
|
||||
|
||||
@@ -54,7 +54,7 @@ public class ArrayOfNumberOnly {
|
||||
* Get arrayNumber
|
||||
* @return arrayNumber
|
||||
**/
|
||||
@JsonProperty("ArrayNumber")
|
||||
@JsonProperty(value = "ArrayNumber")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<BigDecimal> getArrayNumber() {
|
||||
|
||||
@@ -64,7 +64,7 @@ public class ArrayTest {
|
||||
* Get arrayOfString
|
||||
* @return arrayOfString
|
||||
**/
|
||||
@JsonProperty("array_of_string")
|
||||
@JsonProperty(value = "array_of_string")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public List<String> getArrayOfString() {
|
||||
@@ -92,7 +92,7 @@ public class ArrayTest {
|
||||
* Get arrayArrayOfInteger
|
||||
* @return arrayArrayOfInteger
|
||||
**/
|
||||
@JsonProperty("array_array_of_integer")
|
||||
@JsonProperty(value = "array_array_of_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
@@ -120,7 +120,7 @@ public class ArrayTest {
|
||||
* Get arrayArrayOfModel
|
||||
* @return arrayArrayOfModel
|
||||
**/
|
||||
@JsonProperty("array_array_of_model")
|
||||
@JsonProperty(value = "array_array_of_model")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
|
||||
|
||||
@@ -81,7 +81,7 @@ public class BigCat extends Cat {
|
||||
* Get kind
|
||||
* @return kind
|
||||
**/
|
||||
@JsonProperty("kind")
|
||||
@JsonProperty(value = "kind")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public KindEnum getKind() {
|
||||
|
||||
@@ -79,7 +79,7 @@ public class BigCatAllOf {
|
||||
* Get kind
|
||||
* @return kind
|
||||
**/
|
||||
@JsonProperty("kind")
|
||||
@JsonProperty(value = "kind")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public KindEnum getKind() {
|
||||
|
||||
@@ -68,7 +68,7 @@ public class Capitalization {
|
||||
* Get smallCamel
|
||||
* @return smallCamel
|
||||
**/
|
||||
@JsonProperty("smallCamel")
|
||||
@JsonProperty(value = "smallCamel")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getSmallCamel() {
|
||||
@@ -88,7 +88,7 @@ public class Capitalization {
|
||||
* Get capitalCamel
|
||||
* @return capitalCamel
|
||||
**/
|
||||
@JsonProperty("CapitalCamel")
|
||||
@JsonProperty(value = "CapitalCamel")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getCapitalCamel() {
|
||||
@@ -108,7 +108,7 @@ public class Capitalization {
|
||||
* Get smallSnake
|
||||
* @return smallSnake
|
||||
**/
|
||||
@JsonProperty("small_Snake")
|
||||
@JsonProperty(value = "small_Snake")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getSmallSnake() {
|
||||
@@ -128,7 +128,7 @@ public class Capitalization {
|
||||
* Get capitalSnake
|
||||
* @return capitalSnake
|
||||
**/
|
||||
@JsonProperty("Capital_Snake")
|
||||
@JsonProperty(value = "Capital_Snake")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getCapitalSnake() {
|
||||
@@ -148,7 +148,7 @@ public class Capitalization {
|
||||
* Get scAETHFlowPoints
|
||||
* @return scAETHFlowPoints
|
||||
**/
|
||||
@JsonProperty("SCA_ETH_Flow_Points")
|
||||
@JsonProperty(value = "SCA_ETH_Flow_Points")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public String getScAETHFlowPoints() {
|
||||
@@ -168,7 +168,7 @@ public class Capitalization {
|
||||
* Name of the pet
|
||||
* @return ATT_NAME
|
||||
**/
|
||||
@JsonProperty("ATT_NAME")
|
||||
@JsonProperty(value = "ATT_NAME")
|
||||
@ApiModelProperty(value = "Name of the pet ")
|
||||
|
||||
public String getATTNAME() {
|
||||
|
||||
@@ -45,7 +45,7 @@ public class Cat extends Animal {
|
||||
* Get declawed
|
||||
* @return declawed
|
||||
**/
|
||||
@JsonProperty("declawed")
|
||||
@JsonProperty(value = "declawed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getDeclawed() {
|
||||
|
||||
@@ -43,7 +43,7 @@ public class CatAllOf {
|
||||
* Get declawed
|
||||
* @return declawed
|
||||
**/
|
||||
@JsonProperty("declawed")
|
||||
@JsonProperty(value = "declawed")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Boolean getDeclawed() {
|
||||
|
||||
@@ -48,7 +48,7 @@ public class Category {
|
||||
* Get id
|
||||
* @return id
|
||||
**/
|
||||
@JsonProperty("id")
|
||||
@JsonProperty(value = "id")
|
||||
@ApiModelProperty(value = "")
|
||||
|
||||
public Long getId() {
|
||||
@@ -68,7 +68,7 @@ public class Category {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@JsonProperty("name")
|
||||
@JsonProperty(value = "name")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull
|
||||
public String getName() {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user