Core Parser for OpenAPI specifications.
It handles the loading, parsing, and validation of OpenAPI JSON or YAML files. It uses @apidevtools/json-schema-ref-parser to resolve external references.
@apidevtools/json-schema-ref-parser
Static
Parses and validates an OpenAPI definition file.
The file path or URL to the OpenAPI definition.
A Promise that resolves to the parsed and validated OpenAPI document.
If the file cannot be parsed or if the version is not supported.
Core Parser for OpenAPI specifications.
It handles the loading, parsing, and validation of OpenAPI JSON or YAML files. It uses
@apidevtools/json-schema-ref-parserto resolve external references.