Skip to main content

parse_spec

Function parse_spec 

Source
pub fn parse_spec(content: &str) -> Result<OpenAPI>
Expand description

Parse an OpenAPI specification from a string.

Automatically detects JSON or YAML format based on content.