OpenAPI / Swagger Validator
Validate OpenAPI 3.x / Swagger 2.0 documents in JSON or YAML.
About the OpenAPI / Swagger Validator
Paste an OpenAPI 3.x or Swagger 2.0 document as JSON or YAML to check required root fields, path operations, missing responses, duplicate operationIds, and unresolved $refs, with a summary of endpoints and severity-tagged issues.
Popular uses
- openapi
- swagger
- api spec
- validator
- yaml
- rest api
Examples
Missing responses
JSON{"openapi":"3.0.0","info":{"title":"A","version":"1"},"paths":{"/x":{"get":{}}}}Output
YAMLError: Operation 'GET /x' is missing a 'responses' object.Keyboard shortcuts
- Copy the main outputCtrl / ⌘ + Shift + C
- Download the resultCtrl / ⌘ + S
- Share this toolCtrl / ⌘ + Shift + S
- Reset the inputsAlt + R
- Open the tool search paletteCtrl / ⌘ + K
Related tools
API Breaking Change Detector
API & HTTP
Diff two OpenAPI specs and flag breaking changes.
API Changelog Generator
API & HTTP
Generate a Markdown changelog from two OpenAPI versions.
API Consistency Auditor
API & HTTP
Audit an API for naming, casing and response consistency.
API Contract Analyzer
API & HTTP
Lint an OpenAPI or Swagger spec for contract quality issues.
API Response Schema Generator
API & HTTP
Turn a JSON API response into OpenAPI, JSON Schema or TypeScript.
cURL Command Parser & Code Generator
API & HTTP
Convert a curl command to fetch, Axios, Python, Go, PHP, Java, C#, Rust or Dart code.
Works well with
Next steps from other categories.
JSON to YAML
JSON
Convert JSON documents to clean, readable YAML.
JSON Validator
JSON
Validate JSON syntax and see detailed error diagnostics.
Package.json Validator
Dev Utilities
Validate package.json fields, semver ranges, and scripts.
UUID Validator
Dev Utilities
Validate and inspect UUIDs, including version and timestamp.
Frequently asked questions
Read more
- Postman collections and OpenAPI: two views of the same API
A collection describes calls you make; a spec describes the contract you promise. Here is how to convert between them without losing the parts that matter.
Version 1.0.0 · Updated 2026-08-10 · Runs entirely in your browser