Yoast · API Governance Rules
Yoast API Rules
Spectral linting rules defining API design standards and conventions for Yoast.
8 Rules
error 1
warn 6
Rule Categories
yoast
Rules
warn
yoast-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
yoast-operation-ids-camel-case
Operation IDs should use camelCase
$.paths[*][*].operationId
warn
yoast-all-operations-have-tags
All operations must have at least one tag
$.paths[*][*]
warn
yoast-all-operations-have-description
All operations must have a description
$.paths[*][*]
warn
yoast-responses-have-descriptions
All response objects should have descriptions
$.paths[*][*].responses[*]
warn
yoast-parameters-have-descriptions
All parameters should have descriptions
$.paths[*][*].parameters[*]
error
yoast-get-read-only
GET operations should not have request bodies
$.paths[*].get
hint
yoast-v1-path-prefix
Yoast custom endpoints should use /yoast/v1/ prefix
$.paths