Skip to main content

parse_spec

Function parse_spec 

Source
pub fn parse_spec(spec: &Value) -> Vec<Endpoint>
Expand description

Parse an OpenAPI spec (as JSON Value) into a list of endpoints.

Supports OpenAPI 3.x format. Extracts paths, methods, parameters. Resolves $ref references for parameters and path items.