OpenAPI inspector
Open an OpenAPI 3.x or Swagger 2.0 file (YAML or JSON) and browse its operations by tag, with parameters, request bodies, responses, schemas and security schemes, plus warnings for common mistakes. Only references inside the file are followed. Runs in your browser.
Last updated
What it does
- Reads OpenAPI 3.0 and 3.1 and Swagger 2.0 files in YAML or JSON: paste one or open it from disk.
- Lists every operation grouped by tag, with its method, path and summary. Open one to see its parameters (including those shared by the path), request body, responses, operationId and the security it needs.
- Shows schemas as readable property lists with types, required fields, enums, formats and limits. A
$refis a link: click it to jump to that schema. - Warns about common mistakes: duplicate operationIds, path variables such as
{id}with no matching path parameter, references to things missing from the file, and references to other files.
What it doesn't do
It never fetches anything. References to other files or URLs (./schemas/pet.yaml, https://…) are listed but not loaded; bundle the spec into one file first, for example with redocly bundle. It doesn't send requests to the API either: it only reads the description.
Questions
- Does it validate the spec?
- It reports the mistakes that most often break code generators and documentation (duplicate operationIds, undeclared path parameters, broken references), but it isn't a full schema validator for the OpenAPI format itself.
- What is the difference between Swagger 2.0 and OpenAPI 3?
- OpenAPI 3 replaced Swagger 2.0 in 2017. It moved request bodies out of parameters into
requestBody, put reusable parts undercomponents, and allowed several servers. OpenAPI 3.1 aligned schemas with JSON Schema 2020-12. This tool shows both the same way. - Is my API description uploaded?
- No. The file is read and shown in your browser, so internal APIs stay private.