pub fn scan_api_specs(root: &Path) -> Vec<SpecFileResult>Expand description
Scan a directory for API spec files (OpenAPI / AsyncAPI) and parse them.
Uses ignore::WalkBuilder to walk the directory tree, respecting .gitignore.
Detects spec files by well-known filenames and by peeking at file contents
for top-level openapi, swagger, or asyncapi keys.