University of Calgary · API Governance Rules
University of Calgary API Rules
Spectral linting rules defining API design standards and conventions for University of Calgary.
6 Rules
error 2
warn 3
info 1
Rule Categories
ucalgary
Rules
error
ucalgary-info-title
API must declare a title.
$.info
error
ucalgary-info-version
API must declare a version.
$.info
warn
ucalgary-versioned-paths
UCalgary research APIs version their paths under /api/v{N}/ (observed in both the SRS and AuroraX specifications).
$.paths[*]~
warn
ucalgary-operation-summary
Every operation should carry a human-readable summary.
$.paths[*][get,post,put,delete,patch]
warn
ucalgary-operation-tags
Operations should be grouped with at least one tag.
$.paths[*][get,post,put,delete,patch]
info
ucalgary-snake-case-properties
Response/request object properties use snake_case (e.g. data_tree_url, file_time_resolution, instrument_type, display_name).
$.components.schemas[*].properties[*]~