OpenAPI Inspector

Validate and inspect OpenAPI/Swagger specs (JSON/YAML). See endpoints, security warnings, and export normalized JSON.

Back to Tools

Think of an OpenAPI file as a “contract” for your API.
It describes what endpoints exist, what they accept (params/body), and what they return (responses).
openapi — Spec version
Example: "3.0.3". This is the OpenAPI standard version.

info — API identity
Human-friendly metadata: title, version, description, contact, license.

servers — Where the API lives
Base URLs (prod/staging/local). Tools use this for “Try it out”.
paths — Endpoints
Every URL path (/articles, /health) contains operations: get, post, put, delete

responses — What you return
Each operation lists HTTP codes (200, 401, 404) with descriptions and optional schemas.

components — Reusable blocks
Define schemas/security once; reuse via $ref.
Tip: Start with openapi, info, servers, paths. Add components later.
1
Reset

Result

Summary + endpoints preview
Download JSON
Paste a spec and click Validate & Inspect to see results here.