University of the Witwatersrand · API Governance Rules
University of the Witwatersrand API Rules
Spectral linting rules defining API design standards and conventions for University of the Witwatersrand.
7 Rules
error 1
warn 5
info 1
Rule Categories
wits
Rules
warn
wits-info-contact
API info should carry a contact for the Wits library/open scholarship team.
$.info
warn
wits-info-license
Standards-based university APIs should declare a license.
$.info
error
wits-server-https
All servers must use HTTPS.
$.servers[*].url
warn
wits-operation-id
Every operation must declare an operationId.
$.paths[*][get,post,put,delete,patch]
warn
wits-operation-summary
Every operation must have a summary.
$.paths[*][get,post,put,delete,patch]
warn
wits-200-response
Read operations should document a 200 response.
$.paths[*].get.responses
info
wits-tags-defined
Operations should be grouped with tags for navigability.
$.paths[*][get,post,put,delete,patch]