I tried using swagger, spring-rest-doc and spring-fox to generate documentation for spring mvc based rest services. However, my challenge is to document spring security xml configuration based endpoints. So far spring-fox has been the winner. But it documents all of the methods that spring security supports. Any ideas on how to filter out the ones I need?
For instance, when I use /swagger-ui.html to pull up the documentation page I see the following groups:
- basic-error-controller
- authorization-endpoint
- whitelabel-approval-endpoint
- health-checker
Of which I only need authorization-endpoint and health-checker. Any ideas?