Smithy · API Governance Rules
Smithy API Rules
Spectral linting rules defining API design standards and conventions for Smithy.
5 Rules
error 1
warn 3
info 1
Rule Categories
smithy
Rules
error
smithy-operation-ids
All operations must have an operationId when represented as OpenAPI
$.paths[*][*]
warn
smithy-operation-tags
All operations must have at least one tag
$.paths[*][*]
warn
smithy-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
smithy-no-trailing-slashes
API paths must not have trailing slashes
$.paths
info
smithy-versioned-paths
Smithy API paths should include version prefix for HTTP bindings
$.paths