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

way to dynamically get all defined routes? #165

Open
columbian-chris opened this issue Oct 7, 2021 · 3 comments
Open

way to dynamically get all defined routes? #165

columbian-chris opened this issue Oct 7, 2021 · 3 comments

Comments

@columbian-chris
Copy link

Is there a method to get all of the routes that have been defined?

@uvulpos
Copy link
Collaborator

uvulpos commented Oct 7, 2021

Apparently no. You can either extend Bramus and inpmement a getter method yourself (getAfterRoutes or something), or you can make a pull request. Maybe you could add a specific usecase why this might be usefull :)

@columbian-chris
Copy link
Author

The use case I see would be if you wanted to use an endpoint that lists all endpoints, like an API index.

@uvulpos
Copy link
Collaborator

uvulpos commented Nov 15, 2021

#163 (comment)

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