This project shows how to use a Springfox plugin to automatically generate documentation for errors returned from a Spring Boot controller.
This is a standard Spring Boot 2 / Java 11 project, built and run using Maven.
To run the demo application, simply execute:
mvn spring-boot:run
then open a browser to http://localhost:8080/swagger-ui.html .