viz-rs / path-tree

path-tree is a lightweight high performance HTTP request router for Rust
Apache License 2.0
118 stars 17 forks source link

Hope to support this feature #39

Open lo-ferris opened 7 months ago

lo-ferris commented 7 months ago

Hope to support this feature " /{name}/{age}"

fundon commented 7 months ago

Maybe add a feature for it

lo-ferris commented 5 months ago

如果支持了这个功能, utoipa 就方便集成 viz 这个 rust crate 了

fundon commented 5 months ago

https://github.com/viz-rs/viz/blob/main/examples/routing/openapi/src/main.rs 看了这个例子,如果支持的话,确实方便些。我考虑下,怎么好集成。

lo-ferris commented 5 months ago

https://github.com/viz-rs/viz/blob/main/examples/routing/openapi/src/main.rs 看了这个例子,如果支持的话,确实方便些。我考虑下,怎么好集成。 https://github.com/juhaku/utoipa/tree/master/examples 这里有 utoipa 集成 rocket actix-web 的例子

fundon commented 5 months ago

欢迎 PR。