pub fn parse_spec(content: &str) -> Result<OpenAPI>
Parse an OpenAPI specification from a string.
Automatically detects JSON or YAML format based on content.