Java application implementing a sample REST API using Spring MVC and Swagger annotations to describe the API.
Execute the following command:
mvn clean compile
Execute the following command:
mvn spring-boot:run
By default, the Spring Boot application runs at the UR http://localhost:8080.
If you want to generate the API specification from the source code, just execute the following command:
mvn clean compile
The API specification will be generated within the generated/swagger-api-spec folder.
There are also some templates available inside the templates folder. Those templates are used during the execution of swagger-maven-plugin to generate a markdown file with the API documentation (generated/documentation.md)