LanceDB · API Governance Rules
LanceDB API Rules
Spectral linting rules defining API design standards and conventions for LanceDB.
7 Rules
error 4
warn 3
Rule Categories
lancedb
Rules
warn
lancedb-info-title-mentions-lance
The OpenAPI title must mention "Lance" so consumers know this is a Lance Namespace-conformant API.
$.info.title
error
lancedb-paths-must-be-v1-prefixed
All Lance Namespace REST paths must be prefixed with /v1/ for forward-compatible versioning.
$.paths[*]~
error
lancedb-operation-must-have-tag
Each operation must be tagged with one of the canonical Lance Namespace tags.
$.paths[*][get,post,put,delete,patch]
error
lancedb-operation-id-pascal-case
operationId must be PascalCase (e.g. CreateTable, ListTableIndices).
$.paths[*][get,post,put,delete,patch].operationId
error
lancedb-security-required
The API must declare at least one of OAuth2, BearerAuth, or ApiKeyAuth security schemes.
$.components.securitySchemes
warn
lancedb-response-error-shape
Operations must declare 400, 401, 403, 404 and 5XX responses for uniform error handling.
$.paths[*][get,post,put,delete,patch].responses
warn
lancedb-no-empty-summary
Each operation should have a non-empty summary.
$.paths[*][get,post,put,delete,patch]