OpenAPI Validator

Check an OpenAPI 3 or Swagger 2 document for structure errors.

OpenAPI Validator

.json · .yml · .yaml

Paste text or open a file to see the result.

What it does

Checks an OpenAPI 3 or Swagger 2 file, in YAML or JSON, against the structure the specification requires. Errors in the file break documentation pages and code generators. You get a list of the problems and where they are.

About the .json format

.JSON file extension
File Type
JavaScript Object Notation File
Developer
Specified by Douglas Crockford
Category
Web Files
MIME
application/json

JSON is a lightweight data-interchange format.

Also works with

Related tools

More in Validators

OpenAPI Validator questions

How do I use the OpenAPI Validator?

Paste the text into the Input box or open a file, set the options, then copy or download the result.

Does renaming a file to .json change its format?

No. The extension only tells programs what to expect, and the content of the file stays the same. To change the format, convert the file. The .json page lists programs and converters for it.