Skip to main content

collect_operations

Function collect_operations 

Source
pub fn collect_operations(
    openapi: &OpenAPI,
    schemes: &[SchemeInfo],
) -> (Vec<OperationInfo>, Diagnostics)
Expand description

Collect all operations from the OpenAPI document.

Returns the operations along with any Diagnostics gathered while walking the spec (unsupported constructs, unresolved $refs, missing operationIds).