有没有办法让swagger codegen为路径参数和输出模型的验证添加jaxrs验证注释 .
我的意思是以下代码中的@Valid和@NotNull注释:
@Path("/person/{personId}") @GET @Valid public Response getPerson(@NotNull @PathParam Integer personId) { // TO Do }
谢谢!