Vespa · API Governance Rules
Vespa API Rules
Spectral linting rules defining API design standards and conventions for Vespa.
7 Rules
warn 7
Rule Categories
vespa
Rules
warn
vespa-info-contact-required
Vespa OpenAPI specs should include a contact pointing to vespa.ai.
$.info
warn
vespa-info-license-apache-2
Vespa is Apache 2.0 — specs should reflect that license.
$.info.license
warn
vespa-paths-document-v1-prefix
Document API paths must be rooted at /document/v1/.
$.paths[?(@property =~ /^\\/document/)]~
warn
vespa-operation-summary-title-case
Operation summaries should use Title Case.
$.paths[*][*].summary
warn
vespa-operation-id-camel-case
Operation IDs should be camelCase.
$.paths[*][*].operationId
warn
vespa-tag-defined
Every operation should declare at least one tag.
$.paths[*][*]
warn
vespa-server-defined
At least one server entry must be declared.
$.servers