Elastic · API Governance Rules
Elastic — kibana rules
Spectral linting rules defining API design standards and conventions for Elastic.
7 Rules
error 2
warn 4
info 1
Published by Elastic
Served by the provider at https://github.com/elastic/kibana/blob/f38242ac0f935f780b9c2a937d0a088aebd7c71b/oas_docs/linters/.spectral.yaml; the copy below was fetched from there.
Rule Categories
avoid
internal
operation
property
simple
Rules
warn
avoid-problematic-words
Ban certain words from descriptions
$..*.description
warn
property-description
Properties should have descriptions.
$.components.schemas.*.properties.*
info
operation-success-examples
Response code 200 should have at least one example.
$.paths[*][*].responses.[200].content.[application/json]
error
internal-extension
Operations should not have x-internal extension.
$.paths[*][*]
error
operation-summary
Operations should have summaries.
$.paths[*][get,put,post,delete,options,head,patch,trace]
warn
operation-summary-length
Operation summary should be between 5 and 45 characters
$.paths[*][get,put,post,delete,options,head,patch,trace]
warn
simple-verbs-in-summary
Summaries should use common verbs.
$.paths[*][*].summary
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.