Skip to main content

Module spec

Module spec 

Source

Structs§

SpecMetadata
Metadata extracted from an OpenAPI spec’s info and servers sections.

Functions§

extract_metadata
Extract metadata (title, server URL) from an OpenAPI spec JSON string.
fetch_spec
Fetch an OpenAPI spec from a URL.
parse_spec
Parse an OpenAPI 3.0.x JSON spec into a list of API operations.