forked from loafle/openapi-generator-original
Merge branch 'master' of https://github.com/swagger-api/swagger-codegen
This commit is contained in:
commit
141fc7e8c7
10
bin/windows/jaxrs-spec-petstore-server-interface.bat
Normal file
10
bin/windows/jaxrs-spec-petstore-server-interface.bat
Normal file
@ -0,0 +1,10 @@
|
||||
set executable=.\modules\swagger-codegen-cli\target\swagger-codegen-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
|
||||
set ags=generate --artifact-id "jaxrs-cxf-client-petstore-client" -i modules\swagger-codegen\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-spec -o samples\server\petstore\jaxrs-spec-interface -DhideGenerationTimestamp=true,serializableModel=true,interfaceOnly=true
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
10
bin/windows/jaxrs-spec-petstore-server.bat
Normal file
10
bin/windows/jaxrs-spec-petstore-server.bat
Normal file
@ -0,0 +1,10 @@
|
||||
set executable=.\modules\swagger-codegen-cli\target\swagger-codegen-cli.jar
|
||||
|
||||
If Not Exist %executable% (
|
||||
mvn clean package
|
||||
)
|
||||
|
||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M -DloggerPath=conf/log4j.properties
|
||||
set ags=generate --artifact-id "jaxrs-cxf-client-petstore-client" -i modules\swagger-codegen\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -l jaxrs-spec -o samples\server\petstore\jaxrs-spec -DhideGenerationTimestamp=true,serializableModel=true
|
||||
|
||||
java %JAVA_OPTS% -jar %executable% %ags%
|
@ -1,5 +1,6 @@
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
{{#description}}@ApiModel(description = "{{{description}}}"){{/description}}
|
||||
|
||||
public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#serializableModel}}implements Serializable{{/serializableModel}} {
|
||||
@ -29,6 +30,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}}{{/parent}} {{#seriali
|
||||
|
||||
{{#vendorExtensions.extraAnnotation}}{{{vendorExtensions.extraAnnotation}}}{{/vendorExtensions.extraAnnotation}}
|
||||
@ApiModelProperty({{#example}}example = "{{{example}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}")
|
||||
@JsonProperty("{{baseName}}")
|
||||
{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}} public {{{datatypeWithEnum}}} {{getter}}() {
|
||||
return {{name}};
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class AdditionalPropertiesClass implements Serializable {
|
||||
@ -26,6 +27,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_property")
|
||||
public Map<String, String> getMapProperty() {
|
||||
return mapProperty;
|
||||
}
|
||||
@ -42,6 +44,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_of_map_property")
|
||||
public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
return mapOfMapProperty;
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Animal implements Serializable {
|
||||
@ -25,6 +26,7 @@ public class Animal implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("className")
|
||||
@NotNull
|
||||
public String getClassName() {
|
||||
return className;
|
||||
@ -42,6 +44,7 @@ public class Animal implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("color")
|
||||
public String getColor() {
|
||||
return color;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class AnimalFarm extends ArrayList<Animal> implements Serializable {
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ArrayOfArrayOfNumberOnly implements Serializable {
|
||||
@ -25,6 +26,7 @@ public class ArrayOfArrayOfNumberOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("ArrayArrayNumber")
|
||||
public List<List<BigDecimal>> getArrayArrayNumber() {
|
||||
return arrayArrayNumber;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ArrayOfNumberOnly implements Serializable {
|
||||
@ -25,6 +26,7 @@ public class ArrayOfNumberOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("ArrayNumber")
|
||||
public List<BigDecimal> getArrayNumber() {
|
||||
return arrayNumber;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ArrayTest implements Serializable {
|
||||
@ -27,6 +28,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_of_string")
|
||||
public List<String> getArrayOfString() {
|
||||
return arrayOfString;
|
||||
}
|
||||
@ -43,6 +45,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_integer")
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
@ -59,6 +62,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_model")
|
||||
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
|
||||
return arrayArrayOfModel;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Capitalization implements Serializable {
|
||||
@ -27,6 +28,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("smallCamel")
|
||||
public String getSmallCamel() {
|
||||
return smallCamel;
|
||||
}
|
||||
@ -43,6 +45,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("CapitalCamel")
|
||||
public String getCapitalCamel() {
|
||||
return capitalCamel;
|
||||
}
|
||||
@ -59,6 +62,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("small_Snake")
|
||||
public String getSmallSnake() {
|
||||
return smallSnake;
|
||||
}
|
||||
@ -75,6 +79,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("Capital_Snake")
|
||||
public String getCapitalSnake() {
|
||||
return capitalSnake;
|
||||
}
|
||||
@ -91,6 +96,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("SCA_ETH_Flow_Points")
|
||||
public String getScAETHFlowPoints() {
|
||||
return scAETHFlowPoints;
|
||||
}
|
||||
@ -108,6 +114,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "Name of the pet ")
|
||||
@JsonProperty("ATT_NAME")
|
||||
public String getATTNAME() {
|
||||
return ATT_NAME;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Cat extends Animal implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class Cat extends Animal implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("declawed")
|
||||
public Boolean isDeclawed() {
|
||||
return declawed;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Category implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class Category implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -39,6 +41,7 @@ public class Category implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("name")
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
**/
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@ApiModel(description = "Model for testing model with \"_class\" property")
|
||||
|
||||
public class ClassModel implements Serializable {
|
||||
@ -26,6 +27,7 @@ public class ClassModel implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("_class")
|
||||
public String getPropertyClass() {
|
||||
return propertyClass;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Client implements Serializable {
|
||||
@ -22,6 +23,7 @@ public class Client implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("client")
|
||||
public String getClient() {
|
||||
return client;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Dog extends Animal implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class Dog extends Animal implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("breed")
|
||||
public String getBreed() {
|
||||
return breed;
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class EnumArrays implements Serializable {
|
||||
@ -87,6 +88,7 @@ public enum ArrayEnumEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("just_symbol")
|
||||
public JustSymbolEnum getJustSymbol() {
|
||||
return justSymbol;
|
||||
}
|
||||
@ -103,6 +105,7 @@ public enum ArrayEnumEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_enum")
|
||||
public List<ArrayEnumEnum> getArrayEnum() {
|
||||
return arrayEnum;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class EnumTest implements Serializable {
|
||||
@ -119,6 +120,7 @@ public enum EnumNumberEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("enum_string")
|
||||
public EnumStringEnum getEnumString() {
|
||||
return enumString;
|
||||
}
|
||||
@ -135,6 +137,7 @@ public enum EnumNumberEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("enum_integer")
|
||||
public EnumIntegerEnum getEnumInteger() {
|
||||
return enumInteger;
|
||||
}
|
||||
@ -151,6 +154,7 @@ public enum EnumNumberEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("enum_number")
|
||||
public EnumNumberEnum getEnumNumber() {
|
||||
return enumNumber;
|
||||
}
|
||||
@ -167,6 +171,7 @@ public enum EnumNumberEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnum")
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class FormatTest implements Serializable {
|
||||
@ -40,6 +41,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("integer")
|
||||
@Min(10) @Max(100) public Integer getInteger() {
|
||||
return integer;
|
||||
}
|
||||
@ -58,6 +60,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("int32")
|
||||
@Min(20) @Max(200) public Integer getInt32() {
|
||||
return int32;
|
||||
}
|
||||
@ -74,6 +77,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("int64")
|
||||
public Long getInt64() {
|
||||
return int64;
|
||||
}
|
||||
@ -92,6 +96,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("number")
|
||||
@NotNull
|
||||
@DecimalMin("32.1") @DecimalMax("543.2") public BigDecimal getNumber() {
|
||||
return number;
|
||||
@ -111,6 +116,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("float")
|
||||
@DecimalMin("54.3") @DecimalMax("987.6") public Float getFloat() {
|
||||
return _float;
|
||||
}
|
||||
@ -129,6 +135,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("double")
|
||||
@DecimalMin("67.8") @DecimalMax("123.4") public Double getDouble() {
|
||||
return _double;
|
||||
}
|
||||
@ -145,6 +152,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("string")
|
||||
@Pattern(regexp="/[a-z]/i") public String getString() {
|
||||
return string;
|
||||
}
|
||||
@ -161,6 +169,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("byte")
|
||||
@NotNull
|
||||
@Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") public byte[] getByte() {
|
||||
return _byte;
|
||||
@ -178,6 +187,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("binary")
|
||||
public byte[] getBinary() {
|
||||
return binary;
|
||||
}
|
||||
@ -194,6 +204,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("date")
|
||||
@NotNull
|
||||
public LocalDate getDate() {
|
||||
return date;
|
||||
@ -211,6 +222,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
@ -227,6 +239,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
@ -243,6 +256,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("password")
|
||||
@NotNull
|
||||
@Size(min=10,max=64) public String getPassword() {
|
||||
return password;
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class HasOnlyReadOnly implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class HasOnlyReadOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("bar")
|
||||
public String getBar() {
|
||||
return bar;
|
||||
}
|
||||
@ -39,6 +41,7 @@ public class HasOnlyReadOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("foo")
|
||||
public String getFoo() {
|
||||
return foo;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class MapTest implements Serializable {
|
||||
@ -57,6 +58,7 @@ public enum InnerEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_of_string")
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
@ -73,6 +75,7 @@ public enum InnerEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_of_enum_string")
|
||||
public Map<String, InnerEnum> getMapOfEnumString() {
|
||||
return mapOfEnumString;
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class MixedPropertiesAndAdditionalPropertiesClass implements Serializable {
|
||||
@ -30,6 +31,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
@ -46,6 +48,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
@ -62,6 +65,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map")
|
||||
public Map<String, Animal> getMap() {
|
||||
return map;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
**/
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@ApiModel(description = "Model for testing model name starting with number")
|
||||
|
||||
public class Model200Response implements Serializable {
|
||||
@ -27,6 +28,7 @@ public class Model200Response implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("name")
|
||||
public Integer getName() {
|
||||
return name;
|
||||
}
|
||||
@ -43,6 +45,7 @@ public class Model200Response implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("class")
|
||||
public String getPropertyClass() {
|
||||
return propertyClass;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ModelApiResponse implements Serializable {
|
||||
@ -24,6 +25,7 @@ public class ModelApiResponse implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("code")
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
@ -40,6 +42,7 @@ public class ModelApiResponse implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("type")
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
@ -56,6 +59,7 @@ public class ModelApiResponse implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("message")
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
**/
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@ApiModel(description = "Model for testing reserved words")
|
||||
|
||||
public class ModelReturn implements Serializable {
|
||||
@ -26,6 +27,7 @@ public class ModelReturn implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("return")
|
||||
public Integer getReturn() {
|
||||
return _return;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
**/
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@ApiModel(description = "Model for testing model name same as property name")
|
||||
|
||||
public class Name implements Serializable {
|
||||
@ -29,6 +30,7 @@ public class Name implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("name")
|
||||
@NotNull
|
||||
public Integer getName() {
|
||||
return name;
|
||||
@ -46,6 +48,7 @@ public class Name implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("snake_case")
|
||||
public Integer getSnakeCase() {
|
||||
return snakeCase;
|
||||
}
|
||||
@ -62,6 +65,7 @@ public class Name implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("property")
|
||||
public String getProperty() {
|
||||
return property;
|
||||
}
|
||||
@ -78,6 +82,7 @@ public class Name implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("123Number")
|
||||
public Integer get123Number() {
|
||||
return _123Number;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class NumberOnly implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class NumberOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("JustNumber")
|
||||
public BigDecimal getJustNumber() {
|
||||
return justNumber;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Order implements Serializable {
|
||||
@ -59,6 +60,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -75,6 +77,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("petId")
|
||||
public Long getPetId() {
|
||||
return petId;
|
||||
}
|
||||
@ -91,6 +94,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("quantity")
|
||||
public Integer getQuantity() {
|
||||
return quantity;
|
||||
}
|
||||
@ -107,6 +111,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("shipDate")
|
||||
public Date getShipDate() {
|
||||
return shipDate;
|
||||
}
|
||||
@ -124,6 +129,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "Order Status")
|
||||
@JsonProperty("status")
|
||||
public StatusEnum getStatus() {
|
||||
return status;
|
||||
}
|
||||
@ -140,6 +146,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("complete")
|
||||
public Boolean isComplete() {
|
||||
return complete;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class OuterComposite implements Serializable {
|
||||
@ -25,6 +26,7 @@ public class OuterComposite implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("my_number")
|
||||
public BigDecimal getMyNumber() {
|
||||
return myNumber;
|
||||
}
|
||||
@ -41,6 +43,7 @@ public class OuterComposite implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("my_string")
|
||||
public String getMyString() {
|
||||
return myString;
|
||||
}
|
||||
@ -57,6 +60,7 @@ public class OuterComposite implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("my_boolean")
|
||||
public Boolean getMyBoolean() {
|
||||
return myBoolean;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Pet implements Serializable {
|
||||
@ -62,6 +63,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -78,6 +80,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("category")
|
||||
public Category getCategory() {
|
||||
return category;
|
||||
}
|
||||
@ -94,6 +97,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(example = "doggie", required = true, value = "")
|
||||
@JsonProperty("name")
|
||||
@NotNull
|
||||
public String getName() {
|
||||
return name;
|
||||
@ -111,6 +115,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("photoUrls")
|
||||
@NotNull
|
||||
public List<String> getPhotoUrls() {
|
||||
return photoUrls;
|
||||
@ -128,6 +133,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("tags")
|
||||
public List<Tag> getTags() {
|
||||
return tags;
|
||||
}
|
||||
@ -145,6 +151,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "pet status in the store")
|
||||
@JsonProperty("status")
|
||||
public StatusEnum getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ReadOnlyFirst implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class ReadOnlyFirst implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("bar")
|
||||
public String getBar() {
|
||||
return bar;
|
||||
}
|
||||
@ -39,6 +41,7 @@ public class ReadOnlyFirst implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("baz")
|
||||
public String getBaz() {
|
||||
return baz;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class SpecialModelName implements Serializable {
|
||||
@ -22,6 +23,7 @@ public class SpecialModelName implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("$special[property.name]")
|
||||
public Long getSpecialPropertyName() {
|
||||
return specialPropertyName;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Tag implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class Tag implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -39,6 +41,7 @@ public class Tag implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("name")
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class User implements Serializable {
|
||||
@ -29,6 +30,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -45,6 +47,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("username")
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
@ -61,6 +64,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("firstName")
|
||||
public String getFirstName() {
|
||||
return firstName;
|
||||
}
|
||||
@ -77,6 +81,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("lastName")
|
||||
public String getLastName() {
|
||||
return lastName;
|
||||
}
|
||||
@ -93,6 +98,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("email")
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
@ -109,6 +115,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("password")
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
@ -125,6 +132,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("phone")
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
@ -142,6 +150,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "User Status")
|
||||
@JsonProperty("userStatus")
|
||||
public Integer getUserStatus() {
|
||||
return userStatus;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class AdditionalPropertiesClass implements Serializable {
|
||||
@ -26,6 +27,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_property")
|
||||
public Map<String, String> getMapProperty() {
|
||||
return mapProperty;
|
||||
}
|
||||
@ -42,6 +44,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_of_map_property")
|
||||
public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
return mapOfMapProperty;
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Animal implements Serializable {
|
||||
@ -25,6 +26,7 @@ public class Animal implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("className")
|
||||
@NotNull
|
||||
public String getClassName() {
|
||||
return className;
|
||||
@ -42,6 +44,7 @@ public class Animal implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("color")
|
||||
public String getColor() {
|
||||
return color;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class AnimalFarm extends ArrayList<Animal> implements Serializable {
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ArrayOfArrayOfNumberOnly implements Serializable {
|
||||
@ -25,6 +26,7 @@ public class ArrayOfArrayOfNumberOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("ArrayArrayNumber")
|
||||
public List<List<BigDecimal>> getArrayArrayNumber() {
|
||||
return arrayArrayNumber;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ArrayOfNumberOnly implements Serializable {
|
||||
@ -25,6 +26,7 @@ public class ArrayOfNumberOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("ArrayNumber")
|
||||
public List<BigDecimal> getArrayNumber() {
|
||||
return arrayNumber;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ArrayTest implements Serializable {
|
||||
@ -27,6 +28,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_of_string")
|
||||
public List<String> getArrayOfString() {
|
||||
return arrayOfString;
|
||||
}
|
||||
@ -43,6 +45,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_integer")
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
@ -59,6 +62,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_model")
|
||||
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
|
||||
return arrayArrayOfModel;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Capitalization implements Serializable {
|
||||
@ -27,6 +28,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("smallCamel")
|
||||
public String getSmallCamel() {
|
||||
return smallCamel;
|
||||
}
|
||||
@ -43,6 +45,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("CapitalCamel")
|
||||
public String getCapitalCamel() {
|
||||
return capitalCamel;
|
||||
}
|
||||
@ -59,6 +62,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("small_Snake")
|
||||
public String getSmallSnake() {
|
||||
return smallSnake;
|
||||
}
|
||||
@ -75,6 +79,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("Capital_Snake")
|
||||
public String getCapitalSnake() {
|
||||
return capitalSnake;
|
||||
}
|
||||
@ -91,6 +96,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("SCA_ETH_Flow_Points")
|
||||
public String getScAETHFlowPoints() {
|
||||
return scAETHFlowPoints;
|
||||
}
|
||||
@ -108,6 +114,7 @@ public class Capitalization implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "Name of the pet ")
|
||||
@JsonProperty("ATT_NAME")
|
||||
public String getATTNAME() {
|
||||
return ATT_NAME;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Cat extends Animal implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class Cat extends Animal implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("declawed")
|
||||
public Boolean isDeclawed() {
|
||||
return declawed;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Category implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class Category implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -39,6 +41,7 @@ public class Category implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("name")
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
**/
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@ApiModel(description = "Model for testing model with \"_class\" property")
|
||||
|
||||
public class ClassModel implements Serializable {
|
||||
@ -26,6 +27,7 @@ public class ClassModel implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("_class")
|
||||
public String getPropertyClass() {
|
||||
return propertyClass;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Client implements Serializable {
|
||||
@ -22,6 +23,7 @@ public class Client implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("client")
|
||||
public String getClient() {
|
||||
return client;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Dog extends Animal implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class Dog extends Animal implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("breed")
|
||||
public String getBreed() {
|
||||
return breed;
|
||||
}
|
||||
|
@ -9,6 +9,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class EnumArrays implements Serializable {
|
||||
@ -87,6 +88,7 @@ public enum ArrayEnumEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("just_symbol")
|
||||
public JustSymbolEnum getJustSymbol() {
|
||||
return justSymbol;
|
||||
}
|
||||
@ -103,6 +105,7 @@ public enum ArrayEnumEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_enum")
|
||||
public List<ArrayEnumEnum> getArrayEnum() {
|
||||
return arrayEnum;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class EnumTest implements Serializable {
|
||||
@ -119,6 +120,7 @@ public enum EnumNumberEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("enum_string")
|
||||
public EnumStringEnum getEnumString() {
|
||||
return enumString;
|
||||
}
|
||||
@ -135,6 +137,7 @@ public enum EnumNumberEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("enum_integer")
|
||||
public EnumIntegerEnum getEnumInteger() {
|
||||
return enumInteger;
|
||||
}
|
||||
@ -151,6 +154,7 @@ public enum EnumNumberEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("enum_number")
|
||||
public EnumNumberEnum getEnumNumber() {
|
||||
return enumNumber;
|
||||
}
|
||||
@ -167,6 +171,7 @@ public enum EnumNumberEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnum")
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class FormatTest implements Serializable {
|
||||
@ -40,6 +41,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("integer")
|
||||
@Min(10) @Max(100) public Integer getInteger() {
|
||||
return integer;
|
||||
}
|
||||
@ -58,6 +60,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("int32")
|
||||
@Min(20) @Max(200) public Integer getInt32() {
|
||||
return int32;
|
||||
}
|
||||
@ -74,6 +77,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("int64")
|
||||
public Long getInt64() {
|
||||
return int64;
|
||||
}
|
||||
@ -92,6 +96,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("number")
|
||||
@NotNull
|
||||
@DecimalMin("32.1") @DecimalMax("543.2") public BigDecimal getNumber() {
|
||||
return number;
|
||||
@ -111,6 +116,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("float")
|
||||
@DecimalMin("54.3") @DecimalMax("987.6") public Float getFloat() {
|
||||
return _float;
|
||||
}
|
||||
@ -129,6 +135,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("double")
|
||||
@DecimalMin("67.8") @DecimalMax("123.4") public Double getDouble() {
|
||||
return _double;
|
||||
}
|
||||
@ -145,6 +152,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("string")
|
||||
@Pattern(regexp="/[a-z]/i") public String getString() {
|
||||
return string;
|
||||
}
|
||||
@ -161,6 +169,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("byte")
|
||||
@NotNull
|
||||
@Pattern(regexp="^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$") public byte[] getByte() {
|
||||
return _byte;
|
||||
@ -178,6 +187,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("binary")
|
||||
public byte[] getBinary() {
|
||||
return binary;
|
||||
}
|
||||
@ -194,6 +204,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("date")
|
||||
@NotNull
|
||||
public LocalDate getDate() {
|
||||
return date;
|
||||
@ -211,6 +222,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
@ -227,6 +239,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
@ -243,6 +256,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("password")
|
||||
@NotNull
|
||||
@Size(min=10,max=64) public String getPassword() {
|
||||
return password;
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class HasOnlyReadOnly implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class HasOnlyReadOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("bar")
|
||||
public String getBar() {
|
||||
return bar;
|
||||
}
|
||||
@ -39,6 +41,7 @@ public class HasOnlyReadOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("foo")
|
||||
public String getFoo() {
|
||||
return foo;
|
||||
}
|
||||
|
@ -10,6 +10,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class MapTest implements Serializable {
|
||||
@ -57,6 +58,7 @@ public enum InnerEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_of_string")
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
@ -73,6 +75,7 @@ public enum InnerEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_of_enum_string")
|
||||
public Map<String, InnerEnum> getMapOfEnumString() {
|
||||
return mapOfEnumString;
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class MixedPropertiesAndAdditionalPropertiesClass implements Serializable {
|
||||
@ -30,6 +31,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
@ -46,6 +48,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
@ -62,6 +65,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map")
|
||||
public Map<String, Animal> getMap() {
|
||||
return map;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
**/
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@ApiModel(description = "Model for testing model name starting with number")
|
||||
|
||||
public class Model200Response implements Serializable {
|
||||
@ -27,6 +28,7 @@ public class Model200Response implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("name")
|
||||
public Integer getName() {
|
||||
return name;
|
||||
}
|
||||
@ -43,6 +45,7 @@ public class Model200Response implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("class")
|
||||
public String getPropertyClass() {
|
||||
return propertyClass;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ModelApiResponse implements Serializable {
|
||||
@ -24,6 +25,7 @@ public class ModelApiResponse implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("code")
|
||||
public Integer getCode() {
|
||||
return code;
|
||||
}
|
||||
@ -40,6 +42,7 @@ public class ModelApiResponse implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("type")
|
||||
public String getType() {
|
||||
return type;
|
||||
}
|
||||
@ -56,6 +59,7 @@ public class ModelApiResponse implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("message")
|
||||
public String getMessage() {
|
||||
return message;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
**/
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@ApiModel(description = "Model for testing reserved words")
|
||||
|
||||
public class ModelReturn implements Serializable {
|
||||
@ -26,6 +27,7 @@ public class ModelReturn implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("return")
|
||||
public Integer getReturn() {
|
||||
return _return;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
**/
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
@ApiModel(description = "Model for testing model name same as property name")
|
||||
|
||||
public class Name implements Serializable {
|
||||
@ -29,6 +30,7 @@ public class Name implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("name")
|
||||
@NotNull
|
||||
public Integer getName() {
|
||||
return name;
|
||||
@ -46,6 +48,7 @@ public class Name implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("snake_case")
|
||||
public Integer getSnakeCase() {
|
||||
return snakeCase;
|
||||
}
|
||||
@ -62,6 +65,7 @@ public class Name implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("property")
|
||||
public String getProperty() {
|
||||
return property;
|
||||
}
|
||||
@ -78,6 +82,7 @@ public class Name implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("123Number")
|
||||
public Integer get123Number() {
|
||||
return _123Number;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class NumberOnly implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class NumberOnly implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("JustNumber")
|
||||
public BigDecimal getJustNumber() {
|
||||
return justNumber;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Order implements Serializable {
|
||||
@ -59,6 +60,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -75,6 +77,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("petId")
|
||||
public Long getPetId() {
|
||||
return petId;
|
||||
}
|
||||
@ -91,6 +94,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("quantity")
|
||||
public Integer getQuantity() {
|
||||
return quantity;
|
||||
}
|
||||
@ -107,6 +111,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("shipDate")
|
||||
public Date getShipDate() {
|
||||
return shipDate;
|
||||
}
|
||||
@ -124,6 +129,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "Order Status")
|
||||
@JsonProperty("status")
|
||||
public StatusEnum getStatus() {
|
||||
return status;
|
||||
}
|
||||
@ -140,6 +146,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("complete")
|
||||
public Boolean isComplete() {
|
||||
return complete;
|
||||
}
|
||||
|
@ -8,6 +8,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class OuterComposite implements Serializable {
|
||||
@ -25,6 +26,7 @@ public class OuterComposite implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("my_number")
|
||||
public BigDecimal getMyNumber() {
|
||||
return myNumber;
|
||||
}
|
||||
@ -41,6 +43,7 @@ public class OuterComposite implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("my_string")
|
||||
public String getMyString() {
|
||||
return myString;
|
||||
}
|
||||
@ -57,6 +60,7 @@ public class OuterComposite implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("my_boolean")
|
||||
public Boolean getMyBoolean() {
|
||||
return myBoolean;
|
||||
}
|
||||
|
@ -11,6 +11,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Pet implements Serializable {
|
||||
@ -62,6 +63,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -78,6 +80,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("category")
|
||||
public Category getCategory() {
|
||||
return category;
|
||||
}
|
||||
@ -94,6 +97,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(example = "doggie", required = true, value = "")
|
||||
@JsonProperty("name")
|
||||
@NotNull
|
||||
public String getName() {
|
||||
return name;
|
||||
@ -111,6 +115,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("photoUrls")
|
||||
@NotNull
|
||||
public List<String> getPhotoUrls() {
|
||||
return photoUrls;
|
||||
@ -128,6 +133,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("tags")
|
||||
public List<Tag> getTags() {
|
||||
return tags;
|
||||
}
|
||||
@ -145,6 +151,7 @@ public enum StatusEnum {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "pet status in the store")
|
||||
@JsonProperty("status")
|
||||
public StatusEnum getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class ReadOnlyFirst implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class ReadOnlyFirst implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("bar")
|
||||
public String getBar() {
|
||||
return bar;
|
||||
}
|
||||
@ -39,6 +41,7 @@ public class ReadOnlyFirst implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("baz")
|
||||
public String getBaz() {
|
||||
return baz;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class SpecialModelName implements Serializable {
|
||||
@ -22,6 +23,7 @@ public class SpecialModelName implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("$special[property.name]")
|
||||
public Long getSpecialPropertyName() {
|
||||
return specialPropertyName;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class Tag implements Serializable {
|
||||
@ -23,6 +24,7 @@ public class Tag implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -39,6 +41,7 @@ public class Tag implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("name")
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
@ -7,6 +7,7 @@ import javax.validation.Valid;
|
||||
|
||||
import io.swagger.annotations.*;
|
||||
import java.util.Objects;
|
||||
import com.fasterxml.jackson.annotation.JsonProperty;
|
||||
|
||||
|
||||
public class User implements Serializable {
|
||||
@ -29,6 +30,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("id")
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
@ -45,6 +47,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("username")
|
||||
public String getUsername() {
|
||||
return username;
|
||||
}
|
||||
@ -61,6 +64,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("firstName")
|
||||
public String getFirstName() {
|
||||
return firstName;
|
||||
}
|
||||
@ -77,6 +81,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("lastName")
|
||||
public String getLastName() {
|
||||
return lastName;
|
||||
}
|
||||
@ -93,6 +98,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("email")
|
||||
public String getEmail() {
|
||||
return email;
|
||||
}
|
||||
@ -109,6 +115,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("password")
|
||||
public String getPassword() {
|
||||
return password;
|
||||
}
|
||||
@ -125,6 +132,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("phone")
|
||||
public String getPhone() {
|
||||
return phone;
|
||||
}
|
||||
@ -142,6 +150,7 @@ public class User implements Serializable {
|
||||
|
||||
|
||||
@ApiModelProperty(value = "User Status")
|
||||
@JsonProperty("userStatus")
|
||||
public Integer getUserStatus() {
|
||||
return userStatus;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user