-
Notifications
You must be signed in to change notification settings - Fork 474
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
Support for grape version cascading #146
Comments
👍 |
Has anyone come up with a good solution for mounting multiple api versions on one swagger doc endpoint? |
👍 |
2 similar comments
+1 |
👍 |
solved in actual versions |
Can anyone confirm that this is actually solved? (And if it is, maybe point to an example.) |
If I mount my v1 endpoints like so:
...and mount my v2 endpoints like so:
...then grape-swagger should understand the version cascading and include the
API::V1::Places
endpoints in the v2 docs. Currently, grape-swagger only reads the endpoints that are explicitly mounted in the module in which it is defined.The text was updated successfully, but these errors were encountered: