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 can I get the available routes? #113

Open
BrunoQuaresma opened this issue Nov 6, 2017 · 1 comment
Open

How can I get the available routes? #113

BrunoQuaresma opened this issue Nov 6, 2017 · 1 comment

Comments

@BrunoQuaresma
Copy link

I want to return a resource JSON representation with a link to itself. But I don't want to do that writing the path in a hard-coded way. Is there some way to get req.swagger.urls.hello or something like named routes?

Thanks.

@theganyo
Copy link
Collaborator

theganyo commented Nov 8, 2017

Sorry, I don't understand what you're after exactly, but you do have programmatic access to anything that Sway provides: https://github.com/apigee-127/sway.

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

No branches or pull requests

2 participants