Cornell University · API Governance Rules
Cornell University API Rules
Spectral linting rules defining API design standards and conventions for Cornell University.
7 Rules
error 3
warn 4
Rule Categories
cornell
Rules
warn
cornell-info-contact
Every Cornell-operated API should declare an institutional contact.
$.info
warn
cornell-info-description
Every API must carry a description.
$.info
warn
cornell-operations-have-tags
Operations are grouped by tag (class-roster, library-catalog, cugir).
$.paths[*][get]
error
cornell-get-only
Cornell's public institution-operated APIs expose GET operations only.
$.paths[*]
error
cornell-operator-declared
Every Cornell OpenAPI must declare info.x-operator, so a vendor's contract can never be credited to the institution by accident (university pipeline, operator axis).
$.info
error
cornell-servers-on-institution-host
servers[] must sit under a host Cornell operates. A spec based on classes.cornell.edu while describing another host is the weld this repo was corrected for on 2026-08-19.
$.servers[*].url
warn
cornell-2xx-response
Each operation must document a success response.
$.paths[*][get].responses