pub fn param_info_to_parameter(param: &ParamInfo) -> ParameterExpand description
Convert a ParamInfo to an OpenAPI Parameter object.
Creates a path parameter with the appropriate schema type based on the converter. All path parameters are required. Metadata (title, description, deprecated, examples) is copied from the ParamInfo.