Apigee · API Governance Rules
Apigee API Rules
Spectral linting rules defining API design standards and conventions for Apigee.
7 Rules
warn 5
info 2
Rule Categories
definition
defs
no
property
schema
Rules
warn
schema-declares-$schema
Every JSON Schema document should declare its $schema (draft).
$
warn
schema-draft-consistency
$schema should reference the 2020-12 draft (this API's convention).
$.$schema
info
schema-has-title
JSON Schema documents should declare a title.
$
info
property-name-casing
Schema properties should be camelCase (the dominant convention in this API).
$..properties
warn
defs-name-casing
Schema $defs names should be PascalCase (the dominant convention in this API).
$..$defs
warn
definition-name-casing
Schema definitions names should be PascalCase (the dominant convention in this API).
$..definitions
warn
no-empty-descriptions
Descriptions must not be empty strings.
$..description