salvo-path-syntax
Installation
SKILL.md
Salvo Path Parameter Syntax
Salvo 0.76+ uses curly-brace syntax {...} for path parameters. The old angle-bracket form <...> (pre-0.76) is removed and will not match.
Current syntax (0.76+)
Router::with_path("users/{id}") // basic
Router::with_path("users/{id:num}") // typed (num|i32|i64|u32|u64)
Router::with_path(r"users/{id|\d+}") // regex
Router::with_path("files/{*}") // single-segment wildcard
Router::with_path("files/{*name}") // named single-segment wildcard
Router::with_path("static/{**path}") // rest-of-path wildcard