SmartBear · API Governance Rules
SmartBear API Rules
Spectral linting rules defining API design standards and conventions for SmartBear.
8 Rules
error 2
warn 5
info 1
Rule Categories
smartbear
Rules
warn
smartbear-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][*].operationId
warn
smartbear-path-kebab-case
Path segments must use kebab-case or path parameter placeholders
$.paths[*]~
warn
smartbear-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
error
smartbear-api-tags-required
All operations must have at least one tag
$.paths[*][*]
error
smartbear-response-200-defined
All GET operations must define a 200 response
$.paths[*].get
warn
smartbear-security-defined
All operations should have security defined at spec or operation level
$.paths[*][*]
warn
smartbear-parameter-description
All parameters should have descriptions
$.paths[*][*].parameters[*]
info
smartbear-hierarchical-paths
API paths should follow hierarchical owner/resource/id pattern
$.paths[*]~