What OpenAPI is
OpenAPI (formerly Swagger) is the standard machine-readable format for REST APIs: openapi.json describes every endpoint, method, parameter, schema and server. Teams share these specs to generate clients, docs and tests — and to argue about what the API actually does.
What this viewer does
- Parses JSON (convert YAML to JSON first if needed) and lists every path with its methods.
- Shows summary/description and parameter counts per operation; security blocks remain visible in the raw spec if you need to check them.
- Stays local — API specs often contain internal URLs and schemas; nothing leaves your tab.
- Fast browse — for full interactive docs (try-it-out, model schemas), use Swagger UI or Stoplight; this is the quick-look tool.
Quick checks
- Does every path have a
getwhere you expected one? - Are parameters defined at path level vs operation level (a classic inconsistency)?
- Is there a
securityblock — and does the auth scheme match your client library? - Version mismatches: the
info.versionfield tells you which spec iteration you're looking at.
What happens in the page
The pasted specification is parsed as JSON, then walked: escH() escapes every string before it reaches the DOM, paths are enumerated and each method under them is counted, and $ref pointers beginning with #/ are resolved in place by splitting the pointer and following it through the document, so a schema referenced from five places is expanded without duplication. The result is a collapsible endpoint list with parameters and responses.
Where it breaks down
Read-only rendering — there is no "try it" button, because sending requests would require credentials and would contact servers the page knows nothing about. References pointing outside the document cannot be resolved, since the browser does not have the other file. Some OpenAPI 3.1 fields are not displayed. Large specifications are expanded in one pass, so documents of several thousand lines render slowly.
Privacy: no data leaves this tab
The specification is parsed locally and rendered into the page. No API endpoint listed inside it is contacted, and no token is sent.
Frequently asked questions
Can I call the API from here?
No. Rendering documentation and sending authenticated requests are different jobs; the second needs a server-side proxy and real credentials.
Why are some $ref values blank?
Cross-file references need the other document, which the browser cannot read. Inline the definitions into one file first.
Does it read YAML?
No. Convert to JSON first — YAML parsing would require a library, and this page deliberately avoids heavy dependencies.