[Java] add nullable annotation to pojo template for non-required fields (#3409)

* add nullable annotation to pojo template

* add jsr305 dependency

* jsr305 dependency on all java build.gradle files

* jsr305 dependency on all java pom.xml files

* update samples

* more pom updates

* more sample/template updates
This commit is contained in:
kassim 2019-07-25 04:35:18 +02:00 committed by William Cheng
parent a0dd7394ac
commit ee538be964
994 changed files with 3525 additions and 0 deletions

View File

@ -145,6 +145,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "com.sun.jersey:jersey-client:$jersey_version"
compile "com.sun.jersey.contribs:jersey-multipart:$jersey_version"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"

View File

@ -133,6 +133,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "io.github.openfeign:feign-core:$feign_version"
compile "io.github.openfeign:feign-jackson:$feign_version"
compile "io.github.openfeign:feign-slf4j:$feign_version"

View File

@ -199,6 +199,13 @@
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- HTTP client: Netflix Feign -->
<dependency>
<groupId>io.github.openfeign</groupId>

View File

@ -133,6 +133,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "com.google.api-client:google-api-client:${google_api_client_version}"
compile "org.glassfish.jersey.core:jersey-common:${jersey_common_version}"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"

View File

@ -219,6 +219,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- HTTP client: google-api-client -->
<dependency>
<groupId>com.google.api-client</groupId>

View File

@ -137,6 +137,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "org.glassfish.jersey.core:jersey-client:$jersey_version"
compile "org.glassfish.jersey.media:jersey-media-multipart:$jersey_version"
compile "org.glassfish.jersey.media:jersey-media-json-jackson:$jersey_version"

View File

@ -229,6 +229,13 @@
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- HTTP client: jersey-client -->
<dependency>
<groupId>org.glassfish.jersey.core</groupId>

View File

@ -127,6 +127,7 @@ if(hasProperty('target') && target == 'android') {
dependencies {
compile 'io.swagger:swagger-annotations:1.5.22'
compile "com.google.code.findbugs:jsr305:3.0.2"
compile 'com.squareup.okhttp3:okhttp:3.14.2'
compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
compile 'com.google.code.gson:gson:2.8.5'

View File

@ -207,6 +207,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-core-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>

View File

@ -111,6 +111,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "io.rest-assured:scala-support:$rest_assured_version"
compile "io.gsonfire:gson-fire:$gson_fire_version"
{{#joda}}

View File

@ -206,6 +206,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>io.rest-assured</groupId>
<artifactId>rest-assured</artifactId>

View File

@ -135,6 +135,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "org.jboss.resteasy:resteasy-client:$resteasy_version"
compile "org.jboss.resteasy:resteasy-multipart-provider:$resteasy_version"
compile "org.jboss.resteasy:resteasy-jackson2-provider:$resteasy_version"

View File

@ -179,6 +179,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- HTTP client: jersey-client -->
<dependency>
<groupId>org.jboss.resteasy</groupId>

View File

@ -132,6 +132,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "org.springframework:spring-web:$spring_web_version"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"

View File

@ -219,6 +219,13 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- HTTP client: Spring RestTemplate -->
<dependency>

View File

@ -120,6 +120,7 @@ ext {
dependencies {
compile "com.squareup.okhttp:okhttp:$okhttp_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "com.squareup.retrofit:retrofit:$retrofit_version"
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"

View File

@ -219,6 +219,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit</groupId>
<artifactId>retrofit</artifactId>

View File

@ -166,6 +166,7 @@ dependencies {
compile "io.reactivex.rxjava2:rxjava:$rx_java_version"
{{/useRxJava2}}
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"){
exclude group:'org.apache.oltu.oauth2' , module: 'org.apache.oltu.oauth2.common'
}

View File

@ -198,6 +198,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.squareup.retrofit2</groupId>
<artifactId>converter-gson</artifactId>

View File

@ -36,6 +36,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "io.vertx:vertx-web-client:$vertx_version"
compile "io.vertx:vertx-rx-java:$vertx_version"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"

View File

@ -208,6 +208,13 @@
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- Vertx -->
<dependency>
<groupId>io.vertx</groupId>

View File

@ -72,6 +72,13 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>

View File

@ -129,6 +129,7 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#parcela
{{/maximum}}
* @return {{name}}
**/
{{^required}} @javax.annotation.Nullable {{/required}}
{{#useBeanValidation}}{{>beanValidation}}{{/useBeanValidation}} @ApiModelProperty({{#example}}example = "{{{example}}}", {{/example}}{{#required}}required = {{required}}, {{/required}}value = "{{{description}}}")
{{#vendorExtensions.extraAnnotation}}
{{{vendorExtensions.extraAnnotation}}}

View File

@ -220,6 +220,14 @@
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- HTTP client: jersey-client -->
<dependency>
<groupId>com.sun.jersey</groupId>

View File

@ -77,6 +77,13 @@
<version>[1.5.3,1.5.16]</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
{{#useBeanValidation}}
<!-- Bean Validation API support -->
<dependency>

View File

@ -71,6 +71,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-core-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>

View File

@ -88,6 +88,12 @@
<version>1.5.3</version>
</dependency>
{{/useSwaggerAnnotations}}
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>

View File

@ -111,6 +111,12 @@
<artifactId>swagger-annotations</artifactId>
<version>1.5.14</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>

View File

@ -47,6 +47,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-core-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-starter-openfeign</artifactId>

View File

@ -177,6 +177,12 @@
<artifactId>swagger-annotations</artifactId>
<version>1.5.14</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>

View File

@ -11,6 +11,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpcore</artifactId>

View File

@ -131,6 +131,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-core-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>

View File

@ -108,6 +108,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${version.swagger}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- Test Dependencies -->
<dependency>

View File

@ -105,6 +105,12 @@
<version>1.5.21</version>
</dependency>
{{/swaggerAnnotations}}
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-yaml</artifactId>

View File

@ -131,6 +131,12 @@
<artifactId>swagger-annotations</artifactId>
<version>${swagger-core-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>

View File

@ -107,6 +107,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "io.github.openfeign:feign-core:$feign_version"
compile "io.github.openfeign:feign-jackson:$feign_version"
compile "io.github.openfeign:feign-slf4j:$feign_version"

View File

@ -192,6 +192,13 @@
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- HTTP client: Netflix Feign -->
<dependency>
<groupId>io.github.openfeign</groupId>

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -41,6 +41,7 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -80,6 +80,7 @@ public class AdditionalPropertiesClass {
* Get mapString
* @return mapString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, String> getMapString() {
return mapString;
@ -106,6 +107,7 @@ public class AdditionalPropertiesClass {
* Get mapNumber
* @return mapNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, BigDecimal> getMapNumber() {
return mapNumber;
@ -132,6 +134,7 @@ public class AdditionalPropertiesClass {
* Get mapInteger
* @return mapInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Integer> getMapInteger() {
return mapInteger;
@ -158,6 +161,7 @@ public class AdditionalPropertiesClass {
* Get mapBoolean
* @return mapBoolean
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Boolean> getMapBoolean() {
return mapBoolean;
@ -184,6 +188,7 @@ public class AdditionalPropertiesClass {
* Get mapArrayInteger
* @return mapArrayInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, List<Integer>> getMapArrayInteger() {
return mapArrayInteger;
@ -210,6 +215,7 @@ public class AdditionalPropertiesClass {
* Get mapArrayAnytype
* @return mapArrayAnytype
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, List<Object>> getMapArrayAnytype() {
return mapArrayAnytype;
@ -236,6 +242,7 @@ public class AdditionalPropertiesClass {
* Get mapMapString
* @return mapMapString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Map<String, String>> getMapMapString() {
return mapMapString;
@ -262,6 +269,7 @@ public class AdditionalPropertiesClass {
* Get mapMapAnytype
* @return mapMapAnytype
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Map<String, Object>> getMapMapAnytype() {
return mapMapAnytype;
@ -280,6 +288,7 @@ public class AdditionalPropertiesClass {
* Get anytype1
* @return anytype1
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Object getAnytype1() {
return anytype1;
@ -298,6 +307,7 @@ public class AdditionalPropertiesClass {
* Get anytype2
* @return anytype2
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Object getAnytype2() {
return anytype2;
@ -316,6 +326,7 @@ public class AdditionalPropertiesClass {
* Get anytype3
* @return anytype3
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Object getAnytype3() {
return anytype3;

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -41,6 +41,7 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -49,6 +49,7 @@ public class Animal {
* Get className
* @return className
**/
@ApiModelProperty(required = true, value = "")
public String getClassName() {
return className;
@ -67,6 +68,7 @@ public class Animal {
* Get color
* @return color
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getColor() {
return color;

View File

@ -49,6 +49,7 @@ public class ArrayOfArrayOfNumberOnly {
* Get arrayArrayNumber
* @return arrayArrayNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<List<BigDecimal>> getArrayArrayNumber() {
return arrayArrayNumber;

View File

@ -49,6 +49,7 @@ public class ArrayOfNumberOnly {
* Get arrayNumber
* @return arrayNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<BigDecimal> getArrayNumber() {
return arrayNumber;

View File

@ -55,6 +55,7 @@ public class ArrayTest {
* Get arrayOfString
* @return arrayOfString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<String> getArrayOfString() {
return arrayOfString;
@ -81,6 +82,7 @@ public class ArrayTest {
* Get arrayArrayOfInteger
* @return arrayArrayOfInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<List<Long>> getArrayArrayOfInteger() {
return arrayArrayOfInteger;
@ -107,6 +109,7 @@ public class ArrayTest {
* Get arrayArrayOfModel
* @return arrayArrayOfModel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
return arrayArrayOfModel;

View File

@ -53,6 +53,7 @@ public class Capitalization {
* Get smallCamel
* @return smallCamel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getSmallCamel() {
return smallCamel;
@ -71,6 +72,7 @@ public class Capitalization {
* Get capitalCamel
* @return capitalCamel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getCapitalCamel() {
return capitalCamel;
@ -89,6 +91,7 @@ public class Capitalization {
* Get smallSnake
* @return smallSnake
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getSmallSnake() {
return smallSnake;
@ -107,6 +110,7 @@ public class Capitalization {
* Get capitalSnake
* @return capitalSnake
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getCapitalSnake() {
return capitalSnake;
@ -125,6 +129,7 @@ public class Capitalization {
* Get scAETHFlowPoints
* @return scAETHFlowPoints
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getScAETHFlowPoints() {
return scAETHFlowPoints;
@ -143,6 +148,7 @@ public class Capitalization {
* Name of the pet
* @return ATT_NAME
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Name of the pet ")
public String getATTNAME() {
return ATT_NAME;

View File

@ -40,6 +40,7 @@ public class Cat extends Animal {
* Get declawed
* @return declawed
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean isDeclawed() {
return declawed;

View File

@ -38,6 +38,7 @@ public class CatAllOf {
* Get declawed
* @return declawed
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean isDeclawed() {
return declawed;

View File

@ -41,6 +41,7 @@ public class Category {
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
@ -59,6 +60,7 @@ public class Category {
* Get name
* @return name
**/
@ApiModelProperty(required = true, value = "")
public String getName() {
return name;

View File

@ -39,6 +39,7 @@ public class ClassModel {
* Get propertyClass
* @return propertyClass
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPropertyClass() {
return propertyClass;

View File

@ -38,6 +38,7 @@ public class Client {
* Get client
* @return client
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getClient() {
return client;

View File

@ -40,6 +40,7 @@ public class Dog extends Animal {
* Get breed
* @return breed
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBreed() {
return breed;

View File

@ -38,6 +38,7 @@ public class DogAllOf {
* Get breed
* @return breed
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBreed() {
return breed;

View File

@ -113,6 +113,7 @@ public class EnumArrays {
* Get justSymbol
* @return justSymbol
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public JustSymbolEnum getJustSymbol() {
return justSymbol;
@ -139,6 +140,7 @@ public class EnumArrays {
* Get arrayEnum
* @return arrayEnum
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<ArrayEnumEnum> getArrayEnum() {
return arrayEnum;

View File

@ -195,6 +195,7 @@ public class EnumTest {
* Get enumString
* @return enumString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EnumStringEnum getEnumString() {
return enumString;
@ -213,6 +214,7 @@ public class EnumTest {
* Get enumStringRequired
* @return enumStringRequired
**/
@ApiModelProperty(required = true, value = "")
public EnumStringRequiredEnum getEnumStringRequired() {
return enumStringRequired;
@ -231,6 +233,7 @@ public class EnumTest {
* Get enumInteger
* @return enumInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EnumIntegerEnum getEnumInteger() {
return enumInteger;
@ -249,6 +252,7 @@ public class EnumTest {
* Get enumNumber
* @return enumNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public EnumNumberEnum getEnumNumber() {
return enumNumber;
@ -267,6 +271,7 @@ public class EnumTest {
* Get outerEnum
* @return outerEnum
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OuterEnum getOuterEnum() {
return outerEnum;

View File

@ -43,6 +43,7 @@ public class FileSchemaTestClass {
* Get file
* @return file
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public java.io.File getFile() {
return file;
@ -69,6 +70,7 @@ public class FileSchemaTestClass {
* Get files
* @return files
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<java.io.File> getFiles() {
return files;

View File

@ -81,6 +81,7 @@ public class FormatTest {
* maximum: 100
* @return integer
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getInteger() {
return integer;
@ -101,6 +102,7 @@ public class FormatTest {
* maximum: 200
* @return int32
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getInt32() {
return int32;
@ -119,6 +121,7 @@ public class FormatTest {
* Get int64
* @return int64
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getInt64() {
return int64;
@ -139,6 +142,7 @@ public class FormatTest {
* maximum: 543.2
* @return number
**/
@ApiModelProperty(required = true, value = "")
public BigDecimal getNumber() {
return number;
@ -159,6 +163,7 @@ public class FormatTest {
* maximum: 987.6
* @return _float
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Float getFloat() {
return _float;
@ -179,6 +184,7 @@ public class FormatTest {
* maximum: 123.4
* @return _double
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Double getDouble() {
return _double;
@ -197,6 +203,7 @@ public class FormatTest {
* Get string
* @return string
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getString() {
return string;
@ -215,6 +222,7 @@ public class FormatTest {
* Get _byte
* @return _byte
**/
@ApiModelProperty(required = true, value = "")
public byte[] getByte() {
return _byte;
@ -233,6 +241,7 @@ public class FormatTest {
* Get binary
* @return binary
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public File getBinary() {
return binary;
@ -251,6 +260,7 @@ public class FormatTest {
* Get date
* @return date
**/
@ApiModelProperty(required = true, value = "")
public LocalDate getDate() {
return date;
@ -269,6 +279,7 @@ public class FormatTest {
* Get dateTime
* @return dateTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OffsetDateTime getDateTime() {
return dateTime;
@ -287,6 +298,7 @@ public class FormatTest {
* Get uuid
* @return uuid
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
public UUID getUuid() {
return uuid;
@ -305,6 +317,7 @@ public class FormatTest {
* Get password
* @return password
**/
@ApiModelProperty(required = true, value = "")
public String getPassword() {
return password;

View File

@ -36,6 +36,7 @@ public class HasOnlyReadOnly {
* Get bar
* @return bar
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBar() {
return bar;
@ -45,6 +46,7 @@ public class HasOnlyReadOnly {
* Get foo
* @return foo
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getFoo() {
return foo;

View File

@ -93,6 +93,7 @@ public class MapTest {
* Get mapMapOfString
* @return mapMapOfString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Map<String, String>> getMapMapOfString() {
return mapMapOfString;
@ -119,6 +120,7 @@ public class MapTest {
* Get mapOfEnumString
* @return mapOfEnumString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, InnerEnum> getMapOfEnumString() {
return mapOfEnumString;
@ -145,6 +147,7 @@ public class MapTest {
* Get directMap
* @return directMap
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Boolean> getDirectMap() {
return directMap;
@ -171,6 +174,7 @@ public class MapTest {
* Get indirectMap
* @return indirectMap
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Boolean> getIndirectMap() {
return indirectMap;

View File

@ -50,6 +50,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
* Get uuid
* @return uuid
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public UUID getUuid() {
return uuid;
@ -68,6 +69,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
* Get dateTime
* @return dateTime
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OffsetDateTime getDateTime() {
return dateTime;
@ -94,6 +96,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass {
* Get map
* @return map
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Animal> getMap() {
return map;

View File

@ -42,6 +42,7 @@ public class Model200Response {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getName() {
return name;
@ -60,6 +61,7 @@ public class Model200Response {
* Get propertyClass
* @return propertyClass
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPropertyClass() {
return propertyClass;

View File

@ -44,6 +44,7 @@ public class ModelApiResponse {
* Get code
* @return code
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getCode() {
return code;
@ -62,6 +63,7 @@ public class ModelApiResponse {
* Get type
* @return type
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getType() {
return type;
@ -80,6 +82,7 @@ public class ModelApiResponse {
* Get message
* @return message
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getMessage() {
return message;

View File

@ -39,6 +39,7 @@ public class ModelReturn {
* Get _return
* @return _return
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getReturn() {
return _return;

View File

@ -48,6 +48,7 @@ public class Name {
* Get name
* @return name
**/
@ApiModelProperty(required = true, value = "")
public Integer getName() {
return name;
@ -61,6 +62,7 @@ public class Name {
* Get snakeCase
* @return snakeCase
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getSnakeCase() {
return snakeCase;
@ -75,6 +77,7 @@ public class Name {
* Get property
* @return property
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getProperty() {
return property;
@ -88,6 +91,7 @@ public class Name {
* Get _123number
* @return _123number
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer get123number() {
return _123number;

View File

@ -39,6 +39,7 @@ public class NumberOnly {
* Get justNumber
* @return justNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BigDecimal getJustNumber() {
return justNumber;

View File

@ -91,6 +91,7 @@ public class Order {
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
@ -109,6 +110,7 @@ public class Order {
* Get petId
* @return petId
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getPetId() {
return petId;
@ -127,6 +129,7 @@ public class Order {
* Get quantity
* @return quantity
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Integer getQuantity() {
return quantity;
@ -145,6 +148,7 @@ public class Order {
* Get shipDate
* @return shipDate
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public OffsetDateTime getShipDate() {
return shipDate;
@ -163,6 +167,7 @@ public class Order {
* Order Status
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Order Status")
public StatusEnum getStatus() {
return status;
@ -181,6 +186,7 @@ public class Order {
* Get complete
* @return complete
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean isComplete() {
return complete;

View File

@ -45,6 +45,7 @@ public class OuterComposite {
* Get myNumber
* @return myNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public BigDecimal getMyNumber() {
return myNumber;
@ -63,6 +64,7 @@ public class OuterComposite {
* Get myString
* @return myString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getMyString() {
return myString;
@ -81,6 +83,7 @@ public class OuterComposite {
* Get myBoolean
* @return myBoolean
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean isMyBoolean() {
return myBoolean;

View File

@ -94,6 +94,7 @@ public class Pet {
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
@ -112,6 +113,7 @@ public class Pet {
* Get category
* @return category
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Category getCategory() {
return category;
@ -130,6 +132,7 @@ public class Pet {
* Get name
* @return name
**/
@ApiModelProperty(example = "doggie", required = true, value = "")
public String getName() {
return name;
@ -153,6 +156,7 @@ public class Pet {
* Get photoUrls
* @return photoUrls
**/
@ApiModelProperty(required = true, value = "")
public List<String> getPhotoUrls() {
return photoUrls;
@ -179,6 +183,7 @@ public class Pet {
* Get tags
* @return tags
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Tag> getTags() {
return tags;
@ -197,6 +202,7 @@ public class Pet {
* pet status in the store
* @return status
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "pet status in the store")
public StatusEnum getStatus() {
return status;

View File

@ -36,6 +36,7 @@ public class ReadOnlyFirst {
* Get bar
* @return bar
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBar() {
return bar;
@ -50,6 +51,7 @@ public class ReadOnlyFirst {
* Get baz
* @return baz
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBaz() {
return baz;

View File

@ -38,6 +38,7 @@ public class SpecialModelName {
* Get $specialPropertyName
* @return $specialPropertyName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long get$SpecialPropertyName() {
return $specialPropertyName;

View File

@ -41,6 +41,7 @@ public class Tag {
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
@ -59,6 +60,7 @@ public class Tag {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -53,6 +53,7 @@ public class TypeHolderDefault {
* Get stringItem
* @return stringItem
**/
@ApiModelProperty(required = true, value = "")
public String getStringItem() {
return stringItem;
@ -71,6 +72,7 @@ public class TypeHolderDefault {
* Get numberItem
* @return numberItem
**/
@ApiModelProperty(required = true, value = "")
public BigDecimal getNumberItem() {
return numberItem;
@ -89,6 +91,7 @@ public class TypeHolderDefault {
* Get integerItem
* @return integerItem
**/
@ApiModelProperty(required = true, value = "")
public Integer getIntegerItem() {
return integerItem;
@ -107,6 +110,7 @@ public class TypeHolderDefault {
* Get boolItem
* @return boolItem
**/
@ApiModelProperty(required = true, value = "")
public Boolean isBoolItem() {
return boolItem;
@ -130,6 +134,7 @@ public class TypeHolderDefault {
* Get arrayItem
* @return arrayItem
**/
@ApiModelProperty(required = true, value = "")
public List<Integer> getArrayItem() {
return arrayItem;

View File

@ -53,6 +53,7 @@ public class TypeHolderExample {
* Get stringItem
* @return stringItem
**/
@ApiModelProperty(example = "what", required = true, value = "")
public String getStringItem() {
return stringItem;
@ -71,6 +72,7 @@ public class TypeHolderExample {
* Get numberItem
* @return numberItem
**/
@ApiModelProperty(example = "1.234", required = true, value = "")
public BigDecimal getNumberItem() {
return numberItem;
@ -89,6 +91,7 @@ public class TypeHolderExample {
* Get integerItem
* @return integerItem
**/
@ApiModelProperty(example = "-2", required = true, value = "")
public Integer getIntegerItem() {
return integerItem;
@ -107,6 +110,7 @@ public class TypeHolderExample {
* Get boolItem
* @return boolItem
**/
@ApiModelProperty(example = "true", required = true, value = "")
public Boolean isBoolItem() {
return boolItem;
@ -130,6 +134,7 @@ public class TypeHolderExample {
* Get arrayItem
* @return arrayItem
**/
@ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "")
public List<Integer> getArrayItem() {
return arrayItem;

View File

@ -59,6 +59,7 @@ public class User {
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
@ -77,6 +78,7 @@ public class User {
* Get username
* @return username
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getUsername() {
return username;
@ -95,6 +97,7 @@ public class User {
* Get firstName
* @return firstName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getFirstName() {
return firstName;
@ -113,6 +116,7 @@ public class User {
* Get lastName
* @return lastName
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getLastName() {
return lastName;
@ -131,6 +135,7 @@ public class User {
* Get email
* @return email
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getEmail() {
return email;
@ -149,6 +154,7 @@ public class User {
* Get password
* @return password
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPassword() {
return password;
@ -167,6 +173,7 @@ public class User {
* Get phone
* @return phone
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPhone() {
return phone;
@ -185,6 +192,7 @@ public class User {
* User Status
* @return userStatus
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "User Status")
public Integer getUserStatus() {
return userStatus;

View File

@ -125,6 +125,7 @@ public class XmlItem {
* Get attributeString
* @return attributeString
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getAttributeString() {
return attributeString;
@ -143,6 +144,7 @@ public class XmlItem {
* Get attributeNumber
* @return attributeNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getAttributeNumber() {
return attributeNumber;
@ -161,6 +163,7 @@ public class XmlItem {
* Get attributeInteger
* @return attributeInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getAttributeInteger() {
return attributeInteger;
@ -179,6 +182,7 @@ public class XmlItem {
* Get attributeBoolean
* @return attributeBoolean
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean isAttributeBoolean() {
return attributeBoolean;
@ -205,6 +209,7 @@ public class XmlItem {
* Get wrappedArray
* @return wrappedArray
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getWrappedArray() {
return wrappedArray;
@ -223,6 +228,7 @@ public class XmlItem {
* Get nameString
* @return nameString
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getNameString() {
return nameString;
@ -241,6 +247,7 @@ public class XmlItem {
* Get nameNumber
* @return nameNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getNameNumber() {
return nameNumber;
@ -259,6 +266,7 @@ public class XmlItem {
* Get nameInteger
* @return nameInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getNameInteger() {
return nameInteger;
@ -277,6 +285,7 @@ public class XmlItem {
* Get nameBoolean
* @return nameBoolean
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean isNameBoolean() {
return nameBoolean;
@ -303,6 +312,7 @@ public class XmlItem {
* Get nameArray
* @return nameArray
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getNameArray() {
return nameArray;
@ -329,6 +339,7 @@ public class XmlItem {
* Get nameWrappedArray
* @return nameWrappedArray
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getNameWrappedArray() {
return nameWrappedArray;
@ -347,6 +358,7 @@ public class XmlItem {
* Get prefixString
* @return prefixString
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getPrefixString() {
return prefixString;
@ -365,6 +377,7 @@ public class XmlItem {
* Get prefixNumber
* @return prefixNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getPrefixNumber() {
return prefixNumber;
@ -383,6 +396,7 @@ public class XmlItem {
* Get prefixInteger
* @return prefixInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getPrefixInteger() {
return prefixInteger;
@ -401,6 +415,7 @@ public class XmlItem {
* Get prefixBoolean
* @return prefixBoolean
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean isPrefixBoolean() {
return prefixBoolean;
@ -427,6 +442,7 @@ public class XmlItem {
* Get prefixArray
* @return prefixArray
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getPrefixArray() {
return prefixArray;
@ -453,6 +469,7 @@ public class XmlItem {
* Get prefixWrappedArray
* @return prefixWrappedArray
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getPrefixWrappedArray() {
return prefixWrappedArray;
@ -471,6 +488,7 @@ public class XmlItem {
* Get namespaceString
* @return namespaceString
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getNamespaceString() {
return namespaceString;
@ -489,6 +507,7 @@ public class XmlItem {
* Get namespaceNumber
* @return namespaceNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getNamespaceNumber() {
return namespaceNumber;
@ -507,6 +526,7 @@ public class XmlItem {
* Get namespaceInteger
* @return namespaceInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getNamespaceInteger() {
return namespaceInteger;
@ -525,6 +545,7 @@ public class XmlItem {
* Get namespaceBoolean
* @return namespaceBoolean
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean isNamespaceBoolean() {
return namespaceBoolean;
@ -551,6 +572,7 @@ public class XmlItem {
* Get namespaceArray
* @return namespaceArray
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getNamespaceArray() {
return namespaceArray;
@ -577,6 +599,7 @@ public class XmlItem {
* Get namespaceWrappedArray
* @return namespaceWrappedArray
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getNamespaceWrappedArray() {
return namespaceWrappedArray;
@ -595,6 +618,7 @@ public class XmlItem {
* Get prefixNsString
* @return prefixNsString
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "string", value = "")
public String getPrefixNsString() {
return prefixNsString;
@ -613,6 +637,7 @@ public class XmlItem {
* Get prefixNsNumber
* @return prefixNsNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "1.234", value = "")
public BigDecimal getPrefixNsNumber() {
return prefixNsNumber;
@ -631,6 +656,7 @@ public class XmlItem {
* Get prefixNsInteger
* @return prefixNsInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "-2", value = "")
public Integer getPrefixNsInteger() {
return prefixNsInteger;
@ -649,6 +675,7 @@ public class XmlItem {
* Get prefixNsBoolean
* @return prefixNsBoolean
**/
@javax.annotation.Nullable
@ApiModelProperty(example = "true", value = "")
public Boolean isPrefixNsBoolean() {
return prefixNsBoolean;
@ -675,6 +702,7 @@ public class XmlItem {
* Get prefixNsArray
* @return prefixNsArray
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getPrefixNsArray() {
return prefixNsArray;
@ -701,6 +729,7 @@ public class XmlItem {
* Get prefixNsWrappedArray
* @return prefixNsWrappedArray
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<Integer> getPrefixNsWrappedArray() {
return prefixNsWrappedArray;

View File

@ -107,6 +107,7 @@ ext {
dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version"
compile "com.google.code.findbugs:jsr305:3.0.2"
compile "io.github.openfeign:feign-core:$feign_version"
compile "io.github.openfeign:feign-jackson:$feign_version"
compile "io.github.openfeign:feign-slf4j:$feign_version"

View File

@ -192,6 +192,13 @@
<version>${swagger-annotations-version}</version>
</dependency>
<!-- @Nullable annotation -->
<dependency>
<groupId>com.google.code.findbugs</groupId>
<artifactId>jsr305</artifactId>
<version>3.0.2</version>
</dependency>
<!-- HTTP client: Netflix Feign -->
<dependency>
<groupId>io.github.openfeign</groupId>

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesAnyType extends HashMap<String, Object> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -41,6 +41,7 @@ public class AdditionalPropertiesArray extends HashMap<String, List> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesBoolean extends HashMap<String, Boolean> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -80,6 +80,7 @@ public class AdditionalPropertiesClass {
* Get mapString
* @return mapString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, String> getMapString() {
return mapString;
@ -106,6 +107,7 @@ public class AdditionalPropertiesClass {
* Get mapNumber
* @return mapNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, BigDecimal> getMapNumber() {
return mapNumber;
@ -132,6 +134,7 @@ public class AdditionalPropertiesClass {
* Get mapInteger
* @return mapInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Integer> getMapInteger() {
return mapInteger;
@ -158,6 +161,7 @@ public class AdditionalPropertiesClass {
* Get mapBoolean
* @return mapBoolean
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Boolean> getMapBoolean() {
return mapBoolean;
@ -184,6 +188,7 @@ public class AdditionalPropertiesClass {
* Get mapArrayInteger
* @return mapArrayInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, List<Integer>> getMapArrayInteger() {
return mapArrayInteger;
@ -210,6 +215,7 @@ public class AdditionalPropertiesClass {
* Get mapArrayAnytype
* @return mapArrayAnytype
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, List<Object>> getMapArrayAnytype() {
return mapArrayAnytype;
@ -236,6 +242,7 @@ public class AdditionalPropertiesClass {
* Get mapMapString
* @return mapMapString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Map<String, String>> getMapMapString() {
return mapMapString;
@ -262,6 +269,7 @@ public class AdditionalPropertiesClass {
* Get mapMapAnytype
* @return mapMapAnytype
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Map<String, Map<String, Object>> getMapMapAnytype() {
return mapMapAnytype;
@ -280,6 +288,7 @@ public class AdditionalPropertiesClass {
* Get anytype1
* @return anytype1
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Object getAnytype1() {
return anytype1;
@ -298,6 +307,7 @@ public class AdditionalPropertiesClass {
* Get anytype2
* @return anytype2
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Object getAnytype2() {
return anytype2;
@ -316,6 +326,7 @@ public class AdditionalPropertiesClass {
* Get anytype3
* @return anytype3
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Object getAnytype3() {
return anytype3;

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesInteger extends HashMap<String, Integer> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -41,6 +41,7 @@ public class AdditionalPropertiesNumber extends HashMap<String, BigDecimal> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesObject extends HashMap<String, Map> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -40,6 +40,7 @@ public class AdditionalPropertiesString extends HashMap<String, String> {
* Get name
* @return name
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getName() {
return name;

View File

@ -49,6 +49,7 @@ public class Animal {
* Get className
* @return className
**/
@ApiModelProperty(required = true, value = "")
public String getClassName() {
return className;
@ -67,6 +68,7 @@ public class Animal {
* Get color
* @return color
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getColor() {
return color;

View File

@ -49,6 +49,7 @@ public class ArrayOfArrayOfNumberOnly {
* Get arrayArrayNumber
* @return arrayArrayNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<List<BigDecimal>> getArrayArrayNumber() {
return arrayArrayNumber;

View File

@ -49,6 +49,7 @@ public class ArrayOfNumberOnly {
* Get arrayNumber
* @return arrayNumber
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<BigDecimal> getArrayNumber() {
return arrayNumber;

View File

@ -55,6 +55,7 @@ public class ArrayTest {
* Get arrayOfString
* @return arrayOfString
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<String> getArrayOfString() {
return arrayOfString;
@ -81,6 +82,7 @@ public class ArrayTest {
* Get arrayArrayOfInteger
* @return arrayArrayOfInteger
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<List<Long>> getArrayArrayOfInteger() {
return arrayArrayOfInteger;
@ -107,6 +109,7 @@ public class ArrayTest {
* Get arrayArrayOfModel
* @return arrayArrayOfModel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public List<List<ReadOnlyFirst>> getArrayArrayOfModel() {
return arrayArrayOfModel;

View File

@ -53,6 +53,7 @@ public class Capitalization {
* Get smallCamel
* @return smallCamel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getSmallCamel() {
return smallCamel;
@ -71,6 +72,7 @@ public class Capitalization {
* Get capitalCamel
* @return capitalCamel
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getCapitalCamel() {
return capitalCamel;
@ -89,6 +91,7 @@ public class Capitalization {
* Get smallSnake
* @return smallSnake
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getSmallSnake() {
return smallSnake;
@ -107,6 +110,7 @@ public class Capitalization {
* Get capitalSnake
* @return capitalSnake
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getCapitalSnake() {
return capitalSnake;
@ -125,6 +129,7 @@ public class Capitalization {
* Get scAETHFlowPoints
* @return scAETHFlowPoints
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getScAETHFlowPoints() {
return scAETHFlowPoints;
@ -143,6 +148,7 @@ public class Capitalization {
* Name of the pet
* @return ATT_NAME
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "Name of the pet ")
public String getATTNAME() {
return ATT_NAME;

View File

@ -40,6 +40,7 @@ public class Cat extends Animal {
* Get declawed
* @return declawed
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean isDeclawed() {
return declawed;

View File

@ -38,6 +38,7 @@ public class CatAllOf {
* Get declawed
* @return declawed
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Boolean isDeclawed() {
return declawed;

View File

@ -41,6 +41,7 @@ public class Category {
* Get id
* @return id
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public Long getId() {
return id;
@ -59,6 +60,7 @@ public class Category {
* Get name
* @return name
**/
@ApiModelProperty(required = true, value = "")
public String getName() {
return name;

View File

@ -39,6 +39,7 @@ public class ClassModel {
* Get propertyClass
* @return propertyClass
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getPropertyClass() {
return propertyClass;

View File

@ -38,6 +38,7 @@ public class Client {
* Get client
* @return client
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getClient() {
return client;

View File

@ -40,6 +40,7 @@ public class Dog extends Animal {
* Get breed
* @return breed
**/
@javax.annotation.Nullable
@ApiModelProperty(value = "")
public String getBreed() {
return breed;

Some files were not shown because too many files have changed in this diff Show More