-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Is there a way to generate a "sitemap" of a REST API? #129
Comments
Even just being able to do this for debugging via |
You can use |
@elithrar I have tried to use the Walk function to print the list of pathes which the router handles but something is wrong, every single route have an empty name: https://gist.github.com/elico/170b4d98b52b1da58d56 |
You have to add the name to the routes if you want to get it later using the Name() method |
@nicowernli OK, from the code I was suspecting that this is what I would be required to do. |
I'm sory @elico, I'v been reading the source code and it looks like you can't access the path but not 100% sure |
@nicowernli @elithrar I am thinking about patching the source and to add a getMatchers to kind of solve the issue. |
Refer to #104 for an upcoming approach for addressing this. |
I have a REST api defined with Gorrillamux, and want to show a hierarchical view of the entire REST api in HTML. Does Gorillamux provide any API calls that would make that relatively easy?
The text was updated successfully, but these errors were encountered: