pub fn shape(path: &str) -> String
A path with its parameter names removed: /things/{pid} and /things/{id} are one route.
/things/{pid}
/things/{id}