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).
- YAML/JSON detection
- 3.0 and 3.1 linter
- Cycle-safe $ref
- curl and fetch
- Deterministic mock
- Zero input sent
Input
OpenAPI 3.0 or 3.1, YAML or JSON. Up to 512 KB is inspected.
Result
Diagnostics
Pick a component schema to see its tree with $ref inlined.
curl
fetch()
Example values come from the schema's example, default and enum. Tokens are placeholders.
The same seed and schema always produce the same JSON.
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. $refis 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
- 01Paste the document
Drop in YAML or JSON, or pick one of the six synthetic presets. The text is never sent anywhere.
- 02Read and explore
Click a diagnostic to jump to its line, then filter endpoints by method, tag or search and expand parameters and schemas.
- 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
YAML and JSON parser
The first character decides the format. YAML anchors, aliases, merge keys, block scalars and flow collections are handled, and syntax errors carry a line and column.
Around forty lint rules
Required fields, duplicate operationIds, template and parameter mismatches, response codes, security schemes and the 3.0/3.1 differences are reported as errors, warnings and notes.
Endpoint explorer
Filter by method, tag or text and expand parameters, request bodies and response schemas with
$refinlined. Cycles are cut at a depth limit instead of hanging.Deterministic Mock JSON
Values follow type, format, enum, example, default, minimum/maximum and minItems. Changing the seed gives different values under the same rules.
curl and fetch output
Server variables, path and query examples, security headers and the request body are assembled into a command and a fetch call ready to copy.
Markdown and JSON report
Diagnostics plus the endpoint and schema lists become a file. The report never contains the spec text itself.
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.
Calculated in the page
The parser, linter and mock generator are JavaScript in the page. There is no server call, no database and no analytics payload carrying the input.
Separate from ads
Advertising and affiliate widgets load from their own origins but never read the input. Results stay in the text area and on the screen.
Nothing kept
Input and results are not stored. Closing the tab clears them, and only a file you downloaded yourself remains.
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.
Guides
All guidesFive 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.