Nagios · API Governance Rules
Nagios API Rules
Spectral linting rules defining API design standards and conventions for Nagios.
5 Rules
error 2
warn 3
Rule Categories
nagios
Rules
warn
nagios-summary-title-case
Operation summaries should use Title Case.
$.paths..[get,post,put,delete].summary
error
nagios-apikey-security
Every operation must declare apikey-based security (Nagios XI uses per-user API keys).
$.paths..[get,post,put,delete]
warn
nagios-tag-vocabulary
Tags must come from the Nagios XI section vocabulary (Objects, Config, System).
$.paths..[get,post,put,delete].tags[*]
warn
nagios-operation-id-camel
operationId must be lowerCamelCase.
$.paths..[get,post,put,delete].operationId
error
nagios-response-200
Every operation must define a 200 response.
$.paths..[get,post,put,delete].responses