forked from loafle/openapi-generator-original
[Java] Add @javax.annotation.Nonnull to required getters (#9593)
* Add @javax.annotation.Nonnull to required getters * Add updated samples * Consider the nullable constraint
This commit is contained in:
parent
bd070308d9
commit
c5f5d3dd6a
@ -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
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -54,6 +54,7 @@ public class Animal {
|
||||
* Get className
|
||||
* @return className
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getClassName() {
|
||||
|
@ -71,6 +71,7 @@ public class Category {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getName() {
|
||||
|
@ -276,6 +276,7 @@ public class EnumTest {
|
||||
* Get enumStringRequired
|
||||
* @return enumStringRequired
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public EnumStringRequiredEnum getEnumStringRequired() {
|
||||
|
@ -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() {
|
||||
|
@ -57,6 +57,7 @@ public class Name {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public Integer getName() {
|
||||
|
@ -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<String> getPhotoUrls() {
|
||||
|
@ -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<Integer> getArrayItem() {
|
||||
|
@ -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<Integer> getArrayItem() {
|
||||
|
@ -56,6 +56,7 @@ public class Animal implements Parcelable {
|
||||
* Get className
|
||||
* @return className
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getClassName() {
|
||||
|
@ -75,6 +75,7 @@ public class Category implements Parcelable {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getName() {
|
||||
|
@ -280,6 +280,7 @@ public class EnumTest implements Parcelable {
|
||||
* Get enumStringRequired
|
||||
* @return enumStringRequired
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public EnumStringRequiredEnum getEnumStringRequired() {
|
||||
|
@ -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() {
|
||||
|
@ -61,6 +61,7 @@ public class Name implements Parcelable {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public Integer getName() {
|
||||
|
@ -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<String> getPhotoUrls() {
|
||||
|
@ -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<Integer> getArrayItem() {
|
||||
|
@ -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<Integer> getArrayItem() {
|
||||
|
@ -54,6 +54,7 @@ public class Animal {
|
||||
* Get className
|
||||
* @return className
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getClassName() {
|
||||
|
@ -71,6 +71,7 @@ public class Category {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public String getName() {
|
||||
|
@ -276,6 +276,7 @@ public class EnumTest {
|
||||
* Get enumStringRequired
|
||||
* @return enumStringRequired
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public EnumStringRequiredEnum getEnumStringRequired() {
|
||||
|
@ -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() {
|
||||
|
@ -57,6 +57,7 @@ public class Name {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
public Integer getName() {
|
||||
|
@ -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<String> getPhotoUrls() {
|
||||
|
@ -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<Integer> getArrayItem() {
|
||||
|
@ -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<Integer> getArrayItem() {
|
||||
|
@ -66,6 +66,7 @@ public class Animal {
|
||||
* Get className
|
||||
* @return className
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty(JSON_PROPERTY_CLASS_NAME)
|
||||
|
@ -81,6 +81,7 @@ public class Category {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -63,6 +63,7 @@ public class Name {
|
||||
* Get name
|
||||
* @return name
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty(JSON_PROPERTY_NAME)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -57,6 +57,7 @@ public class Animal {
|
||||
* Get className
|
||||
* @return className
|
||||
**/
|
||||
@javax.annotation.Nonnull
|
||||
@NotNull
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user