Victoria University of Wellington · API Governance Rules
Victoria University of Wellington API Rules
Spectral linting rules defining API design standards and conventions for Victoria University of Wellington.
6 Rules
error 2
warn 4
Rule Categories
vuw
Rules
warn
vuw-info-contact
Info object should include a contact.
$.info
warn
vuw-info-license
Info object should declare a license.
$.info
error
vuw-server-figshare
Server URL must point at the Figshare public v2 API.
$.servers[*].url
error
vuw-operation-operationid
Every operation must declare an operationId.
$.paths[*][get,post]
warn
vuw-article-id-integer
article_id path parameters should be typed as integers.
$.paths[*][*].parameters[?(@.name == 'article_id')].schema
warn
vuw-200-response
GET operations should document a 200 response.
$.paths[*].get.responses