Define & Validate APIsValidation Rulesets

Google Discovery Rulesets

The ruleset APIMatic uses to validate Google Discovery documents.

APIMatic validates Google Discovery documents against the ruleset below. These include rules defined by the standard as well as additional checks APIMatic enforces for better output.

Google Discovery Document Validation

Validation checks performed on a Google Discovery Document file.

PropertyValue
Ruleset IDgoogle-discovery-validation
Code prefixGOOGLEDISCOVERY_V
TypeValidation
Default severityError
Rule systemSemantic
Rules1

Basic Structure

CodeRuleSeverityWhat it checks
GOOGLEDISCOVERY_V001valid-google-discovery-syntaxBlockingThe provided Google Discovery document must not contain any syntax/semantic issues and use only valid JSON. Each property in the file must have a type as defined in the standard.

Learn more

On this page