This is a simple example to demonstrate Swagger with Spring Boot. The integration is handled by SpringFox, a 3rd party library for enabling Swagger on Spring MVC projects.
For more information on SpringFox, pleas visit http://springfox.io
This project requires Java 7 or greater.
To build:
mvn clean package
This produces an exectuable jar in the target
folder.
To run:
java -jar target/swaggerhub-spring-boot-sample-1.0.0-SNAPSHOT.jar