sdaschner / jaxrs-analyzer

Creates REST documentation for JAX-RS projects
Apache License 2.0
319 stars 101 forks source link

How to use Swagger-Annotations #132

Closed jmanteigueiro closed 6 years ago

jmanteigueiro commented 6 years ago

Is it possible to use swagger annotations instead of JavaDocs?

If so, can you provide an example ? Thanks!

rmpestano commented 6 years ago

Hi @jmanteigueiro, jaxrs-anayzer doesn't use swagger annotations, it reads JaxRS annotations, Javadoc and uses bytecode analysis to create swagger.json/adoc/txt.

For an example take a look at this post: https://rpestano.wordpress.com/2017/03/01/smooth-and-powerful-swagger-integration-via-jaxrs-analyzer/