swagger-maven-plugin with Spring MVC annotations sample

I have found that adding swagger documentation for "legacy" spring application is not that easy :D

After a lot of research, I decided to use swagger-maven-plugin
but I had a problem, JSON is generated but without any API detected. Searching around the net I realized that im not the only one.

Finally I got the working example. Check this out: https://github.com/khipis/swagger-maven-example


Popularne posty