Vizion · API Governance Rules
Vizion API Rules
Spectral linting rules defining API design standards and conventions for Vizion.
8 Rules
error 3
warn 5
Rule Categories
vizion
Rules
warn
vizion-operation-ids-camel-case
Operation IDs must use camelCase to match Vizion SDK conventions.
$.paths[*][*].operationId
error
vizion-require-api-key-security
All Vizion API operations require X-API-Key authentication.
$.paths[*][*]
error
vizion-require-summaries
All operations must have a human-readable summary.
$.paths[*][*]
warn
vizion-require-descriptions
All operations and schemas must have descriptions.
$.paths[*][*]$.components.schemas[*]
warn
vizion-path-params-have-descriptions
All path parameters must be described.
$.paths[*][*].parameters[?(@.in == 'path')]
warn
vizion-responses-define-401
All protected operations should define a 401 Unauthorized response.
$.paths[*][*]
warn
vizion-use-iso8601-dates
All date/time fields must use ISO 8601 format (format = date-time).
$.components.schemas[*].properties[*][?(@.type == 'string')]
error
vizion-require-server
OpenAPI specs must define at least one server.
$