Skip to main content

generated_surface_operation_matches

Function generated_surface_operation_matches 

Source
pub fn generated_surface_operation_matches(
    operation_root: &Value,
    request_method: &str,
    request_path: &str,
) -> Option<String>
Expand description

Matches a generated operation against a bounded method and route pattern.

§Parameters

§Returns

Returns Some when crate::runtime::generated::generated_surface_operation_matches can produce a value and None otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::generated::generated_surface_operation_matches(todo!(), todo!(), "/");