In short, I would like to create some static Swagger HTML documentation from a JAX-RS interface that does not have Swagger annotations.
Here is what I have:
- a fully JAX-RS-annotated Java interface
- full Javadoc for each method
- @PathParam, etc., annotation that link headers, URL placeholders, etc. to method parameters
- fully javadoc'd POJO classes that are used as part of the REST API
Here is what I want:
- a Swagger-style static HTML page (including CSS) that describes my API
- it should include parameter descriptions based on the javadoc and JAX-RS annotations
- it should include JSON descriptions based on the POJO classes
- it should have the ability to generate HTML using a Maven plugin
Here is what I don't want:
- Swagger @Api, etc. annotations
- ability to test or try out the API dynamically
I tried using the swagger-maven-plugin, but without @Api and @ApiOperation it doesn't generate anything useful, and it doesn't seem to pick up parameter descriptions from the javadoc either.
Am I completely barking up the wrong tree here, or am I just missing some simple configuration?
Thanks!