Cornell University · API Governance Rules
Cornell University API Rules
Spectral linting rules defining API design standards and conventions for Cornell University.
5 Rules
error 1
warn 4
Rule Categories
cornell
Rules
warn
cornell-info-contact
CODI APIs should declare the Cornell Open Data Initiative contact.
$.info
warn
cornell-info-description
Every API must carry a description.
$.info
warn
cornell-operations-have-tags
Operations are grouped by tag (config, events, eateries, etc.).
$.paths[*][get]
error
cornell-get-only
The CODI public read-only APIs expose GET operations only.
$.paths[*]
warn
cornell-2xx-response
Each operation must document a success response.
$.paths[*][get].responses