OpenAPI Validator
Check an OpenAPI 3 or Swagger 2 document for structure errors.
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.json JavaScript Object Notation File
Web Files
- 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
YAML Validator
Find indentation and syntax errors in YAML files.
XML Validator
Check that XML is well formed and see the line of each error.
Regex Tester
Test a regular expression on sample text and see each match and group.
HTML Validator
Find unclosed tags, wrong nesting and duplicate IDs in HTML.
CSS Validator
Find syntax errors and unknown properties in CSS.
JavaScript Syntax Checker
Find syntax errors in JavaScript and show their line and column.
Cron Expression Checker
Read a cron line in plain words and see its next run times.
CSV Validator
Find rows with the wrong number of fields, bad quotes and mixed delimiters.
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.