Springfox Swagger and Swagger maven plugins… here is a solution to the problem.
Springfox Swagger and Swagger maven plugins
There are Springfox Swagger 2 specification sum implementation of Swagger Maven plugin. What is the difference between them? When should I prefer one?
Solution
The Swagger maven plugin generates the swagger specification from Java annotations.
Springfox generates a complete web-based UI from Java annotations, with documentation, examples, and features to try these things.