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

Minimize hardcoded routes #58

Open
pictographer opened this issue Jul 27, 2022 · 0 comments
Open

Minimize hardcoded routes #58

pictographer opened this issue Jul 27, 2022 · 0 comments

Comments

@pictographer
Copy link
Contributor

In lib.rs several routes are defined in init_web_server but have no corresponding representation in api.toml. Because of this, they are not included in documentation constructed from api.toml. For some routes, like catch all handlers for / and /*, this is appropriate, but for /help and /healthcheck, there's no reason for these to be treated specially. Adding them to api.toml would be simpler and more helpful.

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

1 participant