normalize_operation

Function normalize_operation 

Source
pub fn normalize_operation(
    method: &str,
    path: &str,
    operation: &Operation,
) -> NormalizedOperation
Expand description

Convert OpenAPI operation to a more convenient format

Sanitizes operation IDs to ensure they are valid TypeScript identifiers