Is there a way to get swagger codegen to add jaxrs validation annotations for the validation of path parameters and output model.
I mean the @Valid and @NotNull annotations in the following code:
@Path("/person/{personId}")
@GET
@Valid
public Response getPerson(@NotNull @PathParam Integer personId) {
// TO Do
}
Thanks!