pub fn extract_path_params(template: &str) -> Vec<Parameter>
Extract path parameters from a template string like /users/{id}/posts/{post_id}.
/users/{id}/posts/{post_id}
Returns Parameter objects with in: path, required: true.
Parameter
in: path, required: true