AVI Networks · API Governance Rules
AVI Networks API Rules
Spectral linting rules defining API design standards and conventions for AVI Networks.
35 Rules
error 24
warn 10
info 1
Rules by declared severity: the level each rule assigns to a violation. These are not lint results.
Generated by API Evangelist
Written by API Evangelist tooling for AVI Networks's APIs. It is a starting point, not a ruleset AVI Networks publishes or enforces.
Rule Categories
contact
info
operation
parameter
path
response
Rules
warn
operation-has-operationid
Every operation declares an operationId (measured: 93% of this contract)
$.paths[*][get,post,put,patch,delete]
warn
operation-has-description
Every operation has a description (measured: 93% of this contract)
$.paths[*][get,post,put,patch,delete]
warn
operation-has-tags
Every operation is tagged (measured: 93% of this contract)
$.paths[*][get,post,put,patch,delete]
error
operation-has-success-response
Every operation declares a 2xx response (measured: 100% of this contract)
$.paths[*][get,post,put,patch,delete].responses
error
operation-declares-4xx
Every operation declares at least one 4xx response (measured: 100% of this contract)
$.paths[*][get,post,put,patch,delete].responses
warn
operation-declares-401-or-403
Every operation declares 401 or 403 (measured: 90% of this contract)
$.paths[*][get,post,put,patch,delete].responses
error
operation-secured
Every operation declares its own security requirement (measured: 100% of this contract)
$.paths[*][get,post,put,patch,delete]
warn
path-segment-casing-kebab
Path segments are kebab case (measured: 97% of this contract)
$.paths[*]~
error
path-params-in-braces
Path parameters use {braces}, not :colon (measured: 100% of this contract)
$.paths[*]~
error
info-has-description
The contract's info block carries a description (measured: 100% of this contract)
$.info
error
info-has-contact-or-terms
The contract's info block names a contact or terms of service (measured: 100% of this contract)
$.info
error
info-title-present
Info declares title (measured: 100% of this contract)
$.info
error
info-description-present
Info declares description (measured: 100% of this contract)
$.info
error
info-contact-present
Info declares contact (measured: 100% of this contract)
$.info
error
info-version-present
Info declares version (measured: 100% of this contract)
$.info
error
info-version-semver
info.version is numeric (measured: 100% of this contract)
$.info.version
error
contact-name-present
Contact declares name (measured: 100% of this contract)
$.info.contact
error
contact-url-present
Contact declares url (measured: 100% of this contract)
$.info.contact
error
contact-url-https
Contact.url is https (measured: 100% of this contract)
$.info.contact.url
error
contact-email-present
Contact declares email (measured: 100% of this contract)
$.info.contact
warn
operation-tags-present
Operation declares tags (measured: 93% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
warn
operation-description-present
Operation declares description (measured: 93% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
warn
operation-description-min-length
Operation.description runs at least 11 characters (measured: 95% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].description
warn
operation-operationid-present
Operation declares operationId (measured: 93% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
operation-parameters-present
Operation declares parameters (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
operation-responses-present
Operation declares responses (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
operation-security-present
Operation declares security (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
parameter-name-present
Parameter declares name (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*]
error
parameter-in-present
Parameter declares in (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*]
error
parameter-in-values
Parameter.in is one of body, header, path, query (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*].in
error
parameter-description-present
Parameter declares description (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*]
warn
parameter-description-min-length
Parameter.description runs at least 11 characters (measured: 99% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*].description
info
parameter-required-present
Parameter declares required (measured: 82% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].parameters[*]
error
response-description-present
Response declares description (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].responses[*]
error
response-description-min-length
Response.description runs at least 2 characters (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].responses[*].description
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.