-1

I'm basically looking for a simple tool, optimally, a Maven plugin which can scan the sources (perhaps as an annotation processor, or something) and generate documentation based on the various Jersey-annotated methods.

Does something like this exist?

carlspring
  • 31,231
  • 29
  • 115
  • 197
  • 1
    I think [this post](http://stackoverflow.com/questions/1714029/howto-automate-documentation-of-a-rest-api-jersey-implementation) contains the answer to your question. – Stijn Koopal Mar 21 '16 at 18:21
  • To the downvoter, not cool, man. Not cool! I know there are tools out there. I'm looking for one that has a Maven plugin and is specifically aimed at Jersey, if possible. When you down-vote, put a comment, otherwise a -2 makes no sense. – carlspring Mar 22 '16 at 18:27

1 Answers1

2

I think JAX-RS Analyzer could be what you are looking for. You can run it directly from the jar file or via a Maven plugin.

It gathers the information about the JAX-RS resource classes by bytecode analysis (not just by reflection). This gains more information in several situations. You don’t need additional annotations on your JAX-RS resource methods. Using the JSR 339 standard is sufficient.

pgiecek
  • 7,970
  • 4
  • 39
  • 47