Zabbix · API Governance Rules
Zabbix API Rules
Spectral linting rules defining API design standards and conventions for Zabbix.
11 Rules
error 7
warn 4
Rule Categories
zabbix
Rules
error
zabbix-jsonrpc-version
All Zabbix API requests must include jsonrpc version 2.0
$.paths.*.post.requestBody.content.application/json.schema
warn
zabbix-method-documented
Each Zabbix API path should document the JSON-RPC method it maps to
$.paths.*.post
error
zabbix-auth-required
All Zabbix API endpoints (except user.login) must require authentication
$.paths[?(!@ == '/')]..post
warn
zabbix-tags-present
All operations must have at least one tag for grouping
$.paths.*.post
error
zabbix-operation-id
All operations must have a unique operationId
$.paths.*.post
warn
zabbix-operation-summary
All operations must have a summary
$.paths.*.post
error
zabbix-response-200
All operations must define a 200 response
$.paths.*.post.responses
error
zabbix-request-body
All Zabbix API operations must have a request body (JSON-RPC)
$.paths.*.post
error
zabbix-info-title
API info must have a title
$.info
error
zabbix-info-version
API info must include a version
$.info
warn
zabbix-servers-defined
API must define at least one server
$