Nog CLI Developer Guide - v0.10.5
    Preparing search index...

    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.

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Parses and validates an OpenAPI definition file.

      Parameters

      • input: string

        The file path or URL to the OpenAPI definition.

      Returns Promise<OpenApiDocument>

      A Promise that resolves to the parsed and validated OpenAPI document.

      If the file cannot be parsed or if the version is not supported.