Generates swagger 1.2 and 2.0 api descriptions from java source code
1.4K
A docker application to generate swagger 2.0 json api description from java source files.
The JSR 311 (JAX-RS) and JSR 339 (JAX-RS 2.0) annotations, the model objects, enum values, as well as the javadoc are used to generate the api descriptions.
docker run --rm \
-u $(id -u):$(id -g) \
-v <path/to/java/sources>:/sources \
-v <path/to/java/dependencies>:/dependencies \
-v <path/to/output>:/output \
swagger-generator-java
You can override the JAVADOC_ARGS environment variable to customize the behavior of the swagger-jaxrs-doclet.
Content type
Image
Digest
Size
183.4 MB
Last updated
over 10 years ago
docker pull mryan/swagger-generator-java