forked from loafle/openapi-generator-original
Update samples for Java Inflector. (#5204)
This commit is contained in:
parent
6fef9c5ce6
commit
b3fac54df6
@ -29,7 +29,7 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_property")
|
||||
public Map<String, String> getMapProperty() {
|
||||
return mapProperty;
|
||||
@ -46,7 +46,7 @@ public class AdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_of_map_property")
|
||||
public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
return mapOfMapProperty;
|
||||
|
@ -28,7 +28,7 @@ public class Animal {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", required = true, value = "")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("className")
|
||||
public String getClassName() {
|
||||
return className;
|
||||
@ -45,7 +45,7 @@ public class Animal {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("color")
|
||||
public String getColor() {
|
||||
return color;
|
||||
|
@ -26,7 +26,7 @@ public class ArrayOfArrayOfNumberOnly {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("ArrayArrayNumber")
|
||||
public List<List<BigDecimal>> getArrayArrayNumber() {
|
||||
return arrayArrayNumber;
|
||||
|
@ -26,7 +26,7 @@ public class ArrayOfNumberOnly {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("ArrayNumber")
|
||||
public List<BigDecimal> getArrayNumber() {
|
||||
return arrayNumber;
|
||||
|
@ -32,7 +32,7 @@ public class ArrayTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_of_string")
|
||||
public List<String> getArrayOfString() {
|
||||
return arrayOfString;
|
||||
@ -49,7 +49,7 @@ public class ArrayTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_integer")
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
@ -66,7 +66,7 @@ public class ArrayTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_model")
|
||||
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
|
||||
return arrayArrayOfModel;
|
||||
|
@ -38,7 +38,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("smallCamel")
|
||||
public String getSmallCamel() {
|
||||
return smallCamel;
|
||||
@ -55,7 +55,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("CapitalCamel")
|
||||
public String getCapitalCamel() {
|
||||
return capitalCamel;
|
||||
@ -72,7 +72,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("small_Snake")
|
||||
public String getSmallSnake() {
|
||||
return smallSnake;
|
||||
@ -89,7 +89,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("Capital_Snake")
|
||||
public String getCapitalSnake() {
|
||||
return capitalSnake;
|
||||
@ -106,7 +106,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("SCA_ETH_Flow_Points")
|
||||
public String getScAETHFlowPoints() {
|
||||
return scAETHFlowPoints;
|
||||
@ -124,7 +124,7 @@ public class Capitalization {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "Name of the pet ")
|
||||
@ApiModelProperty(value = "Name of the pet ")
|
||||
@JsonProperty("ATT_NAME")
|
||||
public String getATTNAME() {
|
||||
return ATT_NAME;
|
||||
|
@ -24,7 +24,7 @@ public class Cat extends Animal {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("declawed")
|
||||
public Boolean getDeclawed() {
|
||||
return declawed;
|
||||
|
@ -26,7 +26,7 @@ public class Category {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
@ -43,7 +43,7 @@ public class Category {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("name")
|
||||
public String getName() {
|
||||
return name;
|
||||
|
@ -26,7 +26,7 @@ public class ClassModel {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("_class")
|
||||
public String getPropertyClass() {
|
||||
return propertyClass;
|
||||
|
@ -23,7 +23,7 @@ public class Client {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("client")
|
||||
public String getClient() {
|
||||
return client;
|
||||
|
@ -24,7 +24,7 @@ public class Dog extends Animal {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("breed")
|
||||
public String getBreed() {
|
||||
return breed;
|
||||
|
@ -91,7 +91,7 @@ public class EnumArrays {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("just_symbol")
|
||||
public JustSymbolEnum getJustSymbol() {
|
||||
return justSymbol;
|
||||
@ -108,7 +108,7 @@ public class EnumArrays {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_enum")
|
||||
public List<ArrayEnumEnum> getArrayEnum() {
|
||||
return arrayEnum;
|
||||
|
@ -129,7 +129,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("enum_string")
|
||||
public EnumStringEnum getEnumString() {
|
||||
return enumString;
|
||||
@ -146,7 +146,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("enum_integer")
|
||||
public EnumIntegerEnum getEnumInteger() {
|
||||
return enumInteger;
|
||||
@ -163,7 +163,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("enum_number")
|
||||
public EnumNumberEnum getEnumNumber() {
|
||||
return enumNumber;
|
||||
@ -180,7 +180,7 @@ public class EnumTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnum")
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
|
@ -64,7 +64,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("integer")
|
||||
public Integer getInteger() {
|
||||
return integer;
|
||||
@ -83,7 +83,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("int32")
|
||||
public Integer getInt32() {
|
||||
return int32;
|
||||
@ -100,7 +100,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("int64")
|
||||
public Long getInt64() {
|
||||
return int64;
|
||||
@ -119,7 +119,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", required = true, value = "")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("number")
|
||||
public BigDecimal getNumber() {
|
||||
return number;
|
||||
@ -138,7 +138,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("float")
|
||||
public Float getFloat() {
|
||||
return _float;
|
||||
@ -157,7 +157,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("double")
|
||||
public Double getDouble() {
|
||||
return _double;
|
||||
@ -174,7 +174,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("string")
|
||||
public String getString() {
|
||||
return string;
|
||||
@ -191,7 +191,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", required = true, value = "")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("byte")
|
||||
public byte[] getByte() {
|
||||
return _byte;
|
||||
@ -208,7 +208,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("binary")
|
||||
public byte[] getBinary() {
|
||||
return binary;
|
||||
@ -225,7 +225,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", required = true, value = "")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("date")
|
||||
public Date getDate() {
|
||||
return date;
|
||||
@ -242,7 +242,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
@ -259,7 +259,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
@ -276,7 +276,7 @@ public class FormatTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", required = true, value = "")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("password")
|
||||
public String getPassword() {
|
||||
return password;
|
||||
|
@ -26,7 +26,7 @@ public class HasOnlyReadOnly {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("bar")
|
||||
public String getBar() {
|
||||
return bar;
|
||||
@ -43,7 +43,7 @@ public class HasOnlyReadOnly {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("foo")
|
||||
public String getFoo() {
|
||||
return foo;
|
||||
|
@ -61,7 +61,7 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_of_string")
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
@ -78,7 +78,7 @@ public class MapTest {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_of_enum_string")
|
||||
public Map<String, InnerEnum> getMapOfEnumString() {
|
||||
return mapOfEnumString;
|
||||
|
@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
@ -52,7 +52,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
@ -69,7 +69,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map")
|
||||
public Map<String, Animal> getMap() {
|
||||
return map;
|
||||
|
@ -29,7 +29,7 @@ public class Model200Response {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("name")
|
||||
public Integer getName() {
|
||||
return name;
|
||||
@ -46,7 +46,7 @@ public class Model200Response {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("class")
|
||||
public String getPropertyClass() {
|
||||
return propertyClass;
|
||||
|
@ -29,7 +29,7 @@ public class ModelApiResponse {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("code")
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
@ -46,7 +46,7 @@ public class ModelApiResponse {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("type")
|
||||
public String getType() {
|
||||
return type;
|
||||
@ -63,7 +63,7 @@ public class ModelApiResponse {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("message")
|
||||
public String getMessage() {
|
||||
return message;
|
||||
|
@ -26,7 +26,7 @@ public class ModelReturn {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("return")
|
||||
public Integer getReturn() {
|
||||
return _return;
|
||||
|
@ -35,7 +35,7 @@ public class Name {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", required = true, value = "")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("name")
|
||||
public Integer getName() {
|
||||
return name;
|
||||
@ -52,7 +52,7 @@ public class Name {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("snake_case")
|
||||
public Integer getSnakeCase() {
|
||||
return snakeCase;
|
||||
@ -69,7 +69,7 @@ public class Name {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("property")
|
||||
public String getProperty() {
|
||||
return property;
|
||||
@ -86,7 +86,7 @@ public class Name {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("123Number")
|
||||
public Integer get123Number() {
|
||||
return _123Number;
|
||||
|
@ -24,7 +24,7 @@ public class NumberOnly {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("JustNumber")
|
||||
public BigDecimal getJustNumber() {
|
||||
return justNumber;
|
||||
|
@ -73,7 +73,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
@ -90,7 +90,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("petId")
|
||||
public Long getPetId() {
|
||||
return petId;
|
||||
@ -107,7 +107,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("quantity")
|
||||
public Integer getQuantity() {
|
||||
return quantity;
|
||||
@ -124,7 +124,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("shipDate")
|
||||
public Date getShipDate() {
|
||||
return shipDate;
|
||||
@ -142,7 +142,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "Order Status")
|
||||
@ApiModelProperty(value = "Order Status")
|
||||
@JsonProperty("status")
|
||||
public StatusEnum getStatus() {
|
||||
return status;
|
||||
@ -159,7 +159,7 @@ public class Order {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("complete")
|
||||
public Boolean getComplete() {
|
||||
return complete;
|
||||
|
@ -76,7 +76,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
@ -93,7 +93,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("category")
|
||||
public Category getCategory() {
|
||||
return category;
|
||||
@ -127,7 +127,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", required = true, value = "")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("photoUrls")
|
||||
public List<String> getPhotoUrls() {
|
||||
return photoUrls;
|
||||
@ -144,7 +144,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("tags")
|
||||
public List<Tag> getTags() {
|
||||
return tags;
|
||||
@ -162,7 +162,7 @@ public class Pet {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "pet status in the store")
|
||||
@ApiModelProperty(value = "pet status in the store")
|
||||
@JsonProperty("status")
|
||||
public StatusEnum getStatus() {
|
||||
return status;
|
||||
|
@ -26,7 +26,7 @@ public class ReadOnlyFirst {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("bar")
|
||||
public String getBar() {
|
||||
return bar;
|
||||
@ -43,7 +43,7 @@ public class ReadOnlyFirst {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("baz")
|
||||
public String getBaz() {
|
||||
return baz;
|
||||
|
@ -23,7 +23,7 @@ public class SpecialModelName {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("$special[property.name]")
|
||||
public Long getSpecialPropertyName() {
|
||||
return specialPropertyName;
|
||||
|
@ -26,7 +26,7 @@ public class Tag {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
@ -43,7 +43,7 @@ public class Tag {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("name")
|
||||
public String getName() {
|
||||
return name;
|
||||
|
@ -44,7 +44,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
@ -61,7 +61,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("username")
|
||||
public String getUsername() {
|
||||
return username;
|
||||
@ -78,7 +78,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("firstName")
|
||||
public String getFirstName() {
|
||||
return firstName;
|
||||
@ -95,7 +95,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("lastName")
|
||||
public String getLastName() {
|
||||
return lastName;
|
||||
@ -112,7 +112,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("email")
|
||||
public String getEmail() {
|
||||
return email;
|
||||
@ -129,7 +129,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("password")
|
||||
public String getPassword() {
|
||||
return password;
|
||||
@ -146,7 +146,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "")
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("phone")
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
@ -164,7 +164,7 @@ public class User {
|
||||
}
|
||||
|
||||
|
||||
@ApiModelProperty(example = "null", value = "User Status")
|
||||
@ApiModelProperty(value = "User Status")
|
||||
@JsonProperty("userStatus")
|
||||
public Integer getUserStatus() {
|
||||
return userStatus;
|
||||
|
@ -685,12 +685,18 @@ paths:
|
||||
required: false
|
||||
type: "integer"
|
||||
format: "int32"
|
||||
enum:
|
||||
- 1
|
||||
- -2
|
||||
- name: "enum_query_double"
|
||||
in: "formData"
|
||||
description: "Query parameter enum test (double)"
|
||||
required: false
|
||||
type: "number"
|
||||
format: "double"
|
||||
enum:
|
||||
- 1.1
|
||||
- -1.2
|
||||
responses:
|
||||
400:
|
||||
description: "Invalid request"
|
||||
@ -846,12 +852,12 @@ securityDefinitions:
|
||||
scopes:
|
||||
write:pets: "modify pets in your account"
|
||||
read:pets: "read your pets"
|
||||
http_basic_test:
|
||||
type: "basic"
|
||||
api_key:
|
||||
type: "apiKey"
|
||||
name: "api_key"
|
||||
in: "header"
|
||||
http_basic_test:
|
||||
type: "basic"
|
||||
definitions:
|
||||
Order:
|
||||
type: "object"
|
||||
|
Loading…
x
Reference in New Issue
Block a user