Development and data
How to pre-check an OpenAPI document in JSON
An initial check can reveal missing fields before reviewing fictional API documentation.
Before you start
Text is processed in the browser. Consider the content before using it and read the privacy policy.
PrivacyHow to use it
Enter {"openapi":"3.1.0", "info":{"title":"Example","version":"1.0"}, "paths":{}}.
Run the check and review the path and schema counts.
Remove info and test again to see the error.
Worked example
The example contains a version, basic information and empty paths; the pre-check finds zero paths and zero schemas.
Result: basic check passed; 0 paths and 0 schemas.
Limits and checks
The tool accepts JSON, not YAML, and checks only part of the OpenAPI 3.0/3.1 structure. It does not apply the full official schema, resolve references or validate an API’s behavior. Passing does not prove conformance.
Next step
To review the document’s syntax, use JSON Formatter.
How to format and check JSON before sharing it