pub fn parse(kind: SpecKind, text: &str) -> Result<Vec<DeclaredOp>, String>Expand description
Parse one spec document into the operations it declares, dispatching on dialect: OpenAPI, AsyncAPI, and MCP tool schemas are YAML-or-JSON; GraphQL is SDL text.