mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-03-10 08:31:23 +00:00
synn beea validation template (jaxrs) (#18697)
This commit is contained in:
@@ -1 +1 @@
|
||||
{{#required}}@NotNull {{/required}}{{#isContainer}}{{^items.isPrimitiveType}}{{^items.isDate}}{{^items.isDateTime}}{{^items.isString}}{{^items.isFile}}{{^items.isEnumOrRef}}@Valid {{/items.isEnumOrRef}}{{/items.isFile}}{{/items.isString}}{{/items.isDateTime}}{{/items.isDate}}{{/items.isPrimitiveType}}{{/isContainer}}{{^isContainer}}{{^isPrimitiveType}}{{^isDate}}{{^isDateTime}}{{^isString}}{{^isFile}}{{^isEnumOrRef}}@Valid {{/isEnumOrRef}}{{/isFile}}{{/isString}}{{/isDateTime}}{{/isDate}}{{/isPrimitiveType}}{{/isContainer}}{{>beanValidationCore}}
|
||||
{{#required}}{{^isReadOnly}}@NotNull {{/isReadOnly}}{{/required}}{{#isContainer}}{{^items.isPrimitiveType}}{{^items.isDate}}{{^items.isDateTime}}{{^items.isString}}{{^items.isFile}}{{^items.isEnumOrRef}}@Valid {{/items.isEnumOrRef}}{{/items.isFile}}{{/items.isString}}{{/items.isDateTime}}{{/items.isDate}}{{/items.isPrimitiveType}}{{/isContainer}}{{^isContainer}}{{^isPrimitiveType}}{{^isDate}}{{^isDateTime}}{{^isString}}{{^isFile}}{{^isEnumOrRef}}@Valid {{/isEnumOrRef}}{{/isFile}}{{/isString}}{{/isDateTime}}{{/isDate}}{{/isPrimitiveType}}{{/isContainer}}{{>beanValidationCore}}
|
||||
@@ -1 +1 @@
|
||||
{{#required}}{{^isReadOnly}}@NotNull {{/isReadOnly}}{{/required}}{{#isContainer}}{{^isPrimitiveType}}{{^isEnum}}@Valid {{/isEnum}}{{/isPrimitiveType}}{{/isContainer}}{{^isContainer}}{{^isPrimitiveType}}@Valid {{/isPrimitiveType}}{{/isContainer}}{{>beanValidationCore}}
|
||||
{{#required}}@NotNull {{/required}}{{#isContainer}}{{^items.isPrimitiveType}}{{^items.isDate}}{{^items.isDateTime}}{{^items.isString}}{{^items.isFile}}{{^items.isEnumOrRef}}@Valid {{/items.isEnumOrRef}}{{/items.isFile}}{{/items.isString}}{{/items.isDateTime}}{{/items.isDate}}{{/items.isPrimitiveType}}{{/isContainer}}{{^isContainer}}{{^isPrimitiveType}}{{^isDate}}{{^isDateTime}}{{^isString}}{{^isFile}}{{^isEnumOrRef}}@Valid {{/isEnumOrRef}}{{/isFile}}{{/isString}}{{/isDateTime}}{{/isDate}}{{/isPrimitiveType}}{{/isContainer}}{{>beanValidationCore}}
|
||||
@@ -184,7 +184,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_array_integer")
|
||||
@Valid public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
return mapArrayInteger;
|
||||
}
|
||||
|
||||
@@ -219,7 +219,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_array_anytype")
|
||||
@Valid public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
return mapArrayAnytype;
|
||||
}
|
||||
|
||||
@@ -254,7 +254,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapString() {
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
return mapMapString;
|
||||
}
|
||||
|
||||
@@ -289,7 +289,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_anytype")
|
||||
@Valid public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
return mapMapAnytype;
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_integer")
|
||||
@Valid public List<List<Long>> getArrayArrayOfInteger() {
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnum")
|
||||
@Valid public OuterEnum getOuterEnum() {
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("binary")
|
||||
@Valid public File getBinary() {
|
||||
public File getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("date")
|
||||
@NotNull @Valid public LocalDate getDate() {
|
||||
@NotNull public LocalDate getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
@@ -250,7 +250,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public Date getDateTime() {
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
@@ -269,7 +269,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ public class MapTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_of_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public Date getDateTime() {
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ public class Order implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("shipDate")
|
||||
@Valid public Date getShipDate() {
|
||||
public Date getShipDate() {
|
||||
return shipDate;
|
||||
}
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_array_integer")
|
||||
@Valid public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
return mapArrayInteger;
|
||||
}
|
||||
|
||||
@@ -219,7 +219,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_array_anytype")
|
||||
@Valid public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
return mapArrayAnytype;
|
||||
}
|
||||
|
||||
@@ -254,7 +254,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapString() {
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
return mapMapString;
|
||||
}
|
||||
|
||||
@@ -289,7 +289,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_anytype")
|
||||
@Valid public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
return mapMapAnytype;
|
||||
}
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_integer")
|
||||
@Valid public List<List<Long>> getArrayArrayOfInteger() {
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
||||
|
||||
@@ -300,7 +300,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnum")
|
||||
@Valid public OuterEnum getOuterEnum() {
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
||||
|
||||
@@ -212,7 +212,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("binary")
|
||||
@Valid public File getBinary() {
|
||||
public File getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("date")
|
||||
@NotNull @Valid public LocalDate getDate() {
|
||||
@NotNull public LocalDate getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
@@ -250,7 +250,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public Date getDateTime() {
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
@@ -269,7 +269,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
|
||||
@@ -82,7 +82,7 @@ public class MapTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_of_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
@@ -56,7 +56,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public Date getDateTime() {
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ public class Order implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("shipDate")
|
||||
@Valid public Date getShipDate() {
|
||||
public Date getShipDate() {
|
||||
return shipDate;
|
||||
}
|
||||
|
||||
|
||||
@@ -201,7 +201,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_array_integer")
|
||||
@Valid public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
return mapArrayInteger;
|
||||
}
|
||||
|
||||
@@ -236,7 +236,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_array_anytype")
|
||||
@Valid public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
return mapArrayAnytype;
|
||||
}
|
||||
|
||||
@@ -271,7 +271,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapString() {
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
return mapMapString;
|
||||
}
|
||||
|
||||
@@ -306,7 +306,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_anytype")
|
||||
@Valid public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
return mapMapAnytype;
|
||||
}
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_integer")
|
||||
@Valid public List<List<Long>> getArrayArrayOfInteger() {
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
||||
|
||||
@@ -311,7 +311,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnum")
|
||||
@Valid public OuterEnum getOuterEnum() {
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
||||
|
||||
@@ -232,7 +232,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("binary")
|
||||
@Valid public File getBinary() {
|
||||
public File getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
@@ -251,7 +251,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("date")
|
||||
@NotNull @Valid public LocalDate getDate() {
|
||||
@NotNull public LocalDate getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
@@ -270,7 +270,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public Date getDateTime() {
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
@@ -289,7 +289,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ public class MapTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_of_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public Date getDateTime() {
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ public class Order implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("shipDate")
|
||||
@Valid public Date getShipDate() {
|
||||
public Date getShipDate() {
|
||||
return shipDate;
|
||||
}
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("map_array_integer")
|
||||
@Valid public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
return mapArrayInteger;
|
||||
}
|
||||
|
||||
@@ -234,7 +234,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("map_array_anytype")
|
||||
@Valid public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
return mapArrayAnytype;
|
||||
}
|
||||
|
||||
@@ -269,7 +269,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("map_map_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapString() {
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
return mapMapString;
|
||||
}
|
||||
|
||||
@@ -304,7 +304,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("map_map_anytype")
|
||||
@Valid public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
return mapMapAnytype;
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("array_array_of_integer")
|
||||
@Valid public List<List<Long>> getArrayArrayOfInteger() {
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
||||
|
||||
@@ -309,7 +309,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("outerEnum")
|
||||
@Valid public OuterEnum getOuterEnum() {
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
||||
|
||||
@@ -230,7 +230,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("binary")
|
||||
@Valid public File getBinary() {
|
||||
public File getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
@@ -249,7 +249,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(required = true, description = "")
|
||||
@JsonProperty("date")
|
||||
@NotNull @Valid public LocalDate getDate() {
|
||||
@NotNull public LocalDate getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
@@ -268,7 +268,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public LocalDateTime getDateTime() {
|
||||
public LocalDateTime getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
@@ -287,7 +287,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", description = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ public class MapTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("map_map_of_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public LocalDateTime getDateTime() {
|
||||
public LocalDateTime getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ public class Order implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("shipDate")
|
||||
@Valid public LocalDateTime getShipDate() {
|
||||
public LocalDateTime getShipDate() {
|
||||
return shipDate;
|
||||
}
|
||||
|
||||
|
||||
@@ -74,7 +74,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("map_of_map_property")
|
||||
@Valid public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
return mapOfMapProperty;
|
||||
}
|
||||
|
||||
|
||||
@@ -57,7 +57,7 @@ public class AllOfWithSingleRef implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("SingleRefType")
|
||||
@Valid public SingleRefType getSingleRefType() {
|
||||
public SingleRefType getSingleRefType() {
|
||||
return singleRefType;
|
||||
}
|
||||
|
||||
|
||||
@@ -78,7 +78,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("array_array_of_integer")
|
||||
@Valid public List<List<Long>> getArrayArrayOfInteger() {
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
||||
|
||||
@@ -319,7 +319,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("outerEnum")
|
||||
@Valid public OuterEnum getOuterEnum() {
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
||||
@@ -338,7 +338,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("outerEnumInteger")
|
||||
@Valid public OuterEnumInteger getOuterEnumInteger() {
|
||||
public OuterEnumInteger getOuterEnumInteger() {
|
||||
return outerEnumInteger;
|
||||
}
|
||||
|
||||
@@ -357,7 +357,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("outerEnumDefaultValue")
|
||||
@Valid public OuterEnumDefaultValue getOuterEnumDefaultValue() {
|
||||
public OuterEnumDefaultValue getOuterEnumDefaultValue() {
|
||||
return outerEnumDefaultValue;
|
||||
}
|
||||
|
||||
@@ -376,7 +376,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("outerEnumIntegerDefaultValue")
|
||||
@Valid public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() {
|
||||
public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() {
|
||||
return outerEnumIntegerDefaultValue;
|
||||
}
|
||||
|
||||
|
||||
@@ -253,7 +253,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("binary")
|
||||
@Valid public File getBinary() {
|
||||
public File getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
@@ -272,7 +272,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(required = true, description = "")
|
||||
@JsonProperty("date")
|
||||
@NotNull @Valid public LocalDate getDate() {
|
||||
@NotNull public LocalDate getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
@@ -291,7 +291,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public LocalDateTime getDateTime() {
|
||||
public LocalDateTime getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
@@ -310,7 +310,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", description = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
|
||||
@@ -90,7 +90,7 @@ public class MapTest implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("map_map_of_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
@@ -63,7 +63,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public LocalDateTime getDateTime() {
|
||||
public LocalDateTime getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@ public class NullableClass extends HashMap<String, Object> implements Serializab
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("date_prop")
|
||||
@Valid public LocalDate getDateProp() {
|
||||
public LocalDate getDateProp() {
|
||||
return dateProp;
|
||||
}
|
||||
|
||||
@@ -143,7 +143,7 @@ public class NullableClass extends HashMap<String, Object> implements Serializab
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("datetime_prop")
|
||||
@Valid public LocalDateTime getDatetimeProp() {
|
||||
public LocalDateTime getDatetimeProp() {
|
||||
return datetimeProp;
|
||||
}
|
||||
|
||||
|
||||
@@ -150,7 +150,7 @@ public class Order implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(description = "")
|
||||
@JsonProperty("shipDate")
|
||||
@Valid public LocalDateTime getShipDate() {
|
||||
public LocalDateTime getShipDate() {
|
||||
return shipDate;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ public class OuterObjectWithEnumProperty implements Serializable {
|
||||
|
||||
@org.eclipse.microprofile.openapi.annotations.media.Schema(required = true, description = "")
|
||||
@JsonProperty("value")
|
||||
@NotNull @Valid public OuterEnumInteger getValue() {
|
||||
@NotNull public OuterEnumInteger getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@ public class ReadonlyAndRequiredProperties implements Serializable {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("requiredYesReadonlyYes")
|
||||
public String getRequiredYesReadonlyYes() {
|
||||
@NotNull public String getRequiredYesReadonlyYes() {
|
||||
return requiredYesReadonlyYes;
|
||||
}
|
||||
|
||||
|
||||
@@ -76,7 +76,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_of_map_property")
|
||||
@Valid public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
return mapOfMapProperty;
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ public class AllOfWithSingleRef implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("SingleRefType")
|
||||
@Valid public SingleRefType getSingleRefType() {
|
||||
public SingleRefType getSingleRefType() {
|
||||
return singleRefType;
|
||||
}
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ public class ArrayTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("array_array_of_integer")
|
||||
@Valid public List<List<Long>> getArrayArrayOfInteger() {
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
||||
|
||||
@@ -321,7 +321,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnum")
|
||||
@Valid public OuterEnum getOuterEnum() {
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
||||
@@ -340,7 +340,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnumInteger")
|
||||
@Valid public OuterEnumInteger getOuterEnumInteger() {
|
||||
public OuterEnumInteger getOuterEnumInteger() {
|
||||
return outerEnumInteger;
|
||||
}
|
||||
|
||||
@@ -359,7 +359,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnumDefaultValue")
|
||||
@Valid public OuterEnumDefaultValue getOuterEnumDefaultValue() {
|
||||
public OuterEnumDefaultValue getOuterEnumDefaultValue() {
|
||||
return outerEnumDefaultValue;
|
||||
}
|
||||
|
||||
@@ -378,7 +378,7 @@ public class EnumTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("outerEnumIntegerDefaultValue")
|
||||
@Valid public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() {
|
||||
public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() {
|
||||
return outerEnumIntegerDefaultValue;
|
||||
}
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ public class FakeTestsDefaultsDefaultResponse implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("stringEnum")
|
||||
@Valid public StringEnum getStringEnum() {
|
||||
public StringEnum getStringEnum() {
|
||||
return stringEnum;
|
||||
}
|
||||
|
||||
@@ -159,7 +159,7 @@ public class FakeTestsDefaultsDefaultResponse implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("integerEnum")
|
||||
@Valid public IntegerEnum getIntegerEnum() {
|
||||
public IntegerEnum getIntegerEnum() {
|
||||
return integerEnum;
|
||||
}
|
||||
|
||||
|
||||
@@ -255,7 +255,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("binary")
|
||||
@Valid public File getBinary() {
|
||||
public File getBinary() {
|
||||
return binary;
|
||||
}
|
||||
|
||||
@@ -274,7 +274,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("date")
|
||||
@NotNull @Valid public LocalDate getDate() {
|
||||
@NotNull public LocalDate getDate() {
|
||||
return date;
|
||||
}
|
||||
|
||||
@@ -293,7 +293,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public Date getDateTime() {
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
@@ -312,7 +312,7 @@ public class FormatTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(example = "72f98069-206d-4f12-9f12-3d1e525a8e84", value = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
|
||||
@@ -92,7 +92,7 @@ public class MapTest implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("map_map_of_string")
|
||||
@Valid public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("uuid")
|
||||
@Valid public UUID getUuid() {
|
||||
public UUID getUuid() {
|
||||
return uuid;
|
||||
}
|
||||
|
||||
@@ -65,7 +65,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass implements Serializabl
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("dateTime")
|
||||
@Valid public Date getDateTime() {
|
||||
public Date getDateTime() {
|
||||
return dateTime;
|
||||
}
|
||||
|
||||
|
||||
@@ -126,7 +126,7 @@ public class NullableClass extends HashMap<String, Object> implements Serializab
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("date_prop")
|
||||
@Valid public LocalDate getDateProp() {
|
||||
public LocalDate getDateProp() {
|
||||
return dateProp;
|
||||
}
|
||||
|
||||
@@ -145,7 +145,7 @@ public class NullableClass extends HashMap<String, Object> implements Serializab
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("datetime_prop")
|
||||
@Valid public Date getDatetimeProp() {
|
||||
public Date getDatetimeProp() {
|
||||
return datetimeProp;
|
||||
}
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@ public class Order implements Serializable {
|
||||
|
||||
@ApiModelProperty(value = "")
|
||||
@JsonProperty("shipDate")
|
||||
@Valid public Date getShipDate() {
|
||||
public Date getShipDate() {
|
||||
return shipDate;
|
||||
}
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@ public class OuterObjectWithEnumProperty implements Serializable {
|
||||
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@JsonProperty("value")
|
||||
@NotNull @Valid public OuterEnumInteger getValue() {
|
||||
@NotNull public OuterEnumInteger getValue() {
|
||||
return value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user