Skip to main content

parse_asyncapi

Function parse_asyncapi 

Source
pub fn parse_asyncapi(path: &Path) -> Option<AsyncApiParseResult>
Expand description

Parse an AsyncAPI (2.x / 3.0) spec file.

Returns None if the file cannot be read, is not valid JSON/YAML, or lacks an asyncapi top-level key.