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
Spectral Ruleset
Work with this as data
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.
Call it yourself
curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/vespa-ai-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.