Seismic · API Governance Rules
Seismic API Rules
Spectral linting rules defining API design standards and conventions for Seismic.
14 Rules
error 3
warn 8
info 3
Rule Categories
seismic
Rules
warn
seismic-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][*].summary
error
seismic-no-provider-prefix-in-summary
Operation summaries must not start with the provider name.
$.paths[*][*].summary
warn
seismic-operationid-camelcase
OperationId must be camelCase.
$.paths[*][*].operationId
warn
seismic-paths-kebab-case
Path segments must use kebab-case.
$.paths[*]~
warn
seismic-bearer-auth-required
All operations must use bearerAuth security.
$.paths[*][*]
info
seismic-pagination-offset-limit
List operations should support offset and limit pagination.
$.paths[*].get
error
seismic-response-200-content
GET operations must define a 200 response with content.
$.paths[*].get.responses
warn
seismic-error-responses
Operations should define 401 and 403 error responses.
$.paths[*][*].responses
info
seismic-rate-limit-response
Operations should define 429 Too Many Requests response.
$.paths[*][*].responses
warn
seismic-info-contact
API info must include contact information.
$.info
warn
seismic-info-license
API info must include license information.
$.info
error
seismic-server-https
All server URLs must use HTTPS.
$.servers[*].url
warn
seismic-tags-required
Operations must include at least one tag.
$.paths[*][*].tags
info
seismic-components-schemas-defined
API should define reusable schemas in components.
$