University of Waterloo · API Governance Rules
University of Waterloo API Rules
Spectral linting rules defining API design standards and conventions for University of Waterloo.
5 Rules
error 2
warn 2
Rule Categories
uw
Rules
warn
uw-info-title-waterloo
API title should reference Waterloo OpenData.
$.info
error
uw-api-key-security
API uses a custom x-api-key header security scheme.
$.components.securitySchemes
error
uw-paths-versioned-v3
All paths should be under the /v3/ version prefix.
$.paths
hint
uw-operations-read-only
Open data operations are predominantly read-only (GET); flag any non-account write operations for review.
$.paths[?([email protected](/Account/))][put,delete,patch]
warn
uw-schema-no-additional-properties
Response object schemas disallow additionalProperties.
$.components.schemas[*]