wkennedy / swagger4spring-web

Swagger support for Spring MVC
89 stars 46 forks source link

Can API Docs be separated into multiple pages #42

Closed drm4652 closed 10 years ago

drm4652 commented 10 years ago

Hello, I'm currently working on developing a swagger patch for my company's new API. The issue is that right now every controller is listed onto the same page but we would like to be able to separate these into different pages. We were using springmvc but this functionality doesn't seem possible. Is this doable or not?

MartinAhrer commented 10 years ago

Shouldn't this be possible just by setup of multiple documentation controller's that are only handling resources (API controllers) of specific packages and each of those documentation controllers is mapped to a different view URL:

This certainly requires that your controllers are organized in appropriate packages (e.g per module) .

drm4652 commented 10 years ago

Yes, thank you I eventually figured this out. I'll close this out.