Home
Aerospike
Aerospike API Rules
Aerospike API Rules
Spectral linting rules defining API design standards and conventions for Aerospike.
31 Rules
error 29
warn 1
info 1
Generated by API Evangelist
Written by API Evangelist tooling for Aerospike's APIs. It is a starting point, not a ruleset Aerospike publishes or enforces.
Rule Categories
contact
info
operation
operationid
path
securityscheme
server
tag
Rules
warn
operation-has-operationid
Every operation declares an operationId (measured: 100% of this contract)
$.paths[*][get,post,put,patch,delete]
error
operationid-casing-camel
operationIds are camel case (measured: 100% of this contract)
$.paths[*][get,post,put,patch,delete].operationId
error
operation-has-summary
Every operation has a summary (measured: 100% of this contract)
$.paths[*][get,post,put,patch,delete]
error
operation-has-tags
Every operation is tagged (measured: 100% of this contract)
$.paths[*][get,post,put,patch,delete]
info
path-segment-casing-kebab
Path segments are kebab case (measured: 80% of this contract)
$.paths[*]~
error
path-no-trailing-slash
Paths carry no trailing slash (measured: 100% 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
server-url-present
Server declares url (measured: 100% of this contract)
$.servers[*]
error
server-description-present
Server declares description (measured: 100% of this contract)
$.servers[*]
error
tag-name-present
Tag declares name (measured: 100% of this contract)
$.tags[*]
error
tag-name-casing-pascal
Tag.name is pascal case (measured: 100% of this contract)
$.tags[*].name
error
tag-description-present
Tag declares description (measured: 100% of this contract)
$.tags[*]
error
operation-tags-present
Operation declares tags (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
operation-summary-present
Operation declares summary (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
operation-operationid-present
Operation declares operationId (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace]
error
operation-operationid-casing-camel
Operation.operationId is camel case (measured: 100% of this contract)
$.paths[*][get,put,post,delete,patch,options,head,trace].operationId
error
securityscheme-type-present
SecurityScheme declares type (measured: 100% of this contract)
$.components.securitySchemes[*]
error
securityscheme-type-values
SecurityScheme.type is one of http (measured: 100% of this contract)
$.components.securitySchemes[*].type
error
securityscheme-description-present
SecurityScheme declares description (measured: 100% of this contract)
$.components.securitySchemes[*]
error
securityscheme-scheme-present
SecurityScheme declares scheme (measured: 100% of this contract)
$.components.securitySchemes[*]
error
securityscheme-scheme-values
SecurityScheme.scheme is one of basic (measured: 100% of this contract)
$.components.securitySchemes[*].scheme
Spectral Ruleset
# authorship: generated by API Evangelist tooling (derive-rules.py, 2026-11-01). x-method: generated
# Every rule below was MEASURED against Aerospike's own contract before it was written; a rule is present only
# when the contract satisfies it at 80% or more. Severity: 100% -> error, >= 90% -> warn, else info.
# Provenance:
# - operation-has-operationid: 100%
# - operationid-casing-camel: 100%
# - operation-has-summary: 100%
# - operation-has-tags: 100%
# - path-segment-casing-kebab: 80%
# - path-no-trailing-slash: 100%
# - path-params-in-braces: 100%
# - info-has-description: 100%
# - info-has-contact-or-terms: 100%
# - info-title-present: 100%
# - info-description-present: 100%
# - info-contact-present: 100%
# - info-version-present: 100%
# - info-version-semver: 100%
# - contact-name-present: 100%
# - contact-url-present: 100%
# - contact-url-https: 100%
# - server-url-present: 100%
# - server-description-present: 100%
# - tag-name-present: 100%
# - tag-name-casing-pascal: 100%
# - tag-description-present: 100%
# - operation-tags-present: 100%
# - operation-summary-present: 100%
# - operation-operationid-present: 100%
# - operation-operationid-casing-camel: 100%
# - securityscheme-type-present: 100%
# - securityscheme-type-values: 100%
# - securityscheme-description-present: 100%
# - securityscheme-scheme-present: 100%
# - securityscheme-scheme-values: 100%
x-method: generated
x-generator: derive-rules.py
x-generated: '2026-11-01'
x-source:
- openapi/aerospike-cluster-api-openapi.yml
- openapi/aerospike-documentation-api-openapi.yml
x-self-check:
status: checked
rules: 31
dropped: {}
extends:
- - spectral:oas
- recommended
formats:
- oas3
rules:
operation-has-operationid:
description: 'Every operation declares an operationId (measured: 100% of this contract)'
severity: warn
given: $.paths[*][get,post,put,patch,delete]
then:
field: operationId
function: truthy
x-pattern-key: Operation.operationId|present
operationid-casing-camel:
description: 'operationIds are camel case (measured: 100% of this contract)'
severity: error
given: $.paths[*][get,post,put,patch,delete].operationId
then:
function: pattern
functionOptions:
match: ^[a-z][a-zA-Z0-9]*$
x-pattern-key: Operation.operationId|pattern:^[a-z][a-zA-Z0-9]*$
operation-has-summary:
description: 'Every operation has a summary (measured: 100% of this contract)'
severity: error
given: $.paths[*][get,post,put,patch,delete]
then:
field: summary
function: truthy
x-pattern-key: Operation.summary|present
operation-has-tags:
description: 'Every operation is tagged (measured: 100% of this contract)'
severity: error
given: $.paths[*][get,post,put,patch,delete]
then:
field: tags
function: truthy
x-pattern-key: Operation.tags|present
path-segment-casing-kebab:
description: 'Path segments are kebab case (measured: 80% of this contract)'
severity: info
given: $.paths[*]~
then:
function: pattern
functionOptions:
match: ^(/[a-z0-9]+(-[a-z0-9]+)*|/\{[^}]+\})+/?$
x-pattern-key: Paths.{key}|pattern:^(/[a-z0-9]+(-[a-z0-9]+)*|/\{[^}]+\})+/?$
path-no-trailing-slash:
description: 'Paths carry no trailing slash (measured: 100% of this contract)'
severity: error
given: $.paths[*]~
then:
function: pattern
functionOptions:
notMatch: ./$
x-pattern-key: Paths.{key}|pattern:!./$
path-params-in-braces:
description: 'Path parameters use {braces}, not :colon (measured: 100% of this contract)'
severity: error
given: $.paths[*]~
then:
function: pattern
functionOptions:
notMatch: ':'
x-pattern-key: 'Paths.{key}|pattern:!:'
info-has-description:
description: 'The contract''s info block carries a description (measured: 100% of this contract)'
severity: error
given: $.info
then:
field: description
function: truthy
x-pattern-key: Info.description|present
info-has-contact-or-terms:
description: 'The contract''s info block names a contact or terms of service (measured: 100% of this contract)'
severity: error
given: $.info
then:
function: schema
functionOptions:
schema:
anyOf:
- required:
- contact
- required:
- termsOfService
x-pattern-key: OpenAPI.info|schema:093268bf
info-title-present:
description: 'Info declares title (measured: 100% of this contract)'
severity: error
given: $.info
then:
field: title
function: defined
x-pattern-key: Info.title|present
info-description-present:
description: 'Info declares description (measured: 100% of this contract)'
severity: error
given: $.info
then:
field: description
function: defined
x-pattern-key: Info.description|present
info-contact-present:
description: 'Info declares contact (measured: 100% of this contract)'
severity: error
given: $.info
then:
field: contact
function: defined
x-pattern-key: Info.contact|present
info-version-present:
description: 'Info declares version (measured: 100% of this contract)'
severity: error
given: $.info
then:
field: version
function: defined
x-pattern-key: Info.version|present
info-version-semver:
description: 'info.version is numeric (measured: 100% of this contract)'
severity: error
given: $.info.version
then:
function: pattern
functionOptions:
match: ^v?\d+(\.\d+)*
x-pattern-key: Info.version|pattern:^v?\d+(\.\d+)*
contact-name-present:
description: 'Contact declares name (measured: 100% of this contract)'
severity: error
given: $.info.contact
then:
field: name
function: defined
x-pattern-key: Contact.name|present
contact-url-present:
description: 'Contact declares url (measured: 100% of this contract)'
severity: error
given: $.info.contact
then:
field: url
function: defined
x-pattern-key: Contact.url|present
contact-url-https:
description: 'Contact.url is https (measured: 100% of this contract)'
severity: error
given: $.info.contact.url
then:
function: pattern
functionOptions:
match: ^https://
x-pattern-key: Contact.url|pattern:^https://
server-url-present:
description: 'Server declares url (measured: 100% of this contract)'
severity: error
given: $.servers[*]
then:
field: url
function: defined
x-pattern-key: Server.url|present
server-description-present:
description: 'Server declares description (measured: 100% of this contract)'
severity: error
given: $.servers[*]
then:
field: description
function: defined
x-pattern-key: Server.description|present
tag-name-present:
description: 'Tag declares name (measured: 100% of this contract)'
severity: error
given: $.tags[*]
then:
field: name
function: defined
x-pattern-key: Tag.name|present
tag-name-casing-pascal:
description: 'Tag.name is pascal case (measured: 100% of this contract)'
severity: error
given: $.tags[*].name
then:
function: pattern
functionOptions:
match: ^[A-Z][a-zA-Z0-9]*$
x-pattern-key: Tag.name|pattern:^[A-Z][a-zA-Z0-9]*$
tag-description-present:
description: 'Tag declares description (measured: 100% of this contract)'
severity: error
given: $.tags[*]
then:
field: description
function: defined
x-pattern-key: Tag.description|present
operation-tags-present:
description: 'Operation declares tags (measured: 100% of this contract)'
severity: error
given: $.paths[*][get,put,post,delete,patch,options,head,trace]
then:
field: tags
function: defined
x-pattern-key: Operation.tags|present
operation-summary-present:
description: 'Operation declares summary (measured: 100% of this contract)'
severity: error
given: $.paths[*][get,put,post,delete,patch,options,head,trace]
then:
field: summary
function: defined
x-pattern-key: Operation.summary|present
operation-operationid-present:
description: 'Operation declares operationId (measured: 100% of this contract)'
severity: error
given: $.paths[*][get,put,post,delete,patch,options,head,trace]
then:
field: operationId
function: defined
x-pattern-key: Operation.operationId|present
operation-operationid-casing-camel:
description: 'Operation.operationId is camel case (measured: 100% of this contract)'
severity: error
given: $.paths[*][get,put,post,delete,patch,options,head,trace].operationId
then:
function: pattern
functionOptions:
match: ^[a-z][a-zA-Z0-9]*$
x-pattern-key: Operation.operationId|pattern:^[a-z][a-zA-Z0-9]*$
securityscheme-type-present:
description: 'SecurityScheme declares type (measured: 100% of this contract)'
severity: error
given: $.components.securitySchemes[*]
then:
field: type
function: defined
x-pattern-key: SecurityScheme.type|present
securityscheme-type-values:
description: 'SecurityScheme.type is one of http (measured: 100% of this contract)'
severity: error
given: $.components.securitySchemes[*].type
then:
function: enumeration
functionOptions:
values:
- http
x-pattern-key: SecurityScheme.type|enum:http
securityscheme-description-present:
description: 'SecurityScheme declares description (measured: 100% of this contract)'
severity: error
given: $.components.securitySchemes[*]
then:
field: description
function: defined
x-pattern-key: SecurityScheme.description|present
securityscheme-scheme-present:
description: 'SecurityScheme declares scheme (measured: 100% of this contract)'
severity: error
given: $.components.securitySchemes[*]
then:
field: scheme
function: defined
x-pattern-key: SecurityScheme.scheme|present
securityscheme-scheme-values:
description: 'SecurityScheme.scheme is one of basic (measured: 100% of this contract)'
severity: error
given: $.components.securitySchemes[*].scheme
then:
function: enumeration
functionOptions:
values:
- basic
x-pattern-key: SecurityScheme.scheme|enum:basic
Every ruleset here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for spectral rules
4 MCP tools reach this
find_rulesBrowse and filter every ruleset in the catalog.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/aerospike-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key .
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms .
A second provider on the same verified email joins the account you already have.