VNC · API Governance Rules
VNC API Rules
Spectral linting rules defining API design standards and conventions for VNC.
8 Rules
error 2
warn 5
info 1
Rule Categories
vnc
Rules
warn
vnc-operation-summary-title-case
All operation summaries must use Title Case.
$.paths[*][*].summary
warn
vnc-path-kebab-case
Path segments must use kebab-case.
$.paths
warn
vnc-operation-ids-camel-case
OperationIds must use camelCase.
$.paths[*][*].operationId
error
vnc-tags-required
Each operation must have at least one tag.
$.paths[*][*]
warn
vnc-error-response-schema
Error responses (4xx/5xx) must reference the Error schema.
$.paths[*][*].responses[4,5][0-9][0-9]
warn
vnc-api-version-in-server
Server URLs must include an API version path segment.
$.servers[*].url
error
vnc-basic-auth-security
The API must declare Basic authentication as a security scheme.
$.components.securitySchemes
info
vnc-pagination-limit-parameter
List operations should support a limit query parameter for pagination.
$.paths[*].get.parameters[?(@.name == 'limit')]