Free tool
OpenAPI Viewer
Paste an OpenAPI or Swagger spec and click Render. You get every operation as a list of method and path. Click one for its summary, operationId, and parameter and response counts.
When to use it
Someone sends you a large YAML file and you want to know what is in it before reading it line by line. The viewer gives you the full list of endpoints and how many there are.
It does not render schemas or examples. For that you need a full reference renderer.
What each row shows
- Method
- GET, POST, PUT, PATCH, DELETE and the rest, colored so they are easy to scan.
- Path
- As written in the spec, with path parameters like
{id}. - Summary
- The operation's
summary. Blank if the spec has none. - operationId
- Shown as (missing) when absent. Code generators use it for function names.
- Parameters
- How many parameters the operation itself declares. Parameters set on the whole path are not counted.
- Responses
- How many status codes the operation documents.
Need to send the spec to someone?
Specway hosts the same spec as a docs site at a URL you can share, with a playground, code samples and search. Free for one API: create an account.
- A page per endpoint
- Parameters, request body and responses read from the spec, grouped by tag in the sidebar.
- Playground
- Fill in the parameters and send a real request from the docs page.
- Code samples
- cURL, Node, Python, Ruby and PHP for every endpoint, with a copy button and Open in Postman.
Questions
How do I view an OpenAPI / Swagger spec online?+
Paste the spec, YAML or JSON, and click Render. The viewer lists every operation by method and path. Click one to see its summary, operationId, parameter count and response count. It runs in your browser.
How is this different from Swagger UI?+
Swagger UI renders the whole reference: schemas, examples and a try-it panel. This viewer only lists operations, which is quicker when you just want to see what a spec contains.
Why is operationId missing on my spec?+
OpenAPI does not require it, so many specs leave it out. Code generators and many client libraries use it for function names, so add one to every operation if others will build on the spec. The OpenAPI Linter flags missing ones.
Does the viewer follow $ref links?+
No. It reads the operations directly and counts what is there, without resolving refs. To check that every ref resolves, use the OpenAPI Validator.
What's the difference between OpenAPI 3.0 and 3.1?+
3.1 aligned its schemas with JSON Schema 2020-12 and added webhooks. For the list of operations the two look the same, and the viewer reads both, along with Swagger 2.0.
Can I view very large specs?+
Yes. The viewer only builds the operation list, so specs with thousands of operations are fine. With very large files the text box itself gets slow first.
See your docs in a minute
Paste the link to your OpenAPI file. Free for one API, no card needed.