wkennedy / swagger4spring-web

Swagger support for Spring MVC
89 stars 46 forks source link

Categories #86

Open allartammik opened 9 years ago

allartammik commented 9 years ago

Hi

I'm sending a pull request. This modification is driven by growing amount of controllers in our application. To make swagger more easily readable, we wanted to group them somehow. So we introduced categories to this API.

In detail, now you can group multiple controllers together into a 'category' using ApiCategory annotation. Feature is fully tested and we are using it in production. We also added default alphabetic sorting of paths (if order is not explicitly given).