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

Add trailing slash removal support when axum-extra feature is enabled #138

Open
Snapstromegon opened this issue May 18, 2024 · 1 comment · May be fixed by #139
Open

Add trailing slash removal support when axum-extra feature is enabled #138

Snapstromegon opened this issue May 18, 2024 · 1 comment · May be fixed by #139
Labels
enhancement New feature or request

Comments

@Snapstromegon
Copy link

Axum-extra adds the convenient _with_tsr() methods to e.g. the router: https://docs.rs/axum-extra/0.9.3/axum_extra/routing/trait.RouterExt.html#tymethod.route_with_tsr

I use these quite frequently and haven't found a way to use those with the aide ApiRouter even when the axum-extra feature is enabled. Is it possible/feasable to add support for this to aide?

@tamasfe
Copy link
Owner

tamasfe commented May 20, 2024

The RouterExt trait from axum-extra is missing from aide completely, it would be a welcome addition.

@tamasfe tamasfe added the enhancement New feature or request label May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants