[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 { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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:jersey-client:$jersey_version"
compile "com.sun.jersey.contribs:jersey-multipart:$jersey_version" compile "com.sun.jersey.contribs:jersey-multipart:$jersey_version"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version" compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"

View File

@ -133,6 +133,7 @@ ext {
dependencies { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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-core:$feign_version"
compile "io.github.openfeign:feign-jackson:$feign_version" compile "io.github.openfeign:feign-jackson:$feign_version"
compile "io.github.openfeign:feign-slf4j:$feign_version" compile "io.github.openfeign:feign-slf4j:$feign_version"

View File

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

View File

@ -133,6 +133,7 @@ ext {
dependencies { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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 "com.google.api-client:google-api-client:${google_api_client_version}"
compile "org.glassfish.jersey.core:jersey-common:${jersey_common_version}" compile "org.glassfish.jersey.core:jersey-common:${jersey_common_version}"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version" compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"

View File

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

View File

@ -137,6 +137,7 @@ ext {
dependencies { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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.core:jersey-client:$jersey_version"
compile "org.glassfish.jersey.media:jersey-media-multipart:$jersey_version" compile "org.glassfish.jersey.media:jersey-media-multipart:$jersey_version"
compile "org.glassfish.jersey.media:jersey-media-json-jackson:$jersey_version" compile "org.glassfish.jersey.media:jersey-media-json-jackson:$jersey_version"

View File

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

View File

@ -127,6 +127,7 @@ if(hasProperty('target') && target == 'android') {
dependencies { dependencies {
compile 'io.swagger:swagger-annotations:1.5.22' 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:okhttp:3.14.2'
compile 'com.squareup.okhttp3:logging-interceptor:3.14.2' compile 'com.squareup.okhttp3:logging-interceptor:3.14.2'
compile 'com.google.code.gson:gson:2.8.5' compile 'com.google.code.gson:gson:2.8.5'

View File

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

View File

@ -111,6 +111,7 @@ ext {
dependencies { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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.rest-assured:scala-support:$rest_assured_version"
compile "io.gsonfire:gson-fire:$gson_fire_version" compile "io.gsonfire:gson-fire:$gson_fire_version"
{{#joda}} {{#joda}}

View File

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

View File

@ -135,6 +135,7 @@ ext {
dependencies { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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-client:$resteasy_version"
compile "org.jboss.resteasy:resteasy-multipart-provider:$resteasy_version" compile "org.jboss.resteasy:resteasy-multipart-provider:$resteasy_version"
compile "org.jboss.resteasy:resteasy-jackson2-provider:$resteasy_version" compile "org.jboss.resteasy:resteasy-jackson2-provider:$resteasy_version"

View File

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

View File

@ -132,6 +132,7 @@ ext {
dependencies { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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 "org.springframework:spring-web:$spring_web_version"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version" compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"
compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version" compile "com.fasterxml.jackson.core:jackson-annotations:$jackson_version"

View File

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

View File

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

View File

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

View File

@ -166,6 +166,7 @@ dependencies {
compile "io.reactivex.rxjava2:rxjava:$rx_java_version" compile "io.reactivex.rxjava2:rxjava:$rx_java_version"
{{/useRxJava2}} {{/useRxJava2}}
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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"){ compile ("org.apache.oltu.oauth2:org.apache.oltu.oauth2.client:$oltu_version"){
exclude group:'org.apache.oltu.oauth2' , module: 'org.apache.oltu.oauth2.common' exclude group:'org.apache.oltu.oauth2' , module: 'org.apache.oltu.oauth2.common'
} }

View File

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

View File

@ -36,6 +36,7 @@ ext {
dependencies { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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-web-client:$vertx_version"
compile "io.vertx:vertx-rx-java:$vertx_version" compile "io.vertx:vertx-rx-java:$vertx_version"
compile "com.fasterxml.jackson.core:jackson-core:$jackson_version" compile "com.fasterxml.jackson.core:jackson-core:$jackson_version"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -107,6 +107,7 @@ ext {
dependencies { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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-core:$feign_version"
compile "io.github.openfeign:feign-jackson:$feign_version" compile "io.github.openfeign:feign-jackson:$feign_version"
compile "io.github.openfeign:feign-slf4j:$feign_version" compile "io.github.openfeign:feign-slf4j:$feign_version"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -107,6 +107,7 @@ ext {
dependencies { dependencies {
compile "io.swagger:swagger-annotations:$swagger_annotations_version" 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-core:$feign_version"
compile "io.github.openfeign:feign-jackson:$feign_version" compile "io.github.openfeign:feign-jackson:$feign_version"
compile "io.github.openfeign:feign-slf4j:$feign_version" compile "io.github.openfeign:feign-slf4j:$feign_version"

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

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