OpenAPI Doc Viewer & Editor

View, edit, and preview OpenAPI/Swagger specifications with an interactive API reference. Paste, upload, or fetch specs and see live documentation. 100% client-side.

Features

Frequently Asked Questions

What is the difference between OpenAPI and Swagger?

Swagger was the original specification name. In 2015 it was donated to the Linux Foundation and renamed OpenAPI. “Swagger” now refers to SmartBear’s tooling; OpenAPI is the modern spec. OpenAPI 3.x is the current standard (Swagger 2.0 is legacy).

Which OpenAPI versions are supported?

OpenAPI 3.1 (the latest, aligned with JSON Schema 2020-12) and 3.0 are fully supported. Legacy Swagger 2.0 specs render but should be upgraded.

Can I test requests from the docs?

Yes. The viewer generates example requests for each operation. Note that browser CORS may block cross-origin calls to the actual API server; use the examples for reference and test against your own servers.