Vineyard · API Governance Rules
Vineyard API Rules
Spectral linting rules defining API design standards and conventions for Vineyard.
8 Rules
error 3
warn 5
Rule Categories
vineyard
Rules
warn
vineyard-operation-ids-kebab-case
Operation IDs should use camelCase consistent with vineyard Python SDK naming
$.paths[*][*].operationId
error
vineyard-tags-required
All operations must have at least one tag for grouping
$.paths[*][*]
warn
vineyard-path-kebab-case
All path segments should use kebab-case
$.paths
error
vineyard-description-required
All operations must have a description
$.paths[*][*]
warn
vineyard-response-200-or-201
Successful operations should return 200 or 201
$.paths[*][post,put,patch]
warn
vineyard-object-id-string
ObjectIDs in vineyard are 64-bit unsigned integers represented as strings for JSON compatibility
$.paths[*][*].parameters[?(@.name == 'objectId')]
error
vineyard-server-defined
At least one server must be defined in the spec
$
warn
vineyard-info-contact
The info object should include contact information
$.info