Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to exclude resources from SwaggerSupport #22

Closed
arouel opened this issue Aug 6, 2014 · 4 comments
Closed

How to exclude resources from SwaggerSupport #22

arouel opened this issue Aug 6, 2014 · 4 comments
Labels

Comments

@arouel
Copy link
Contributor

arouel commented Aug 6, 2014

I wanna exclude some resources from the API listing when using SwaggerSupport. How should we mark a route definition to be excluded?

@arouel
Copy link
Contributor Author

arouel commented Aug 8, 2014

I found a workaround by dividing my service into two. One for the routes that should be tracked by Swagger and the rest.

@bryce-anderson
Copy link
Member

Is this a reasonable solution, or should we find a more explicit way?

@arouel
Copy link
Contributor Author

arouel commented Aug 14, 2014

If I assume that it is always possible to use many services, than I would say yes. So we should make the answer to this ticket dependent on the possibility to link many service in a Blaze-, Jetty-, Tomcat- and Servlet approach. It looks like that this is the case and I think it is sufficient enough. I think we can move it in our roadmap to an undefined future. What do you think?

@bryce-anderson
Copy link
Member

I think that is a good solution and we can close this issue. If we find another use case, we can reopen this issue or make a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants