diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pojo.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pojo.mustache index 1f6b2b9e3d..9a4c6dd3c9 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/jersey2/pojo.mustache @@ -200,6 +200,9 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE {{#isNullable}} @javax.annotation.Nullable {{/isNullable}} +{{^isNullable}} + @javax.annotation.Nonnull +{{/isNullable}} {{/required}} {{^required}} @javax.annotation.Nullable diff --git a/modules/openapi-generator/src/main/resources/Java/libraries/native/pojo.mustache b/modules/openapi-generator/src/main/resources/Java/libraries/native/pojo.mustache index e36d13128f..e1350909a5 100644 --- a/modules/openapi-generator/src/main/resources/Java/libraries/native/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/Java/libraries/native/pojo.mustache @@ -203,6 +203,9 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE {{#isNullable}} @javax.annotation.Nullable {{/isNullable}} +{{^isNullable}} + @javax.annotation.Nonnull +{{/isNullable}} {{/required}} {{^required}} @javax.annotation.Nullable diff --git a/modules/openapi-generator/src/main/resources/Java/pojo.mustache b/modules/openapi-generator/src/main/resources/Java/pojo.mustache index 552099e035..6590b93824 100644 --- a/modules/openapi-generator/src/main/resources/Java/pojo.mustache +++ b/modules/openapi-generator/src/main/resources/Java/pojo.mustache @@ -183,6 +183,9 @@ public class {{classname}} {{#parent}}extends {{{parent}}} {{/parent}}{{#vendorE {{#isNullable}} @javax.annotation.Nullable {{/isNullable}} +{{^isNullable}} + @javax.annotation.Nonnull +{{/isNullable}} {{/required}} {{^required}} @javax.annotation.Nullable diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Animal.java index db639d7cbd..ebca3e354f 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Animal.java @@ -64,6 +64,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Category.java index bfd3e15195..efd5ea13ed 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Category.java @@ -79,6 +79,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java index c0fd5db653..f76f3f6ed9 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java @@ -236,6 +236,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java index bc0dd2935b..dd073c836b 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java @@ -192,6 +192,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -303,6 +304,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -356,6 +358,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -436,6 +439,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Name.java index 7b295dd557..32accadf05 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Name.java @@ -61,6 +61,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Pet.java index a05539f390..424810c32a 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/Pet.java @@ -165,6 +165,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -196,6 +197,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index cef1c000f7..3f58df79ac 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -67,6 +67,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -93,6 +94,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -119,6 +121,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -145,6 +148,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -176,6 +180,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 4b133e10ea..e47697f908 100644 --- a/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/feign-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -71,6 +71,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -97,6 +98,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -123,6 +125,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -149,6 +152,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -175,6 +179,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -206,6 +211,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Animal.java index ad0c77f2e4..d0d552a67c 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Category.java index 32f72e70f3..2ad7565657 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumTest.java index 38f47d5621..9bc0f04954 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java index edc70d7127..a9de30415e 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/FormatTest.java @@ -191,6 +191,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -302,6 +303,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -355,6 +357,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -435,6 +438,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Name.java index 9cbe59380f..1008db032e 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Name.java @@ -60,6 +60,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Pet.java index 3b5363bdd4..a4fc4172ab 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -195,6 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index b40b6f0ecf..79c524a87e 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -66,6 +66,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -144,6 +147,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -175,6 +179,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TypeHolderExample.java index c7ccb2fc2d..0ca2e109b3 100644 --- a/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/feign/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -70,6 +70,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -148,6 +151,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -174,6 +178,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,6 +210,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Animal.java index ad0c77f2e4..d0d552a67c 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Category.java index 32f72e70f3..2ad7565657 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumTest.java index 38f47d5621..9bc0f04954 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FormatTest.java index edc70d7127..a9de30415e 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/FormatTest.java @@ -191,6 +191,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -302,6 +303,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -355,6 +357,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -435,6 +438,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Name.java index 9cbe59380f..1008db032e 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Name.java @@ -60,6 +60,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Pet.java index 3b5363bdd4..a4fc4172ab 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -195,6 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index a5086c7676..79ebf8ea84 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -66,6 +66,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -144,6 +147,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -175,6 +179,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderExample.java index a2767367b3..8e41bc2bee 100644 --- a/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/google-api-client/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -70,6 +70,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -148,6 +151,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -174,6 +178,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,6 +210,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Animal.java index ad0c77f2e4..d0d552a67c 100644 --- a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Category.java index 32f72e70f3..2ad7565657 100644 --- a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/EnumTest.java index 38f47d5621..9bc0f04954 100644 --- a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/FormatTest.java index edc70d7127..a9de30415e 100644 --- a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/FormatTest.java @@ -191,6 +191,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -302,6 +303,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -355,6 +357,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -435,6 +438,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Name.java index 9cbe59380f..1008db032e 100644 --- a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Name.java @@ -60,6 +60,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Pet.java index 3b5363bdd4..a4fc4172ab 100644 --- a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -195,6 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index a5086c7676..79ebf8ea84 100644 --- a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -66,6 +66,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -144,6 +147,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -175,6 +179,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/TypeHolderExample.java index a2767367b3..8e41bc2bee 100644 --- a/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/jersey1/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -70,6 +70,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -148,6 +151,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -174,6 +178,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,6 +210,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Animal.java index 8e35f70143..7b8d2481f2 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Animal.java @@ -65,6 +65,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Category.java index d2881dac7b..3addae65d9 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Category.java @@ -79,6 +79,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumTest.java index 51a612fedb..6932ee6318 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/EnumTest.java @@ -236,6 +236,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java index 1556196ce7..51339f94b2 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/FormatTest.java @@ -190,6 +190,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -297,6 +298,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -348,6 +350,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -425,6 +428,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Name.java index ca44ae5d29..19cd2b3550 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Name.java @@ -62,6 +62,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Pet.java index c5e087378f..f0ddb6dc93 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -194,6 +195,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 94a77e7535..3f2b8e65ab 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -68,6 +68,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -93,6 +94,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -143,6 +146,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -173,6 +177,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderExample.java index b109f3b7c2..951704eef7 100644 --- a/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/jersey2-java8-localdatetime/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -72,6 +72,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -97,6 +98,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -147,6 +150,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -172,6 +176,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -202,6 +207,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java index 8e35f70143..7b8d2481f2 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java @@ -65,6 +65,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java index d2881dac7b..3addae65d9 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java @@ -79,6 +79,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java index 51a612fedb..6932ee6318 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java @@ -236,6 +236,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java index fcf4021fde..230e9c9575 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java @@ -190,6 +190,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -297,6 +298,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -348,6 +350,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -425,6 +428,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java index ca44ae5d29..19cd2b3550 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java @@ -62,6 +62,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java index c5e087378f..f0ddb6dc93 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -194,6 +195,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 94a77e7535..3f2b8e65ab 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -68,6 +68,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -93,6 +94,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -143,6 +146,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -173,6 +177,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderExample.java index b109f3b7c2..951704eef7 100644 --- a/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -72,6 +72,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -97,6 +98,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -147,6 +150,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -172,6 +176,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -202,6 +207,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Animal.java index 8dea8b95f5..3e9d6e541c 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Animal.java @@ -65,6 +65,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Category.java index fe296c3978..130ef22584 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumTest.java index 0b4b2bdba0..7e18b96f43 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java index 2f72fdb240..ff00345d0e 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/FormatTest.java @@ -189,6 +189,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -296,6 +297,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -347,6 +349,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -424,6 +427,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Name.java index be9bc6b0f3..fd3b90dddf 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Name.java @@ -61,6 +61,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pet.java index 4abded0549..f9ca570f4b 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/Pet.java @@ -163,6 +163,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -193,6 +194,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 9850fb9069..cbdb136847 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -67,6 +67,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -117,6 +119,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -142,6 +145,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -172,6 +176,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TypeHolderExample.java index fb38a5379c..aa0a364925 100644 --- a/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/native-async/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -71,6 +71,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -121,6 +123,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -146,6 +149,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -171,6 +175,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -201,6 +206,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java index 8dea8b95f5..3e9d6e541c 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java @@ -65,6 +65,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java index fe296c3978..130ef22584 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java index 0b4b2bdba0..7e18b96f43 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java index 2f72fdb240..ff00345d0e 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java @@ -189,6 +189,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -296,6 +297,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -347,6 +349,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -424,6 +427,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java index be9bc6b0f3..fd3b90dddf 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java @@ -61,6 +61,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java index 4abded0549..f9ca570f4b 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java @@ -163,6 +163,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -193,6 +194,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 9850fb9069..cbdb136847 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -67,6 +67,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -117,6 +119,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -142,6 +145,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -172,6 +176,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TypeHolderExample.java index fb38a5379c..aa0a364925 100644 --- a/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/native/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -71,6 +71,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -121,6 +123,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -146,6 +149,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -171,6 +175,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -201,6 +206,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Animal.java index 67e9a14d06..ee3cf38a18 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Animal.java @@ -54,6 +54,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getClassName() { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Category.java index bc1672714e..fdbddf336d 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Category.java @@ -71,6 +71,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getName() { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumTest.java index 7f325519f9..47007ec6f1 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/EnumTest.java @@ -276,6 +276,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public EnumStringRequiredEnum getEnumStringRequired() { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java index 7809f39132..af71532944 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/FormatTest.java @@ -176,6 +176,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumber() { @@ -271,6 +272,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public byte[] getByte() { @@ -316,6 +318,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public LocalDate getDate() { @@ -384,6 +387,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getPassword() { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Name.java index 4824107759..c6fd4106f2 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Name.java @@ -57,6 +57,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getName() { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Pet.java index cdc15037c1..8b0094ed60 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/Pet.java @@ -165,6 +165,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") public String getName() { @@ -192,6 +193,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Set getPhotoUrls() { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 5586c8e6a8..ed5494ea76 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -63,6 +63,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getStringItem() { @@ -85,6 +86,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumberItem() { @@ -107,6 +109,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getIntegerItem() { @@ -129,6 +132,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Boolean getBoolItem() { @@ -156,6 +160,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 0d6f48c11e..2fd9419115 100644 --- a/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/okhttp-gson-dynamicOperations/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -67,6 +67,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") public String getStringItem() { @@ -89,6 +90,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public BigDecimal getNumberItem() { @@ -111,6 +113,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public Float getFloatItem() { @@ -133,6 +136,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") public Integer getIntegerItem() { @@ -155,6 +159,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") public Boolean getBoolItem() { @@ -182,6 +187,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Animal.java index 5e7660d025..b0e9612d65 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Animal.java @@ -56,6 +56,7 @@ public class Animal implements Parcelable { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getClassName() { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Category.java index 48a16637cf..018409afce 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Category.java @@ -75,6 +75,7 @@ public class Category implements Parcelable { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getName() { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumTest.java index da3d768342..f1e72e0865 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/EnumTest.java @@ -280,6 +280,7 @@ public class EnumTest implements Parcelable { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public EnumStringRequiredEnum getEnumStringRequired() { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java index c091e5f903..20be332081 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/FormatTest.java @@ -180,6 +180,7 @@ public class FormatTest implements Parcelable { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumber() { @@ -275,6 +276,7 @@ public class FormatTest implements Parcelable { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public byte[] getByte() { @@ -320,6 +322,7 @@ public class FormatTest implements Parcelable { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public LocalDate getDate() { @@ -388,6 +391,7 @@ public class FormatTest implements Parcelable { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getPassword() { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Name.java index 375ba87e13..4781844396 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Name.java @@ -61,6 +61,7 @@ public class Name implements Parcelable { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getName() { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Pet.java index 8ca2238725..4f96df5e03 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/Pet.java @@ -169,6 +169,7 @@ public class Pet implements Parcelable { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") public String getName() { @@ -196,6 +197,7 @@ public class Pet implements Parcelable { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Set getPhotoUrls() { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 00568dbc26..9a7327432f 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -67,6 +67,7 @@ public class TypeHolderDefault implements Parcelable { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getStringItem() { @@ -89,6 +90,7 @@ public class TypeHolderDefault implements Parcelable { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumberItem() { @@ -111,6 +113,7 @@ public class TypeHolderDefault implements Parcelable { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getIntegerItem() { @@ -133,6 +136,7 @@ public class TypeHolderDefault implements Parcelable { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Boolean getBoolItem() { @@ -160,6 +164,7 @@ public class TypeHolderDefault implements Parcelable { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 478c59e4ae..d47ddb6405 100644 --- a/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/okhttp-gson-parcelableModel/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -71,6 +71,7 @@ public class TypeHolderExample implements Parcelable { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") public String getStringItem() { @@ -93,6 +94,7 @@ public class TypeHolderExample implements Parcelable { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public BigDecimal getNumberItem() { @@ -115,6 +117,7 @@ public class TypeHolderExample implements Parcelable { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public Float getFloatItem() { @@ -137,6 +140,7 @@ public class TypeHolderExample implements Parcelable { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") public Integer getIntegerItem() { @@ -159,6 +163,7 @@ public class TypeHolderExample implements Parcelable { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") public Boolean getBoolItem() { @@ -186,6 +191,7 @@ public class TypeHolderExample implements Parcelable { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Animal.java index 67e9a14d06..ee3cf38a18 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Animal.java @@ -54,6 +54,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getClassName() { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java index bc1672714e..fdbddf336d 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Category.java @@ -71,6 +71,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getName() { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumTest.java index 7f325519f9..47007ec6f1 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/EnumTest.java @@ -276,6 +276,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public EnumStringRequiredEnum getEnumStringRequired() { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java index 7809f39132..af71532944 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/FormatTest.java @@ -176,6 +176,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumber() { @@ -271,6 +272,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public byte[] getByte() { @@ -316,6 +318,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public LocalDate getDate() { @@ -384,6 +387,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getPassword() { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Name.java index 4824107759..c6fd4106f2 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Name.java @@ -57,6 +57,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getName() { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java index cdc15037c1..8b0094ed60 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/Pet.java @@ -165,6 +165,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") public String getName() { @@ -192,6 +193,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Set getPhotoUrls() { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 5586c8e6a8..ed5494ea76 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -63,6 +63,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getStringItem() { @@ -85,6 +86,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumberItem() { @@ -107,6 +109,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getIntegerItem() { @@ -129,6 +132,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Boolean getBoolItem() { @@ -156,6 +160,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 0d6f48c11e..2fd9419115 100644 --- a/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/okhttp-gson/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -67,6 +67,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") public String getStringItem() { @@ -89,6 +90,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public BigDecimal getNumberItem() { @@ -111,6 +113,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public Float getFloatItem() { @@ -133,6 +136,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") public Integer getIntegerItem() { @@ -155,6 +159,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") public Boolean getBoolItem() { @@ -182,6 +187,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Animal.java index de4d5b03fc..904bc9003b 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Animal.java @@ -66,6 +66,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Category.java index 5d3eeff6e8..ab8f80fd07 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Category.java @@ -81,6 +81,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumTest.java index 1c80692221..ce0c7c88d8 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/EnumTest.java @@ -238,6 +238,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FormatTest.java index 23918efb31..56b94fdcb0 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/FormatTest.java @@ -194,6 +194,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @NotNull @Valid @DecimalMin("32.1") @DecimalMax("543.2") @ApiModelProperty(required = true, value = "") @@ -307,6 +308,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @@ -362,6 +364,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @NotNull @Valid @ApiModelProperty(required = true, value = "") @@ -446,6 +449,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @NotNull @Size(min=10,max=64) @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Name.java index fd7d56353f..5b1e4e8a16 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Name.java @@ -63,6 +63,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Pet.java index c0bf9cc5d5..d16e909186 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/Pet.java @@ -168,6 +168,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @@ -200,6 +201,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index e0fa3218cf..d5a5842e8f 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -69,6 +69,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @@ -96,6 +97,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @NotNull @Valid @ApiModelProperty(required = true, value = "") @@ -124,6 +126,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @@ -151,6 +154,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @@ -183,6 +187,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) diff --git a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 1f9f05919c..cf5f9fb0e2 100644 --- a/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/rest-assured-jackson/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -73,6 +73,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @@ -100,6 +101,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @NotNull @Valid @ApiModelProperty(example = "1.234", required = true, value = "") @@ -128,6 +130,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @@ -155,6 +158,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @@ -182,6 +186,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @@ -214,6 +219,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Animal.java index ca996c926a..fa41866dd8 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Animal.java @@ -57,6 +57,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Category.java index 3bdfcdd73a..78b02a1a25 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Category.java @@ -74,6 +74,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumTest.java index cacc86fc81..014e5c86b6 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/EnumTest.java @@ -279,6 +279,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FormatTest.java index 8c437f1fe1..81242ba6f0 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/FormatTest.java @@ -179,6 +179,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @NotNull @Valid @DecimalMin("32.1") @DecimalMax("543.2") @ApiModelProperty(required = true, value = "") @@ -276,6 +277,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @@ -323,6 +325,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @NotNull @Valid @ApiModelProperty(required = true, value = "") @@ -395,6 +398,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @NotNull @Size(min=10,max=64) @ApiModelProperty(required = true, value = "") diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Name.java index 217eb05629..da1cd8d824 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Name.java @@ -60,6 +60,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Pet.java index bb57e68be5..7357148449 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/Pet.java @@ -169,6 +169,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "doggie", required = true, value = "") @@ -197,6 +198,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 77230529e8..e4e25c807e 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -66,6 +66,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @@ -89,6 +90,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @NotNull @Valid @ApiModelProperty(required = true, value = "") @@ -113,6 +115,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @@ -136,6 +139,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @@ -164,6 +168,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") diff --git a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderExample.java index b5c3e2c014..ddbff0d126 100644 --- a/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/rest-assured/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -70,6 +70,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "what", required = true, value = "") @@ -93,6 +94,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @NotNull @Valid @ApiModelProperty(example = "1.234", required = true, value = "") @@ -117,6 +119,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "1.234", required = true, value = "") @@ -140,6 +143,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "-2", required = true, value = "") @@ -163,6 +167,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "true", required = true, value = "") @@ -191,6 +196,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Animal.java index ad0c77f2e4..d0d552a67c 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Category.java index 32f72e70f3..2ad7565657 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumTest.java index 38f47d5621..9bc0f04954 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FormatTest.java index edc70d7127..a9de30415e 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/FormatTest.java @@ -191,6 +191,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -302,6 +303,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -355,6 +357,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -435,6 +438,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Name.java index 9cbe59380f..1008db032e 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Name.java @@ -60,6 +60,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java index 8dba5c5588..02342da313 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -195,6 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index e918613f55..8d33275e4c 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -66,6 +66,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -144,6 +147,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -175,6 +179,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TypeHolderExample.java index d718b40473..035f6970f5 100644 --- a/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/resteasy/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -70,6 +70,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -148,6 +151,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -174,6 +178,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,6 +210,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Animal.java index fb3df299bb..4f673cd45b 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Animal.java @@ -70,6 +70,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Category.java index ab3c928e00..de58d4daac 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Category.java @@ -87,6 +87,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumTest.java index 2e58ba9ed1..8a26faa394 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/EnumTest.java @@ -265,6 +265,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FormatTest.java index 5f5950f087..2c05c50d0d 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/FormatTest.java @@ -216,6 +216,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -335,6 +336,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -392,6 +394,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -478,6 +481,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Name.java index 02635e83bd..4b1e1f6c61 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Name.java @@ -69,6 +69,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Pet.java index 13319cfe25..509712f2d6 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/Pet.java @@ -192,6 +192,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -225,6 +226,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index d9b1f55602..9ee43fb5f2 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -79,6 +79,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -107,6 +108,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -135,6 +137,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -163,6 +166,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -196,6 +200,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 0ea1f0d748..2aaf03155f 100644 --- a/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/resttemplate-withXml/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -84,6 +84,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -112,6 +113,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -140,6 +142,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -168,6 +171,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -196,6 +200,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -229,6 +234,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Animal.java index ad0c77f2e4..d0d552a67c 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java index 32f72e70f3..2ad7565657 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumTest.java index 38f47d5621..9bc0f04954 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FormatTest.java index edc70d7127..a9de30415e 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/FormatTest.java @@ -191,6 +191,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -302,6 +303,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -355,6 +357,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -435,6 +438,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Name.java index 9cbe59380f..1008db032e 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Name.java @@ -60,6 +60,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java index 3b5363bdd4..a4fc4172ab 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -195,6 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index a5086c7676..79ebf8ea84 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -66,6 +66,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -144,6 +147,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -175,6 +179,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TypeHolderExample.java index a2767367b3..8e41bc2bee 100644 --- a/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/resttemplate/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -70,6 +70,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -148,6 +151,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -174,6 +178,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,6 +210,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Animal.java index f7ec58c2a9..4bfa74c607 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Animal.java @@ -65,6 +65,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Category.java index 2756ccae48..b8104a6862 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Category.java @@ -80,6 +80,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumTest.java index 0074a59e8c..0598b6e359 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/EnumTest.java @@ -237,6 +237,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FormatTest.java index 49adbc5c71..aab3ba9968 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/FormatTest.java @@ -193,6 +193,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @NotNull @Valid @DecimalMin("32.1") @DecimalMax("543.2") @ApiModelProperty(required = true, value = "") @@ -306,6 +307,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @@ -361,6 +363,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @NotNull @Valid @ApiModelProperty(required = true, value = "") @@ -445,6 +448,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @NotNull @Size(min=10,max=64) @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Name.java index 8558d8146a..f0a82167e2 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Name.java @@ -62,6 +62,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Pet.java index 61bfc53150..e32086552a 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/Pet.java @@ -167,6 +167,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @@ -199,6 +200,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index fe77cabdbf..6fc2f1a1d5 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -68,6 +68,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @@ -95,6 +96,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @NotNull @Valid @ApiModelProperty(required = true, value = "") @@ -123,6 +125,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @@ -150,6 +153,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @@ -182,6 +186,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) diff --git a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 83ce39cd4a..43b303a590 100644 --- a/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/retrofit2-play26/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -72,6 +72,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @@ -99,6 +100,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @NotNull @Valid @ApiModelProperty(example = "1.234", required = true, value = "") @@ -127,6 +129,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @@ -154,6 +157,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @@ -181,6 +185,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @@ -213,6 +218,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @NotNull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Animal.java index 67e9a14d06..ee3cf38a18 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Animal.java @@ -54,6 +54,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getClassName() { diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Category.java index bc1672714e..fdbddf336d 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Category.java @@ -71,6 +71,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getName() { diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumTest.java index 7f325519f9..47007ec6f1 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/EnumTest.java @@ -276,6 +276,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public EnumStringRequiredEnum getEnumStringRequired() { diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FormatTest.java index 7809f39132..af71532944 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/FormatTest.java @@ -176,6 +176,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumber() { @@ -271,6 +272,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public byte[] getByte() { @@ -316,6 +318,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public LocalDate getDate() { @@ -384,6 +387,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getPassword() { diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Name.java index 4824107759..c6fd4106f2 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Name.java @@ -57,6 +57,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getName() { diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Pet.java index cdc15037c1..8b0094ed60 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/Pet.java @@ -165,6 +165,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") public String getName() { @@ -192,6 +193,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Set getPhotoUrls() { diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 5586c8e6a8..ed5494ea76 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -63,6 +63,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getStringItem() { @@ -85,6 +86,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumberItem() { @@ -107,6 +109,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getIntegerItem() { @@ -129,6 +132,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Boolean getBoolItem() { @@ -156,6 +160,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 0d6f48c11e..2fd9419115 100644 --- a/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/retrofit2/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -67,6 +67,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") public String getStringItem() { @@ -89,6 +90,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public BigDecimal getNumberItem() { @@ -111,6 +113,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public Float getFloatItem() { @@ -133,6 +136,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") public Integer getIntegerItem() { @@ -155,6 +159,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") public Boolean getBoolItem() { @@ -182,6 +187,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Animal.java index 67e9a14d06..ee3cf38a18 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Animal.java @@ -54,6 +54,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getClassName() { diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Category.java index bc1672714e..fdbddf336d 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Category.java @@ -71,6 +71,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getName() { diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumTest.java index 7f325519f9..47007ec6f1 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/EnumTest.java @@ -276,6 +276,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public EnumStringRequiredEnum getEnumStringRequired() { diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FormatTest.java index 7809f39132..af71532944 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/FormatTest.java @@ -176,6 +176,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumber() { @@ -271,6 +272,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public byte[] getByte() { @@ -316,6 +318,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public LocalDate getDate() { @@ -384,6 +387,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getPassword() { diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Name.java index 4824107759..c6fd4106f2 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Name.java @@ -57,6 +57,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getName() { diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Pet.java index cdc15037c1..8b0094ed60 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/Pet.java @@ -165,6 +165,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") public String getName() { @@ -192,6 +193,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Set getPhotoUrls() { diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 5586c8e6a8..ed5494ea76 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -63,6 +63,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getStringItem() { @@ -85,6 +86,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumberItem() { @@ -107,6 +109,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getIntegerItem() { @@ -129,6 +132,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Boolean getBoolItem() { @@ -156,6 +160,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 0d6f48c11e..2fd9419115 100644 --- a/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/retrofit2rx2/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -67,6 +67,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") public String getStringItem() { @@ -89,6 +90,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public BigDecimal getNumberItem() { @@ -111,6 +113,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public Float getFloatItem() { @@ -133,6 +136,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") public Integer getIntegerItem() { @@ -155,6 +159,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") public Boolean getBoolItem() { @@ -182,6 +187,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Animal.java index 67e9a14d06..ee3cf38a18 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Animal.java @@ -54,6 +54,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getClassName() { diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Category.java index bc1672714e..fdbddf336d 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Category.java @@ -71,6 +71,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getName() { diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumTest.java index 7f325519f9..47007ec6f1 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/EnumTest.java @@ -276,6 +276,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public EnumStringRequiredEnum getEnumStringRequired() { diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FormatTest.java index 7809f39132..af71532944 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/FormatTest.java @@ -176,6 +176,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumber() { @@ -271,6 +272,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public byte[] getByte() { @@ -316,6 +318,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public LocalDate getDate() { @@ -384,6 +387,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getPassword() { diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Name.java index 4824107759..c6fd4106f2 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Name.java @@ -57,6 +57,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getName() { diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Pet.java index cdc15037c1..8b0094ed60 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/Pet.java @@ -165,6 +165,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") public String getName() { @@ -192,6 +193,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Set getPhotoUrls() { diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index 5586c8e6a8..ed5494ea76 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -63,6 +63,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public String getStringItem() { @@ -85,6 +86,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public BigDecimal getNumberItem() { @@ -107,6 +109,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Integer getIntegerItem() { @@ -129,6 +132,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public Boolean getBoolItem() { @@ -156,6 +160,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderExample.java index 0d6f48c11e..2fd9419115 100644 --- a/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/retrofit2rx3/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -67,6 +67,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") public String getStringItem() { @@ -89,6 +90,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public BigDecimal getNumberItem() { @@ -111,6 +113,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") public Float getFloatItem() { @@ -133,6 +136,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") public Integer getIntegerItem() { @@ -155,6 +159,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") public Boolean getBoolItem() { @@ -182,6 +187,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") public List getArrayItem() { diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Animal.java index ad0c77f2e4..d0d552a67c 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Category.java index 32f72e70f3..2ad7565657 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java index 38f47d5621..9bc0f04954 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java index 106ecd7af3..ce7329c644 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/FormatTest.java @@ -191,6 +191,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -302,6 +303,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -355,6 +357,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -435,6 +438,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Name.java index 9cbe59380f..1008db032e 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Name.java @@ -60,6 +60,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Pet.java index 8dba5c5588..02342da313 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -195,6 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index e918613f55..8d33275e4c 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -66,6 +66,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -144,6 +147,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -175,6 +179,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java index d718b40473..035f6970f5 100644 --- a/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/vertx-no-nullable/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -70,6 +70,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -148,6 +151,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -174,6 +178,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,6 +210,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Animal.java index ad0c77f2e4..d0d552a67c 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Category.java index 32f72e70f3..2ad7565657 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumTest.java index 38f47d5621..9bc0f04954 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FormatTest.java index dd040052ec..68caaef930 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/FormatTest.java @@ -191,6 +191,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -302,6 +303,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -355,6 +357,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -435,6 +438,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Name.java index 9cbe59380f..1008db032e 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Name.java @@ -60,6 +60,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Pet.java index 8dba5c5588..02342da313 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -195,6 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index e918613f55..8d33275e4c 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -66,6 +66,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -144,6 +147,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -175,6 +179,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TypeHolderExample.java index d718b40473..035f6970f5 100644 --- a/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/vertx/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -70,6 +70,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -148,6 +151,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -174,6 +178,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,6 +210,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Animal.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Animal.java index ad0c77f2e4..d0d552a67c 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Category.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Category.java index 32f72e70f3..2ad7565657 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumTest.java index 38f47d5621..9bc0f04954 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/EnumTest.java @@ -235,6 +235,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FormatTest.java index ce48bf8a71..8d81ce3aa7 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/FormatTest.java @@ -191,6 +191,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -302,6 +303,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -355,6 +357,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -435,6 +438,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Name.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Name.java index 9cbe59380f..1008db032e 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Name.java @@ -60,6 +60,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Pet.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Pet.java index 8dba5c5588..02342da313 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/Pet.java @@ -164,6 +164,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -195,6 +196,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TypeHolderDefault.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TypeHolderDefault.java index e918613f55..8d33275e4c 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TypeHolderDefault.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TypeHolderDefault.java @@ -66,6 +66,7 @@ public class TypeHolderDefault { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -92,6 +93,7 @@ public class TypeHolderDefault { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -118,6 +120,7 @@ public class TypeHolderDefault { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -144,6 +147,7 @@ public class TypeHolderDefault { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -175,6 +179,7 @@ public class TypeHolderDefault { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TypeHolderExample.java b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TypeHolderExample.java index d718b40473..035f6970f5 100644 --- a/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TypeHolderExample.java +++ b/samples/client/petstore/java/webclient/src/main/java/org/openapitools/client/model/TypeHolderExample.java @@ -70,6 +70,7 @@ public class TypeHolderExample { * Get stringItem * @return stringItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "what", required = true, value = "") @JsonProperty(JSON_PROPERTY_STRING_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -96,6 +97,7 @@ public class TypeHolderExample { * Get numberItem * @return numberItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -122,6 +124,7 @@ public class TypeHolderExample { * Get floatItem * @return floatItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "1.234", required = true, value = "") @JsonProperty(JSON_PROPERTY_FLOAT_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -148,6 +151,7 @@ public class TypeHolderExample { * Get integerItem * @return integerItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "-2", required = true, value = "") @JsonProperty(JSON_PROPERTY_INTEGER_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -174,6 +178,7 @@ public class TypeHolderExample { * Get boolItem * @return boolItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "true", required = true, value = "") @JsonProperty(JSON_PROPERTY_BOOL_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -205,6 +210,7 @@ public class TypeHolderExample { * Get arrayItem * @return arrayItem **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "[0, 1, 2, 3]", required = true, value = "") @JsonProperty(JSON_PROPERTY_ARRAY_ITEM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java index ead45b4951..0deb6741e6 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AppleReq.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AppleReq.java index 8c5aa5beae..3c7cee95f6 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AppleReq.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/AppleReq.java @@ -53,6 +53,7 @@ public class AppleReq { * Get cultivar * @return cultivar **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BananaReq.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BananaReq.java index b696b954ff..dba6d38538 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BananaReq.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BananaReq.java @@ -54,6 +54,7 @@ public class BananaReq { * Get lengthCm * @return lengthCm **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BasquePig.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BasquePig.java index 735761a713..9463826bdb 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BasquePig.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/BasquePig.java @@ -49,6 +49,7 @@ public class BasquePig { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java index d2881dac7b..3addae65d9 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Category.java @@ -79,6 +79,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ChildCat.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ChildCat.java index 4fa8971f68..a42a9852dc 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ChildCat.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ChildCat.java @@ -99,6 +99,7 @@ public class ChildCat extends ParentPet { * Get petType * @return petType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java index 20ec570e92..797a50b71e 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java @@ -59,6 +59,7 @@ public class ComplexQuadrilateral { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -84,6 +85,7 @@ public class ComplexQuadrilateral { * Get quadrilateralType * @return quadrilateralType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/DanishPig.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/DanishPig.java index fe4bfcddc6..eb8102dec2 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/DanishPig.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/DanishPig.java @@ -49,6 +49,7 @@ public class DanishPig { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java index d21e23726d..4c34c78d7a 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EnumTest.java @@ -293,6 +293,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EquilateralTriangle.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EquilateralTriangle.java index fa40ab3625..4f78172528 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EquilateralTriangle.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/EquilateralTriangle.java @@ -59,6 +59,7 @@ public class EquilateralTriangle { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -84,6 +85,7 @@ public class EquilateralTriangle { * Get triangleType * @return triangleType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java index 9d60965ce1..79530fe5ec 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/FormatTest.java @@ -198,6 +198,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -331,6 +332,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -382,6 +384,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "Sun Feb 02 00:00:00 UTC 2020", required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -459,6 +462,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/GrandparentAnimal.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/GrandparentAnimal.java index 6e75fb4994..259cebcbe3 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/GrandparentAnimal.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/GrandparentAnimal.java @@ -59,6 +59,7 @@ public class GrandparentAnimal { * Get petType * @return petType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java index 2a7d7601b7..9ee7887c89 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java @@ -55,6 +55,7 @@ public class IsoscelesTriangle { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -80,6 +81,7 @@ public class IsoscelesTriangle { * Get triangleType * @return triangleType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java index ca44ae5d29..19cd2b3550 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Name.java @@ -62,6 +62,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java index 497d26e926..8bfbc4dd26 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Pet.java @@ -162,6 +162,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -192,6 +193,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java index 0b5449840b..c0af69c357 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java @@ -49,6 +49,7 @@ public class QuadrilateralInterface { * Get quadrilateralType * @return quadrilateralType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ScaleneTriangle.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ScaleneTriangle.java index 3cafdccd4a..8c9b6b42ee 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ScaleneTriangle.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ScaleneTriangle.java @@ -59,6 +59,7 @@ public class ScaleneTriangle { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -84,6 +85,7 @@ public class ScaleneTriangle { * Get triangleType * @return triangleType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ShapeInterface.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ShapeInterface.java index a028ac1cf8..9e58316126 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ShapeInterface.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/ShapeInterface.java @@ -49,6 +49,7 @@ public class ShapeInterface { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java index b8330e16c5..a20574fb62 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java @@ -59,6 +59,7 @@ public class SimpleQuadrilateral { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -84,6 +85,7 @@ public class SimpleQuadrilateral { * Get quadrilateralType * @return quadrilateralType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TriangleInterface.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TriangleInterface.java index bdbf09b82e..8e9ad3c367 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TriangleInterface.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/TriangleInterface.java @@ -49,6 +49,7 @@ public class TriangleInterface { * Get triangleType * @return triangleType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Whale.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Whale.java index b0aae482e1..96f1a10f1a 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Whale.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Whale.java @@ -109,6 +109,7 @@ public class Whale { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Zebra.java b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Zebra.java index 9d68fc3c08..429cd7a96f 100644 --- a/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Zebra.java +++ b/samples/openapi3/client/petstore/java/jersey2-java8/src/main/java/org/openapitools/client/model/Zebra.java @@ -120,6 +120,7 @@ public class Zebra { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java index 80071f7afc..f90886fb61 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Animal.java @@ -63,6 +63,7 @@ public class Animal { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/AppleReq.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/AppleReq.java index e29d322a2f..a2edcdfb3e 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/AppleReq.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/AppleReq.java @@ -52,6 +52,7 @@ public class AppleReq { * Get cultivar * @return cultivar **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CULTIVAR) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/BananaReq.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/BananaReq.java index b28694354f..a21f5c33ee 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/BananaReq.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/BananaReq.java @@ -53,6 +53,7 @@ public class BananaReq { * Get lengthCm * @return lengthCm **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_LENGTH_CM) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/BasquePig.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/BasquePig.java index f16dc5276f..3755c8ad21 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/BasquePig.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/BasquePig.java @@ -48,6 +48,7 @@ public class BasquePig { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java index fe296c3978..130ef22584 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Category.java @@ -78,6 +78,7 @@ public class Category { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ChildCat.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ChildCat.java index 5e00106b04..b2fc54afa0 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ChildCat.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ChildCat.java @@ -95,6 +95,7 @@ public class ChildCat extends ParentPet { * Get petType * @return petType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java index 677f95d92a..c6672e54e1 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ComplexQuadrilateral.java @@ -54,6 +54,7 @@ public class ComplexQuadrilateral { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -79,6 +80,7 @@ public class ComplexQuadrilateral { * Get quadrilateralType * @return quadrilateralType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/DanishPig.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/DanishPig.java index dd8638e933..0f9c0ad005 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/DanishPig.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/DanishPig.java @@ -48,6 +48,7 @@ public class DanishPig { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java index 194c5e7f7a..a6fbd06d9b 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/EnumTest.java @@ -292,6 +292,7 @@ public class EnumTest { * Get enumStringRequired * @return enumStringRequired **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_ENUM_STRING_REQUIRED) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/EquilateralTriangle.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/EquilateralTriangle.java index 305080c8f4..c122af1f45 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/EquilateralTriangle.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/EquilateralTriangle.java @@ -54,6 +54,7 @@ public class EquilateralTriangle { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -79,6 +80,7 @@ public class EquilateralTriangle { * Get triangleType * @return triangleType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java index aaac8077f8..34dcfd8c31 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/FormatTest.java @@ -197,6 +197,7 @@ public class FormatTest { * maximum: 543.2 * @return number **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NUMBER) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -330,6 +331,7 @@ public class FormatTest { * Get _byte * @return _byte **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_BYTE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -381,6 +383,7 @@ public class FormatTest { * Get date * @return date **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "Sun Feb 02 00:00:00 UTC 2020", required = true, value = "") @JsonProperty(JSON_PROPERTY_DATE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -458,6 +461,7 @@ public class FormatTest { * Get password * @return password **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PASSWORD) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/GrandparentAnimal.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/GrandparentAnimal.java index 7903b39c21..85e70e350a 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/GrandparentAnimal.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/GrandparentAnimal.java @@ -59,6 +59,7 @@ public class GrandparentAnimal { * Get petType * @return petType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PET_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java index 8c486642cd..5d15dcb553 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/IsoscelesTriangle.java @@ -54,6 +54,7 @@ public class IsoscelesTriangle { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -79,6 +80,7 @@ public class IsoscelesTriangle { * Get triangleType * @return triangleType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java index be9bc6b0f3..fd3b90dddf 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Name.java @@ -61,6 +61,7 @@ public class Name { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java index 2b182915ea..e822ec8ae6 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Pet.java @@ -161,6 +161,7 @@ public class Pet { * Get name * @return name **/ + @javax.annotation.Nonnull @ApiModelProperty(example = "doggie", required = true, value = "") @JsonProperty(JSON_PROPERTY_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -191,6 +192,7 @@ public class Pet { * Get photoUrls * @return photoUrls **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_PHOTO_URLS) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java index 759768fa2a..0541aba57d 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/QuadrilateralInterface.java @@ -48,6 +48,7 @@ public class QuadrilateralInterface { * Get quadrilateralType * @return quadrilateralType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ScaleneTriangle.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ScaleneTriangle.java index 622e32fb98..08dff3550b 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ScaleneTriangle.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ScaleneTriangle.java @@ -54,6 +54,7 @@ public class ScaleneTriangle { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -79,6 +80,7 @@ public class ScaleneTriangle { * Get triangleType * @return triangleType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeInterface.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeInterface.java index f95577d668..06c82740a4 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeInterface.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/ShapeInterface.java @@ -48,6 +48,7 @@ public class ShapeInterface { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java index dc2eb7a181..a4eb641c0b 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/SimpleQuadrilateral.java @@ -54,6 +54,7 @@ public class SimpleQuadrilateral { * Get shapeType * @return shapeType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_SHAPE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) @@ -79,6 +80,7 @@ public class SimpleQuadrilateral { * Get quadrilateralType * @return quadrilateralType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_QUADRILATERAL_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/TriangleInterface.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/TriangleInterface.java index 6d952436ca..12a16bd967 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/TriangleInterface.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/TriangleInterface.java @@ -48,6 +48,7 @@ public class TriangleInterface { * Get triangleType * @return triangleType **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_TRIANGLE_TYPE) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Whale.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Whale.java index d31273aefe..7343f40123 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Whale.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Whale.java @@ -108,6 +108,7 @@ public class Whale { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS) diff --git a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Zebra.java b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Zebra.java index 27f68f6a39..fc19f618cb 100644 --- a/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Zebra.java +++ b/samples/openapi3/client/petstore/java/native/src/main/java/org/openapitools/client/model/Zebra.java @@ -121,6 +121,7 @@ public class Zebra extends HashMap { * Get className * @return className **/ + @javax.annotation.Nonnull @ApiModelProperty(required = true, value = "") @JsonProperty(JSON_PROPERTY_CLASS_NAME) @JsonInclude(value = JsonInclude.Include.ALWAYS)