A mini project to answer a Stack Overflow question about Swagger annotations.
It demonstrates Swagger annotations, specifically @ApiResponses
, for configuring responses in API documentation.
For more details read the answer.
- Java 8
- Spring Boot 2
- Spring MVC
- Springfox
- Gradle
./gradlew bootRun
Open http://localhost:8080/swagger-ui.html in browser.
This work is licensed under Creative Commons Attribution-Share Alike. Proper attribution is required if you republish this repository content.