Create your project spring boot with spring initializr, this web generate your project with depedencies you choose.
Address Website :
http://start.spring.io/
Create your project spring boot with spring initializr, this web generate your project with depedencies you choose.
Address Website :
http://start.spring.io/
Please Learning Swagger documentation for rest.
To Add Swagger to your application
add the depedencies :
<dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.7.0</version> <scope>compile</scope> </dependency> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger-ui</artifactId> <version>2.7.0</version> <scope>compile</scope> </dependency>