mvn clean install
mvn spring-boot:run
Click on the link to access the swagger ui.
Swagger-UI http://localhost:7772/spring-boot2/swagger-ui.html
To create static document in pdf and html format, Run following command
mvn test
Three files will be created in \src\main\resources\asciidoc directory
-
api-doc.adoc
-
api-doc.html
-
api-doc.pdf
-
PDF Sample : Generated pdf document
-
HTML Sample : Generated html document | Preview