forked from loafle/openapi-generator-original
Remove @Valid even for enum types defined in components (#18451)
* Update beanValidation.mustache * step 3 * Revert "step 3" This reverts commit 73ba918d36e55a440da6435392729c1997266863. * update mustache * # * isContainer * step3 * ^ * fix
This commit is contained in:
parent
51ef8683fb
commit
d5559d5e65
@ -1 +1 @@
|
||||
{{#required}}@NotNull {{/required}}{{^isPrimitiveType}}{{^isDate}}{{^isDateTime}}{{^isString}}{{^isFile}}@Valid {{/isFile}}{{/isString}}{{/isDateTime}}{{/isDate}}{{/isPrimitiveType}}{{>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}}
|
@ -185,7 +185,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid request", response = Void.class),
|
||||
@io.swagger.annotations.ApiResponse(code = 404, message = "Not found", response = Void.class)
|
||||
})
|
||||
public Response testEnumParameters(@ApiParam(value = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@ApiParam(value = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@ApiParam(value = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") @Valid List<String> enumQueryStringArray,@ApiParam(value = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@ApiParam(value = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @FormParam("enum_form_string_array") List<String> enumFormStringArray,@ApiParam(value = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @FormParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
public Response testEnumParameters(@ApiParam(value = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@ApiParam(value = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@ApiParam(value = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") List<String> enumQueryStringArray,@ApiParam(value = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@ApiParam(value = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @FormParam("enum_form_string_array") List<String> enumFormStringArray,@ApiParam(value = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @FormParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, securityContext);
|
||||
}
|
||||
@ -209,7 +209,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Void.class)
|
||||
})
|
||||
public Response testInlineAdditionalProperties(@ApiParam(value = "request body", required = true) @NotNull @Valid Map<String, String> param,@Context SecurityContext securityContext)
|
||||
public Response testInlineAdditionalProperties(@ApiParam(value = "request body", required = true) @NotNull Map<String, String> param,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testInlineAdditionalProperties(param, securityContext);
|
||||
}
|
||||
@ -233,7 +233,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "Success", response = Void.class)
|
||||
})
|
||||
public Response testQueryParameterCollectionFormat(@ApiParam(value = "", required = true) @QueryParam("pipe") @NotNull @Valid List<String> pipe,@ApiParam(value = "", required = true) @QueryParam("ioutil") @NotNull @Valid List<String> ioutil,@ApiParam(value = "", required = true) @QueryParam("http") @NotNull @Valid List<String> http,@ApiParam(value = "", required = true) @QueryParam("url") @NotNull @Valid List<String> url,@ApiParam(value = "", required = true) @QueryParam("context") @NotNull @Valid List<String> context,@Context SecurityContext securityContext)
|
||||
public Response testQueryParameterCollectionFormat(@ApiParam(value = "", required = true) @QueryParam("pipe") @NotNull List<String> pipe,@ApiParam(value = "", required = true) @QueryParam("ioutil") @NotNull List<String> ioutil,@ApiParam(value = "", required = true) @QueryParam("http") @NotNull List<String> http,@ApiParam(value = "", required = true) @QueryParam("url") @NotNull List<String> url,@ApiParam(value = "", required = true) @QueryParam("context") @NotNull List<String> context,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, securityContext);
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ public class PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid status value", response = Void.class)
|
||||
})
|
||||
public Response findPetsByStatus(@ApiParam(value = "Status values that need to be considered for filter", required = true) @QueryParam("status") @NotNull @Valid List<String> status,@Context SecurityContext securityContext)
|
||||
public Response findPetsByStatus(@ApiParam(value = "Status values that need to be considered for filter", required = true) @QueryParam("status") @NotNull List<String> status,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByStatus(status, securityContext);
|
||||
}
|
||||
@ -125,7 +125,7 @@ public class PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "Set"),
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid tag value", response = Void.class)
|
||||
})
|
||||
public Response findPetsByTags(@ApiParam(value = "Tags to filter by", required = true) @QueryParam("tags") @NotNull @Valid Set<String> tags,@Context SecurityContext securityContext)
|
||||
public Response findPetsByTags(@ApiParam(value = "Tags to filter by", required = true) @QueryParam("tags") @NotNull Set<String> tags,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByTags(tags, securityContext);
|
||||
}
|
||||
|
@ -220,7 +220,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
**/
|
||||
@JsonProperty(value = "map_array_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
return mapArrayInteger;
|
||||
}
|
||||
@ -248,7 +248,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
**/
|
||||
@JsonProperty(value = "map_array_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
return mapArrayAnytype;
|
||||
}
|
||||
@ -276,7 +276,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
return mapMapString;
|
||||
}
|
||||
@ -304,7 +304,7 @@ public class AdditionalPropertiesClass implements Serializable {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
return mapMapAnytype;
|
||||
}
|
||||
|
@ -96,7 +96,7 @@ public class ArrayTest implements Serializable {
|
||||
**/
|
||||
@JsonProperty(value = "array_array_of_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
@ -277,7 +277,7 @@ public class EnumTest implements Serializable {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnum")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
@ -103,7 +103,7 @@ public class MapTest implements Serializable {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_of_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
@ -175,7 +175,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Void.class)
|
||||
})
|
||||
public Response testAdditionalPropertiesReference(@ApiParam(value = "request body", required = true) @NotNull @Valid Map<String, Object> requestBody,@Context SecurityContext securityContext)
|
||||
public Response testAdditionalPropertiesReference(@ApiParam(value = "request body", required = true) @NotNull Map<String, Object> requestBody,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testAdditionalPropertiesReference(requestBody, securityContext);
|
||||
}
|
||||
@ -252,7 +252,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid request", response = Void.class),
|
||||
@io.swagger.annotations.ApiResponse(code = 404, message = "Not found", response = Void.class)
|
||||
})
|
||||
public Response testEnumParameters(@ApiParam(value = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@ApiParam(value = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@ApiParam(value = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") @Valid List<String> enumQueryStringArray,@ApiParam(value = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@ApiParam(value = "") @QueryParam("enum_query_model_array") @Valid List<EnumClass> enumQueryModelArray,@ApiParam(value = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @FormParam("enum_form_string_array") List<String> enumFormStringArray,@ApiParam(value = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @FormParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
public Response testEnumParameters(@ApiParam(value = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@ApiParam(value = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@ApiParam(value = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") List<String> enumQueryStringArray,@ApiParam(value = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@ApiParam(value = "") @QueryParam("enum_query_model_array") List<EnumClass> enumQueryModelArray,@ApiParam(value = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @FormParam("enum_form_string_array") List<String> enumFormStringArray,@ApiParam(value = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @FormParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, securityContext);
|
||||
}
|
||||
@ -278,7 +278,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Void.class)
|
||||
})
|
||||
public Response testInlineAdditionalProperties(@ApiParam(value = "request body", required = true) @NotNull @Valid Map<String, String> requestBody,@Context SecurityContext securityContext)
|
||||
public Response testInlineAdditionalProperties(@ApiParam(value = "request body", required = true) @NotNull Map<String, String> requestBody,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testInlineAdditionalProperties(requestBody, securityContext);
|
||||
}
|
||||
@ -326,7 +326,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "Success", response = Void.class)
|
||||
})
|
||||
public Response testQueryParameterCollectionFormat(@ApiParam(value = "", required = true) @QueryParam("pipe") @NotNull @Valid List<String> pipe,@ApiParam(value = "", required = true) @QueryParam("ioutil") @NotNull @Valid List<String> ioutil,@ApiParam(value = "", required = true) @QueryParam("http") @NotNull @Valid List<String> http,@ApiParam(value = "", required = true) @QueryParam("url") @NotNull @Valid List<String> url,@ApiParam(value = "", required = true) @QueryParam("context") @NotNull @Valid List<String> context,@ApiParam(value = "", required = true) @QueryParam("allowEmpty") @NotNull String allowEmpty,@ApiParam(value = "") @QueryParam("language") @Valid Map<String, String> language,@Context SecurityContext securityContext)
|
||||
public Response testQueryParameterCollectionFormat(@ApiParam(value = "", required = true) @QueryParam("pipe") @NotNull List<String> pipe,@ApiParam(value = "", required = true) @QueryParam("ioutil") @NotNull List<String> ioutil,@ApiParam(value = "", required = true) @QueryParam("http") @NotNull List<String> http,@ApiParam(value = "", required = true) @QueryParam("url") @NotNull List<String> url,@ApiParam(value = "", required = true) @QueryParam("context") @NotNull List<String> context,@ApiParam(value = "", required = true) @QueryParam("allowEmpty") @NotNull String allowEmpty,@ApiParam(value = "") @QueryParam("language") Map<String, String> language,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language, securityContext);
|
||||
}
|
||||
@ -338,7 +338,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Void.class)
|
||||
})
|
||||
public Response testStringMapReference(@ApiParam(value = "request body", required = true) @NotNull @Valid Map<String, String> requestBody,@Context SecurityContext securityContext)
|
||||
public Response testStringMapReference(@ApiParam(value = "request body", required = true) @NotNull Map<String, String> requestBody,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testStringMapReference(requestBody, securityContext);
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ public class PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid status value", response = Void.class)
|
||||
})
|
||||
public Response findPetsByStatus(@ApiParam(value = "Status values that need to be considered for filter", required = true) @QueryParam("status") @NotNull @Valid List<String> status,@Context SecurityContext securityContext)
|
||||
public Response findPetsByStatus(@ApiParam(value = "Status values that need to be considered for filter", required = true) @QueryParam("status") @NotNull List<String> status,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByStatus(status, securityContext);
|
||||
}
|
||||
@ -125,7 +125,7 @@ public class PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "Set"),
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid tag value", response = Void.class)
|
||||
})
|
||||
public Response findPetsByTags(@ApiParam(value = "Tags to filter by", required = true) @QueryParam("tags") @NotNull @Valid Set<String> tags,@Context SecurityContext securityContext)
|
||||
public Response findPetsByTags(@ApiParam(value = "Tags to filter by", required = true) @QueryParam("tags") @NotNull Set<String> tags,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByTags(tags, securityContext);
|
||||
}
|
||||
|
@ -88,7 +88,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_of_map_property")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
return mapOfMapProperty;
|
||||
}
|
||||
|
@ -72,7 +72,7 @@ public class AllOfWithSingleRef {
|
||||
**/
|
||||
@JsonProperty(value = "SingleRefType")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public SingleRefType getSingleRefType() {
|
||||
return singleRefType;
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ public class ArrayTest {
|
||||
**/
|
||||
@JsonProperty(value = "array_array_of_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
@ -294,7 +294,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnum")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
@ -314,7 +314,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnumInteger")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnumInteger getOuterEnumInteger() {
|
||||
return outerEnumInteger;
|
||||
}
|
||||
@ -334,7 +334,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnumDefaultValue")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnumDefaultValue getOuterEnumDefaultValue() {
|
||||
return outerEnumDefaultValue;
|
||||
}
|
||||
@ -354,7 +354,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnumIntegerDefaultValue")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() {
|
||||
return outerEnumIntegerDefaultValue;
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ public class MapTest {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_of_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
@ -47,7 +47,7 @@ public class OuterObjectWithEnumProperty {
|
||||
**/
|
||||
@JsonProperty(value = "value")
|
||||
@ApiModelProperty(required = true, value = "")
|
||||
@NotNull @Valid
|
||||
@NotNull
|
||||
public OuterEnumInteger getValue() {
|
||||
return value;
|
||||
}
|
||||
|
@ -183,7 +183,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid request", response = Void.class),
|
||||
@io.swagger.annotations.ApiResponse(code = 404, message = "Not found", response = Void.class)
|
||||
})
|
||||
public Response testEnumParameters(@ApiParam(value = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@ApiParam(value = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@ApiParam(value = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") @Valid List<String> enumQueryStringArray,@ApiParam(value = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@ApiParam(value = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @FormParam("enum_form_string_array") List<String> enumFormStringArray,@ApiParam(value = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @FormParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
public Response testEnumParameters(@ApiParam(value = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@ApiParam(value = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@ApiParam(value = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") List<String> enumQueryStringArray,@ApiParam(value = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@ApiParam(value = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @FormParam("enum_form_string_array") List<String> enumFormStringArray,@ApiParam(value = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @FormParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, securityContext);
|
||||
}
|
||||
@ -207,7 +207,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Void.class)
|
||||
})
|
||||
public Response testInlineAdditionalProperties(@ApiParam(value = "request body", required = true) @NotNull @Valid Map<String, String> param,@Context SecurityContext securityContext)
|
||||
public Response testInlineAdditionalProperties(@ApiParam(value = "request body", required = true) @NotNull Map<String, String> param,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testInlineAdditionalProperties(param, securityContext);
|
||||
}
|
||||
@ -231,7 +231,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "Success", response = Void.class)
|
||||
})
|
||||
public Response testQueryParameterCollectionFormat(@ApiParam(value = "", required = true) @QueryParam("pipe") @NotNull @Valid List<String> pipe,@ApiParam(value = "", required = true) @QueryParam("ioutil") @NotNull @Valid List<String> ioutil,@ApiParam(value = "", required = true) @QueryParam("http") @NotNull @Valid List<String> http,@ApiParam(value = "", required = true) @QueryParam("url") @NotNull @Valid List<String> url,@ApiParam(value = "", required = true) @QueryParam("context") @NotNull @Valid List<String> context,@Context SecurityContext securityContext)
|
||||
public Response testQueryParameterCollectionFormat(@ApiParam(value = "", required = true) @QueryParam("pipe") @NotNull List<String> pipe,@ApiParam(value = "", required = true) @QueryParam("ioutil") @NotNull List<String> ioutil,@ApiParam(value = "", required = true) @QueryParam("http") @NotNull List<String> http,@ApiParam(value = "", required = true) @QueryParam("url") @NotNull List<String> url,@ApiParam(value = "", required = true) @QueryParam("context") @NotNull List<String> context,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, securityContext);
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ public class PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid status value", response = Void.class)
|
||||
})
|
||||
public Response findPetsByStatus(@ApiParam(value = "Status values that need to be considered for filter", required = true) @QueryParam("status") @NotNull @Valid List<String> status,@Context SecurityContext securityContext)
|
||||
public Response findPetsByStatus(@ApiParam(value = "Status values that need to be considered for filter", required = true) @QueryParam("status") @NotNull List<String> status,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByStatus(status, securityContext);
|
||||
}
|
||||
@ -125,7 +125,7 @@ public class PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "Set"),
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid tag value", response = Void.class)
|
||||
})
|
||||
public Response findPetsByTags(@ApiParam(value = "Tags to filter by", required = true) @QueryParam("tags") @NotNull @Valid Set<String> tags,@Context SecurityContext securityContext)
|
||||
public Response findPetsByTags(@ApiParam(value = "Tags to filter by", required = true) @QueryParam("tags") @NotNull Set<String> tags,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByTags(tags, securityContext);
|
||||
}
|
||||
|
@ -219,7 +219,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_array_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
return mapArrayInteger;
|
||||
}
|
||||
@ -247,7 +247,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_array_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
return mapArrayAnytype;
|
||||
}
|
||||
@ -275,7 +275,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
return mapMapString;
|
||||
}
|
||||
@ -303,7 +303,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
return mapMapAnytype;
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ public class ArrayTest {
|
||||
**/
|
||||
@JsonProperty(value = "array_array_of_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnum")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ public class MapTest {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_of_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
@ -184,7 +184,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid request", response = Void.class),
|
||||
@io.swagger.annotations.ApiResponse(code = 404, message = "Not found", response = Void.class)
|
||||
})
|
||||
public Response testEnumParameters(@ApiParam(value = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@ApiParam(value = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@ApiParam(value = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") @Valid List<String> enumQueryStringArray,@ApiParam(value = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@ApiParam(value = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @FormParam("enum_form_string_array") List<String> enumFormStringArray,@ApiParam(value = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @FormParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
public Response testEnumParameters(@ApiParam(value = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@ApiParam(value = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@ApiParam(value = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") List<String> enumQueryStringArray,@ApiParam(value = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@ApiParam(value = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@ApiParam(value = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @FormParam("enum_form_string_array") List<String> enumFormStringArray,@ApiParam(value = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @FormParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumFormStringArray, enumFormString, securityContext);
|
||||
}
|
||||
@ -208,7 +208,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Void.class)
|
||||
})
|
||||
public Response testInlineAdditionalProperties(@ApiParam(value = "request body", required = true) @NotNull @Valid Map<String, String> param,@Context SecurityContext securityContext)
|
||||
public Response testInlineAdditionalProperties(@ApiParam(value = "request body", required = true) @NotNull Map<String, String> param,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testInlineAdditionalProperties(param, securityContext);
|
||||
}
|
||||
@ -232,7 +232,7 @@ public class FakeApi {
|
||||
@io.swagger.annotations.ApiResponses(value = {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "Success", response = Void.class)
|
||||
})
|
||||
public Response testQueryParameterCollectionFormat(@ApiParam(value = "", required = true) @QueryParam("pipe") @NotNull @Valid List<String> pipe,@ApiParam(value = "", required = true) @QueryParam("ioutil") @NotNull @Valid List<String> ioutil,@ApiParam(value = "", required = true) @QueryParam("http") @NotNull @Valid List<String> http,@ApiParam(value = "", required = true) @QueryParam("url") @NotNull @Valid List<String> url,@ApiParam(value = "", required = true) @QueryParam("context") @NotNull @Valid List<String> context,@Context SecurityContext securityContext)
|
||||
public Response testQueryParameterCollectionFormat(@ApiParam(value = "", required = true) @QueryParam("pipe") @NotNull List<String> pipe,@ApiParam(value = "", required = true) @QueryParam("ioutil") @NotNull List<String> ioutil,@ApiParam(value = "", required = true) @QueryParam("http") @NotNull List<String> http,@ApiParam(value = "", required = true) @QueryParam("url") @NotNull List<String> url,@ApiParam(value = "", required = true) @QueryParam("context") @NotNull List<String> context,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, securityContext);
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ public class PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid status value", response = Void.class)
|
||||
})
|
||||
public Response findPetsByStatus(@ApiParam(value = "Status values that need to be considered for filter", required = true) @QueryParam("status") @NotNull @Valid List<String> status,@Context SecurityContext securityContext)
|
||||
public Response findPetsByStatus(@ApiParam(value = "Status values that need to be considered for filter", required = true) @QueryParam("status") @NotNull List<String> status,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByStatus(status, securityContext);
|
||||
}
|
||||
@ -125,7 +125,7 @@ public class PetApi {
|
||||
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "Set"),
|
||||
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid tag value", response = Void.class)
|
||||
})
|
||||
public Response findPetsByTags(@ApiParam(value = "Tags to filter by", required = true) @QueryParam("tags") @NotNull @Valid Set<String> tags,@Context SecurityContext securityContext)
|
||||
public Response findPetsByTags(@ApiParam(value = "Tags to filter by", required = true) @QueryParam("tags") @NotNull Set<String> tags,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByTags(tags, securityContext);
|
||||
}
|
||||
|
@ -219,7 +219,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_array_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, List<Integer>> getMapArrayInteger() {
|
||||
return mapArrayInteger;
|
||||
}
|
||||
@ -247,7 +247,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_array_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, List<Object>> getMapArrayAnytype() {
|
||||
return mapArrayAnytype;
|
||||
}
|
||||
@ -275,7 +275,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapString() {
|
||||
return mapMapString;
|
||||
}
|
||||
@ -303,7 +303,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_anytype")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, Object>> getMapMapAnytype() {
|
||||
return mapMapAnytype;
|
||||
}
|
||||
|
@ -95,7 +95,7 @@ public class ArrayTest {
|
||||
**/
|
||||
@JsonProperty(value = "array_array_of_integer")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
@ -276,7 +276,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnum")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
|
@ -102,7 +102,7 @@ public class MapTest {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_of_string")
|
||||
@ApiModelProperty(value = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
@ -185,7 +185,7 @@ public class FakeApi {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation", content =
|
||||
@Content(schema = @Schema(implementation = Void.class))),
|
||||
}, tags={ "fake", })
|
||||
public Response testAdditionalPropertiesReference(@Schema(description = "request body", required = true) @NotNull @Valid Map<String, Object> requestBody,@Context SecurityContext securityContext)
|
||||
public Response testAdditionalPropertiesReference(@Schema(description = "request body", required = true) @NotNull Map<String, Object> requestBody,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testAdditionalPropertiesReference(requestBody, securityContext);
|
||||
}
|
||||
@ -261,7 +261,7 @@ public class FakeApi {
|
||||
@ApiResponse(responseCode = "404", description = "Not found", content =
|
||||
@Content(schema = @Schema(implementation = Void.class))),
|
||||
}, tags={ "fake", })
|
||||
public Response testEnumParameters(@Schema(description = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@Schema(description = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@Schema(description = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") @Valid List<String> enumQueryStringArray,@Schema(description = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@Schema(description = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@Schema(description = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@Schema(description = "") @QueryParam("enum_query_model_array") @Valid List<EnumClass> enumQueryModelArray,@Schema(description = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @QueryParam("enum_form_string_array") List<String> enumFormStringArray,@Schema(description = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @QueryParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
public Response testEnumParameters(@Schema(description = "Header parameter enum test (string array)" , allowableValues=">, $")@HeaderParam("enum_header_string_array") List<String> enumHeaderStringArray,@Schema(description = "Header parameter enum test (string)" , allowableValues="_abc, -efg, (xyz)", defaultValue="-efg")@HeaderParam("enum_header_string") String enumHeaderString,@Schema(description = "Query parameter enum test (string array)") @QueryParam("enum_query_string_array") List<String> enumQueryStringArray,@Schema(description = "Query parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue = "-efg") @DefaultValue("-efg") @QueryParam("enum_query_string") String enumQueryString,@Schema(description = "Query parameter enum test (double)", allowableValues="1, -2") @QueryParam("enum_query_integer") Integer enumQueryInteger,@Schema(description = "Query parameter enum test (double)", allowableValues="1.1, -1.2") @QueryParam("enum_query_double") Double enumQueryDouble,@Schema(description = "") @QueryParam("enum_query_model_array") List<EnumClass> enumQueryModelArray,@Schema(description = "Form parameter enum test (string array)", allowableValues=">, $", defaultValue="$") @DefaultValue("$") @QueryParam("enum_form_string_array") List<String> enumFormStringArray,@Schema(description = "Form parameter enum test (string)", allowableValues="_abc, -efg, (xyz)", defaultValue="-efg") @DefaultValue("-efg") @QueryParam("enum_form_string") String enumFormString,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testEnumParameters(enumHeaderStringArray, enumHeaderString, enumQueryStringArray, enumQueryString, enumQueryInteger, enumQueryDouble, enumQueryModelArray, enumFormStringArray, enumFormString, securityContext);
|
||||
}
|
||||
@ -285,7 +285,7 @@ public class FakeApi {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation", content =
|
||||
@Content(schema = @Schema(implementation = Void.class))),
|
||||
}, tags={ "fake", })
|
||||
public Response testInlineAdditionalProperties(@Schema(description = "request body", required = true) @NotNull @Valid Map<String, String> requestBody,@Context SecurityContext securityContext)
|
||||
public Response testInlineAdditionalProperties(@Schema(description = "request body", required = true) @NotNull Map<String, String> requestBody,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testInlineAdditionalProperties(requestBody, securityContext);
|
||||
}
|
||||
@ -332,7 +332,7 @@ public class FakeApi {
|
||||
@ApiResponse(responseCode = "200", description = "Success", content =
|
||||
@Content(schema = @Schema(implementation = Void.class))),
|
||||
}, tags={ "fake", })
|
||||
public Response testQueryParameterCollectionFormat(@Schema(description = "") @QueryParam("pipe") @NotNull @Valid List<String> pipe,@Schema(description = "") @QueryParam("ioutil") @NotNull @Valid List<String> ioutil,@Schema(description = "") @QueryParam("http") @NotNull @Valid List<String> http,@Schema(description = "") @QueryParam("url") @NotNull @Valid List<String> url,@Schema(description = "") @QueryParam("context") @NotNull @Valid List<String> context,@Schema(description = "") @QueryParam("allowEmpty") @NotNull String allowEmpty,@Schema(description = "") @Parameter(description="language") @Valid Map<String, String> language,@Context SecurityContext securityContext)
|
||||
public Response testQueryParameterCollectionFormat(@Schema(description = "") @QueryParam("pipe") @NotNull List<String> pipe,@Schema(description = "") @QueryParam("ioutil") @NotNull List<String> ioutil,@Schema(description = "") @QueryParam("http") @NotNull List<String> http,@Schema(description = "") @QueryParam("url") @NotNull List<String> url,@Schema(description = "") @QueryParam("context") @NotNull List<String> context,@Schema(description = "") @QueryParam("allowEmpty") @NotNull String allowEmpty,@Schema(description = "") @Parameter(description="language") Map<String, String> language,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testQueryParameterCollectionFormat(pipe, ioutil, http, url, context, allowEmpty, language, securityContext);
|
||||
}
|
||||
@ -344,7 +344,7 @@ public class FakeApi {
|
||||
@ApiResponse(responseCode = "200", description = "successful operation", content =
|
||||
@Content(schema = @Schema(implementation = Void.class))),
|
||||
}, tags={ "fake", })
|
||||
public Response testStringMapReference(@Schema(description = "request body", required = true) @NotNull @Valid Map<String, String> requestBody,@Context SecurityContext securityContext)
|
||||
public Response testStringMapReference(@Schema(description = "request body", required = true) @NotNull Map<String, String> requestBody,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.testStringMapReference(requestBody, securityContext);
|
||||
}
|
||||
|
@ -104,7 +104,7 @@ public class PetApi {
|
||||
},security = {
|
||||
@SecurityRequirement(name = "petstore_auth", scopes={ "write:pets", "read:pets" })
|
||||
}, tags={ "pet", })
|
||||
public Response findPetsByStatus(@Schema(description = "Status values that need to be considered for filter") @QueryParam("status") @NotNull @Valid List<String> status,@Context SecurityContext securityContext)
|
||||
public Response findPetsByStatus(@Schema(description = "Status values that need to be considered for filter") @QueryParam("status") @NotNull List<String> status,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByStatus(status, securityContext);
|
||||
}
|
||||
@ -120,7 +120,7 @@ public class PetApi {
|
||||
},security = {
|
||||
@SecurityRequirement(name = "petstore_auth", scopes={ "write:pets", "read:pets" })
|
||||
}, tags={ "pet", })
|
||||
public Response findPetsByTags(@Schema(description = "Tags to filter by") @QueryParam("tags") @NotNull @Valid Set<String> tags,@Context SecurityContext securityContext)
|
||||
public Response findPetsByTags(@Schema(description = "Tags to filter by") @QueryParam("tags") @NotNull Set<String> tags,@Context SecurityContext securityContext)
|
||||
throws NotFoundException {
|
||||
return delegate.findPetsByTags(tags, securityContext);
|
||||
}
|
||||
|
@ -87,7 +87,7 @@ public class AdditionalPropertiesClass {
|
||||
**/
|
||||
@JsonProperty(value = "map_of_map_property")
|
||||
@Schema(description = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapOfMapProperty() {
|
||||
return mapOfMapProperty;
|
||||
}
|
||||
|
@ -71,7 +71,7 @@ public class AllOfWithSingleRef {
|
||||
**/
|
||||
@JsonProperty(value = "SingleRefType")
|
||||
@Schema(description = "")
|
||||
@Valid
|
||||
|
||||
public SingleRefType getSingleRefType() {
|
||||
return singleRefType;
|
||||
}
|
||||
|
@ -94,7 +94,7 @@ public class ArrayTest {
|
||||
**/
|
||||
@JsonProperty(value = "array_array_of_integer")
|
||||
@Schema(description = "")
|
||||
@Valid
|
||||
|
||||
public List<List<Long>> getArrayArrayOfInteger() {
|
||||
return arrayArrayOfInteger;
|
||||
}
|
||||
|
@ -293,7 +293,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnum")
|
||||
@Schema(description = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnum getOuterEnum() {
|
||||
return outerEnum;
|
||||
}
|
||||
@ -313,7 +313,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnumInteger")
|
||||
@Schema(description = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnumInteger getOuterEnumInteger() {
|
||||
return outerEnumInteger;
|
||||
}
|
||||
@ -333,7 +333,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnumDefaultValue")
|
||||
@Schema(description = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnumDefaultValue getOuterEnumDefaultValue() {
|
||||
return outerEnumDefaultValue;
|
||||
}
|
||||
@ -353,7 +353,7 @@ public class EnumTest {
|
||||
**/
|
||||
@JsonProperty(value = "outerEnumIntegerDefaultValue")
|
||||
@Schema(description = "")
|
||||
@Valid
|
||||
|
||||
public OuterEnumIntegerDefaultValue getOuterEnumIntegerDefaultValue() {
|
||||
return outerEnumIntegerDefaultValue;
|
||||
}
|
||||
|
@ -101,7 +101,7 @@ public class MapTest {
|
||||
**/
|
||||
@JsonProperty(value = "map_map_of_string")
|
||||
@Schema(description = "")
|
||||
@Valid
|
||||
|
||||
public Map<String, Map<String, String>> getMapMapOfString() {
|
||||
return mapMapOfString;
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ public class OuterObjectWithEnumProperty {
|
||||
**/
|
||||
@JsonProperty(value = "value")
|
||||
@Schema(required = true, description = "")
|
||||
@NotNull @Valid
|
||||
@NotNull
|
||||
public OuterEnumInteger getValue() {
|
||||
return value;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user