OpenAPI Validator vs OpenAPI Viewer
The validator focuses on correctness and actionable diagnostics. The OpenAPI / Swagger Viewer focuses on browsing endpoints, schemas, parameters, and responses in a readable inspection view.
Paste an OpenAPI or Swagger spec and validate its structure, required fields, paths, operations, schemas, and common mistakes.
JSON or YAML OpenAPI 3.x and Swagger 2.0 specs. Remote references are reported, never fetched.
Grouped errors, warnings, compatibility notes, summary metrics, and source-free report export.
Paste JSON or YAML, load a sample, then validate required fields, paths, operations, responses, schemas, refs, tags, and security schemes.
OpenAPI Validation Guide
Use this validator to catch structural problems in pasted API descriptions: required top-level fields, paths, operations, parameters, responses, schemas, security schemes, refs, tags, and version-specific fields.
The validator focuses on correctness and actionable diagnostics. The OpenAPI / Swagger Viewer focuses on browsing endpoints, schemas, parameters, and responses in a readable inspection view.
Swagger 2.0 uses swagger, host, basePath, definitions, and body parameters. OpenAPI 3.x uses openapi, servers, components, and requestBody.
Frequent issues include missing info.title, missing info.version, empty paths, duplicate operationId, missing responses, unresolved local refs, and invalid path methods.
Helpful specs include response descriptions, request and response schemas, parameter schema details, declared security schemes, and reusable components or definitions for common objects.
Remote $ref values are reported but never fetched. This keeps validation local and avoids contacting private networks, documentation hosts, schema registries, or API servers.
Validate the pasted spec, filter results by severity or keyword, fix errors first, then review warnings and info notes before copying or downloading the source-free validation report.
No. Parsing and validation run locally in your browser.
No. The validator reads only the pasted document. It does not execute examples, callbacks, links, operations, external docs, or server URLs.
Yes. Paste JSON or YAML. The validator auto-detects the input format where practical.
Yes. It detects Swagger 2.0 and applies key Swagger-specific checks such as definitions, host/basePath, parameters, responses, and securityDefinitions.
Yes. It detects OpenAPI 3.1.x and validates the pasted structure, operations, schemas, refs, and common documentation issues.
No. Remote refs are shown as info notes and are never fetched. Local refs inside the pasted document are checked when practical.