OpenAPI Validator (2026)
Validate OpenAPI 2.x / Swagger and OpenAPI 3.x specs against the official schema. Powered by @apidevtools/swagger-parser, the same library most CI pipelines use. Runs entirely in your browser.
Valid spec? Publish it.
Specway turns the spec you just validated into a hosted developer portal, and you can re-sync it from your spec URL when it changes.
Free plan: 1 API, 1,000 views a month, no credit card, no time limit.
- Interactive reference docs generated from your OpenAPI spec
- A public changelog of added, modified and removed endpoints
- llms.txt and an mcp.json tool manifest so AI agents can read your API
What validation checks
- Document structure: required top-level fields (openapi, info, paths) exist; types match.
- Schema validity: component schemas conform to JSON Schema (2020-12 for OpenAPI 3.1, draft-04 for 3.0).
- $ref resolution: internal references point to existing nodes. (External $refs need a local resolver.)
- Operation shape: each operation has valid parameters, requestBody, responses.
- Security definitions: security schemes are defined where referenced.
What it doesn't check (use the linter for these)
- Whether every operation has an operationId.
- Whether descriptions are present and meaningful.
- Whether responses include examples.
- Whether parameter names follow a consistent style.
- Whether you're reusing components vs inlining the same shape repeatedly.
Validation in your CI
If your spec lives in a repo, validate on every PR. A typical npm script:
{
"scripts": {
"validate-spec": "swagger-parser validate openapi.yaml"
}
}Specway also parses each spec when you import or re-sync it, and a spec it cannot parse is not published.
Frequently asked questions
Ship API docs that stay this clean
Specway turns one OpenAPI spec into a hosted developer portal with llms.txt and an mcp.json tool manifest. When the spec changes, re-sync in one click.
Free plan: 1 API, 1,000 views a month, no credit card, no time limit.