path

Sets the path parameter decoder.

Rather than through a function like query, path params are defined through the path string itself, e.g. "/users/{userId}/posts/{postId}". The decoder is used to decode the path parameters into a type.