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
View Rules File View on GitHub

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

Spectral Ruleset

Raw ↑
formats: [oas3]
rules:
  tu-dresden-info-title:
    description: API must declare a title (LOD API).
    severity: error
    given: $.info
    then:
      field: title
      function: truthy
  tu-dresden-info-version:
    description: API must declare a version.
    severity: error
    given: $.info
    then:
      field: version
      function: truthy
  tu-dresden-server-defined:
    description: A server URL should be defined (https://data.slub-dresden.de).
    severity: error
    given: $.servers
    then:
      function: truthy
  tu-dresden-operation-tags:
    description: Every operation should carry at least one tag (source, authority_search, search and access, reconcile, explorative search).
    severity: warn
    given: $.paths[*][get,post]
    then:
      field: tags
      function: truthy
  tu-dresden-operation-operationId:
    description: Every operation must declare a unique operationId.
    severity: error
    given: $.paths[*][get,post]
    then:
      field: operationId
      function: truthy
  tu-dresden-format-param:
    description: Search and access operations expose a 'format' query parameter for content negotiation (nt, rdf, ttl, nq, jsonl, json).
    severity: hint
    given: $.paths[*][get].parameters[?(@.name=='format')]
    then:
      field: schema.type
      function: truthy
  tu-dresden-200-response:
    description: Every operation should document a 200 Success response.
    severity: warn
    given: $.paths[*][get,post].responses
    then:
      field: "200"
      function: truthy

Work with this as data

Every ruleset here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for spectral rules

4 MCP tools reach this
  • find_rulesBrowse and filter every ruleset in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/tu-dresden-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.