Replies: 1 comment
-
https://github.com/tokio-rs/axum/blob/main/examples/versioning/src/main.rs You can also create several routers for versions 1 and 2 using the functions nest or merge Maybe someone will come up with a more elegant solution 🙂 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In axum, is their any feature to manage api version?
Like I want to create
/api/v1/login
,/api/v2/login
multiple versions of api.Beta Was this translation helpful? Give feedback.
All reactions