Technical University of Munich · API Governance Rules

Technical University of Munich API Rules

Spectral linting rules defining API design standards and conventions for Technical University of Munich.

5 Rules error 1 warn 4
View Rules File View on GitHub

Rule Categories

tum

Rules

warn
tum-info-contact
API info object should declare a contact (TUM-Dev specs provide one).
$.info
warn
tum-info-license
API should declare a license (TUM-Dev projects are open source / GPL).
$.info
warn
tum-operation-tags
Every operation should carry at least one tag for grouping.
$.paths[*][get,post,put,delete,patch]
error
tum-server-https
Servers must use HTTPS, as all TUM-Dev public endpoints do.
$.servers[*].url
warn
tum-schemas-typed
Component schemas should declare a type.
$.components.schemas[*]

Spectral Ruleset

Raw ↑
extends: []
formats:
  - oas3
documentationUrl: https://github.com/api-evangelist/tum
description: >-
  Spectral ruleset encoding patterns observed across the TUM-Dev public APIs
  (NavigaTUM and eat-api). Derived from the real OpenAPI specifications.
rules:
  tum-info-contact:
    description: API info object should declare a contact (TUM-Dev specs provide one).
    severity: warn
    given: $.info
    then:
      field: contact
      function: truthy
  tum-info-license:
    description: API should declare a license (TUM-Dev projects are open source / GPL).
    severity: warn
    given: $.info
    then:
      field: license
      function: truthy
  tum-operation-tags:
    description: Every operation should carry at least one tag for grouping.
    severity: warn
    given: $.paths[*][get,post,put,delete,patch]
    then:
      field: tags
      function: truthy
  tum-server-https:
    description: Servers must use HTTPS, as all TUM-Dev public endpoints do.
    severity: error
    given: $.servers[*].url
    then:
      function: pattern
      functionOptions:
        match: "^https://"
  tum-schemas-typed:
    description: Component schemas should declare a type.
    severity: warn
    given: $.components.schemas[*]
    then:
      field: type
      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/tum-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 form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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