• Pricing
  • Blog
Sign InGet Started

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.

OpenAPI / Swagger spec

Valid spec? Publish it.

Specway turns the spec you just validated into a hosted developer portal and re-validates on every push, so an invalid spec never ships.

Publish this spec freeSee pricing

Free plan: 1 API, 1,000 views a month, no credit card, no time limit.

  • Interactive reference docs generated from your OpenAPI spec
  • Validation on every push, so an invalid spec never ships
  • An MCP server and llms.txt so AI agents can call 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"
  }
}

Or, if you use Specway, validation runs automatically on every push and the build refuses to ship docs from an invalid spec.

Related tools

OpenAPI Viewer
Render the validated spec as interactive docs.
OpenAPI Linter
Catch documentation-quality issues.
Swagger 2 → OpenAPI 3
Migrate older specs to OpenAPI 3.x.
YAML ↔ JSON
Convert between YAML and JSON.

Frequently asked questions

Ship API docs that stay this clean

Specway turns one OpenAPI spec into a hosted developer portal, an MCP server and llms.txt. When the spec changes, the docs follow.

Try Specway free

Free plan: 1 API, 1,000 views a month, no credit card, no time limit.

API docs that developers and AI agents can use.

Features

  • AI-Generated Docs
  • Interactive Playground
  • Auto-Sync
  • AI Chatbot
  • Breaking Changes
  • Code Samples
  • Custom Branding
  • Analytics

Compare

  • vs ReadMe
  • vs Swagger UI
  • vs Mintlify
  • vs Postman
  • vs Scalar

Product

  • Pricing
  • API Directory
  • Live Demo
  • About
  • Contact

Free Tools

  • JSON Formatter
  • JSON Validator
  • JWT Decoder
  • OpenAPI Validator
  • cURL → Code
  • YAML ↔ JSON
  • All free tools →

Resources

  • Free Developer Tools
  • Blog
  • Guides
  • API Glossary
  • Help Center
  • Support

© 2026 Modlific. All rights reserved.

Privacy PolicyTerms of Service
  • Pricing
  • Blog
Sign InGet Started

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.

OpenAPI / Swagger spec

Valid spec? Publish it.

Specway turns the spec you just validated into a hosted developer portal and re-validates on every push, so an invalid spec never ships.

Publish this spec freeSee pricing

Free plan: 1 API, 1,000 views a month, no credit card, no time limit.

  • Interactive reference docs generated from your OpenAPI spec
  • Validation on every push, so an invalid spec never ships
  • An MCP server and llms.txt so AI agents can call 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"
  }
}

Or, if you use Specway, validation runs automatically on every push and the build refuses to ship docs from an invalid spec.

Related tools

OpenAPI Viewer
Render the validated spec as interactive docs.
OpenAPI Linter
Catch documentation-quality issues.
Swagger 2 → OpenAPI 3
Migrate older specs to OpenAPI 3.x.
YAML ↔ JSON
Convert between YAML and JSON.

Frequently asked questions

Ship API docs that stay this clean

Specway turns one OpenAPI spec into a hosted developer portal, an MCP server and llms.txt. When the spec changes, the docs follow.

Try Specway free

Free plan: 1 API, 1,000 views a month, no credit card, no time limit.

API docs that developers and AI agents can use.

Features

  • AI-Generated Docs
  • Interactive Playground
  • Auto-Sync
  • AI Chatbot
  • Breaking Changes
  • Code Samples
  • Custom Branding
  • Analytics

Compare

  • vs ReadMe
  • vs Swagger UI
  • vs Mintlify
  • vs Postman
  • vs Scalar

Product

  • Pricing
  • API Directory
  • Live Demo
  • About
  • Contact

Free Tools

  • JSON Formatter
  • JSON Validator
  • JWT Decoder
  • OpenAPI Validator
  • cURL → Code
  • YAML ↔ JSON
  • All free tools →

Resources

  • Free Developer Tools
  • Blog
  • Guides
  • API Glossary
  • Help Center
  • Support

© 2026 Modlific. All rights reserved.

Privacy PolicyTerms of Service