Vagrant · API Governance Rules
Vagrant API Rules
Spectral linting rules defining API design standards and conventions for Vagrant.
7 Rules
error 1
warn 5
Rule Categories
vagrant
Rules
warn
vagrant-bearer-auth
Vagrant Cloud API operations should use bearerAuth security
$.paths[*][*]
error
vagrant-operations-have-summaries
All operations must have a summary
$.paths[*][get,post,put,delete,patch]
warn
vagrant-operations-have-tags
All operations should have at least one tag
$.paths[*][get,post,put,delete,patch]
warn
vagrant-operation-ids-camel-case
Operation IDs should use camelCase
$.paths[*][*].operationId
hint
vagrant-username-name-paths
Box paths should use :username/:name format
$.paths
warn
vagrant-error-responses
Operations should document error responses
$.paths[*][get,post,put,delete].responses
warn
vagrant-json-content-type
API responses should use application/json content type
$.paths[*][*].responses[*].content