pub fn parse_spec(input: &str) -> Result<ApiSpec, ParseError>Expand description
Parse an OpenAPI or AsyncAPI spec from a YAML/JSON string.
pub fn parse_spec(input: &str) -> Result<ApiSpec, ParseError>Parse an OpenAPI or AsyncAPI spec from a YAML/JSON string.