UCL · API Governance Rules
UCL API Rules
Spectral linting rules defining API design standards and conventions for UCL.
6 Rules
warn 5
info 1
Rule Categories
ucl
Rules
warn
ucl-info-contact
API info should expose the UCL API team contact.
$.info
warn
ucl-info-license
API info should declare a license (UCL API is MIT licensed).
$.info
warn
ucl-operation-tags
Every operation should be tagged with its UCL service area.
$.paths[*][get,post,put,delete,patch]
warn
ucl-operation-200
Every operation should document a 200 success response.
$.paths[*][get,post,put,delete,patch].responses
warn
ucl-paths-lowercase
UCL API paths are lowercase service segments (e.g. /roombookings, /workspaces).
$.paths[*]~
info
ucl-token-described
UCL API operations are authenticated with a `token` query parameter; operations should describe parameters.
$.paths[*][get].parameters[*]