TU Dresden · API Governance Rules
TU Dresden API Rules
Spectral linting rules defining API design standards and conventions for TU Dresden.
7 Rules
error 4
warn 2
Rule Categories
tu
Rules
error
tu-dresden-info-title
API must declare a title (LOD API).
$.info
error
tu-dresden-info-version
API must declare a version.
$.info
error
tu-dresden-server-defined
A server URL should be defined (https://data.slub-dresden.de).
$.servers
warn
tu-dresden-operation-tags
Every operation should carry at least one tag (source, authority_search, search and access, reconcile, explorative search).
$.paths[*][get,post]
error
tu-dresden-operation-operationId
Every operation must declare a unique operationId.
$.paths[*][get,post]
hint
tu-dresden-format-param
Search and access operations expose a 'format' query parameter for content negotiation (nt, rdf, ttl, nq, jsonl, json).
$.paths[*][get].parameters[?(@.name=='format')]
warn
tu-dresden-200-response
Every operation should document a 200 Success response.
$.paths[*][get,post].responses