forked from loafle/openapi-generator-original
Merge remote-tracking branch 'origin/5.3.x' into 6.0.x
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user