pub fn version_path(version: Option<&str>, path: &str) -> StringExpand description
Apply URI API versioning: Some("1"), "/users" → "/v1/users". The single
place the URI strategy lives — #[routes], the boot route log, and the
OpenAPI document all route through it so the served/logged/documented paths
can never drift.