opyeb openapilab

Paste it in, no server needed

Paste an OpenAPI document,
see its shape and its risks

Parse a 3.0 or 3.1 YAML/JSON document in the browser and get lint results plus an endpoint and schema tree. Path parameters that do not match the template, unresolved or circular $ref, missing 2xx/4xx responses and nullable mistakes between 3.0 and 3.1 are split by severity, and the selected endpoint gets curl and fetch snippets with deterministic Mock JSON. Zero input sent to a server (advertising and affiliate widgets excepted).

Paste a document to inspect. Results update as you type.

Input

——

OpenAPI 3.0 or 3.1, YAML or JSON. Up to 512 KB is inspected.

Result

Diagnostics

    The download name follows the active tab: openapilab-report.md or openapilab-report.json.

    Specification shape

    —

    How to read it

    • Severity is error (a rule of the spec is broken), warning (a recommended practice) or note (an improvement).
    • Every {id} in a path template needs an in:path parameter with required: true.
    • $ref is inlined only for references inside the same document. Cycles are reported and cut at the depth limit.

    Everything is computed in this browser. Input is never sent to a server.

    How it works

    1. 01Paste the document

      Drop in YAML or JSON, or pick one of the six synthetic presets. The text is never sent anywhere.

    2. 02Read and explore

      Click a diagnostic to jump to its line, then filter endpoints by method, tag or search and expand parameters and schemas.

    3. 03Take the output

      Copy the curl, fetch and Mock JSON of the selected endpoint, and download the diagnostics and endpoint list as Markdown or JSON.

    What one screen holds

    Why the input never leaves

    A spec carries paths you have not published, internal host names and schemas that are not deployed yet. The parser and linter therefore live in the page.

    Questions

    Is it safe to paste a private spec?

    The text is processed in the page and never sent or stored. Advertising and affiliate widgets load from their own origins but do not read it.

    Are both 3.0 and 3.1 checked?

    Yes. The openapi value picks the rule set, including nullable versus a type array, webhooks and license.identifier.

    How far does $ref resolution go?

    Only #/... references inside the document are resolved. External file references are reported as a warning and are not inlined.

    Does a circular reference stop the tool?

    No. Cycles are reported as a note and expansion stops at the depth limit; the mock generator reduces the same point to an object or array.

    What drives the Mock JSON?

    example, default, enum, type, format, minimum/maximum and minItems. The same seed always produces the same document.

    Does the report contain the spec?

    No. It holds the summary, diagnostics and the endpoint and schema names, never the document body.

    Five articles: document structure, the lint rules, $ref and cycles, how mocks and snippets are generated, and moving from 3.0 to 3.1.

    Check a spec now

    A synthetic example is already loaded. Paste your real document and it still never leaves the browser.