0

I want to document my jersey web services what my thought is i want to document the input data which we are passing to the service and also the parameters which we are passing to the service, so that the document readers can understand about the services in a better way.

For example

@GET
    @Produces(MediaType.APPLICATION_JSON)
    @Path("/getuserbyid/{uid}")
    public Response getuserbyid(@PathParam("uid") int id)

Is our code means the document should have to information about the Path Params and input body if present for other services.

I don't have any idea how to implement this

3
  • Take a look at Swagger.
    – Narmer
    Sep 18, 2014 at 12:22
  • This link is best.
    – Narmer
    Sep 18, 2014 at 12:28
  • Thanks , swagger works really well
    – SivaTeja
    Dec 29, 2015 at 11:05

1 Answer 1

0

Swagger is one of the best documenting tool for documenting the Rest full web services. check this link

Not the answer you're looking for? Browse other questions tagged or ask your own question.