Aarhus University · API Governance Rules
Aarhus University API Rules
Spectral linting rules defining API design standards and conventions for Aarhus University.
7 Rules
error 2
warn 2
info 2
Rule Categories
aarhus
Rules
warn
aarhus-info-title
API title should reference the Pure research information system.
$.info.title
error
aarhus-server-base
Servers should be hosted under the Aarhus Pure web-service base path.
$.servers[*].url
error
aarhus-api-key-security
An api-key security scheme must be defined (Pure endpoints require a valid API key).
$.components.securitySchemes
warn
aarhus-operation-tags
Every operation should carry at least one tag for discoverability.
$.paths[*][get,put,post,delete]
info
aarhus-list-pagination-params
Collection GET operations should expose size/offset paging used by the Pure API.
$.paths[?(@property.match(/s$/))].get.parameters
info
aarhus-uuid-path-params
Single-resource paths address records by uuid path parameter.
$.paths[?(@property.match(/{uuid}$/))]
hint
aarhus-no-empty-descriptions
Schemas should document themselves with a description.
$.components.schemas[*]