How to integrate swagger and Katharsis?

619 views Asked by At

How to integrate swagger and Katharsis? I don't know how to put swagger annotation in Katharsis Katharsis website: http://katharsis.io/. Thanks.

    @GET
@Path("/{id}")
@RolesAllowed({Roles.SYSTEM_USER})
@ApiOperation(
        value = "Get a XXXXXX."
)
@ApiResponses(value = {
        @ApiResponse(code = 200, response = dto.class, message = "Return the xxxxx"))
})
@Produces(MediaType.APPLICATION_JSON)
public Response getXXXXX(

Take Jersery as example, we can add some swagger and use swagger-ui to generator a rest document.

How to do this in Katharsis?

0

There are 0 answers