TU Wien · API Governance Rules

TU Wien API Rules

Spectral linting rules defining API design standards and conventions for TU Wien.

7 Rules error 3 warn 4
View Rules File View on GitHub

Rule Categories

tu

Rules

error
tu-wien-servers-declared
The published FUNDify contract carries no servers[] block, so a consumer cannot learn the base URL from the document. The national instance is fundify.arisnet.ac.at (probed 401 on the funding route, 2026-08-30).
$
error
tu-wien-auth-declared
Anonymous calls to the funding routes return 401, but the contract declares no securitySchemes and no security requirement.
$.components
error
tu-wien-401-documented
Every operation is protected in deployment yet documents only 200/400/404/500. A 401 response must be documented.
$.paths[*][get].responses
warn
tu-wien-error-schema
400/404/500 responses carry a description but no content schema, so error handling cannot be generated from the contract.
$.paths[*][*].responses['400','404','500']
warn
tu-wien-contact-present
TU Wien Campus Software Development is not named in info.contact.
$.info
warn
tu-wien-license-present
The repository is EUPL-1.2 licensed but the contract does not say so.
$.info
warn
tu-wien-operation-examples
No operation carries a response example, so no mock can be generated from the contract.
$.paths[*][*].responses['200'].content[*]

Spectral Ruleset

Raw ↑
---
# Spectral ruleset for TU Wien's own contract (FUNDify / RIS Synergy Funding).
# generated: '2026-08-30'
# method: generated
# source: authored by API Evangelist against openapi/_original/tu-wien-fundify-api-openapi.yml
# x-operator: institution — the contract these rules lint is TU Wien's; the rules are ours.
extends: [[spectral:oas, all]]
rules:
  tu-wien-servers-declared:
    description: >-
      The published FUNDify contract carries no servers[] block, so a consumer cannot learn the base
      URL from the document. The national instance is fundify.arisnet.ac.at (probed 401 on the
      funding route, 2026-08-30).
    message: '{{description}}'
    given: $
    severity: error
    then:
      field: servers
      function: truthy
  tu-wien-auth-declared:
    description: >-
      Anonymous calls to the funding routes return 401, but the contract declares no
      securitySchemes and no security requirement.
    message: '{{description}}'
    given: $.components
    severity: error
    then:
      field: securitySchemes
      function: truthy
  tu-wien-401-documented:
    description: >-
      Every operation is protected in deployment yet documents only 200/400/404/500. A 401 response
      must be documented.
    message: '{{description}}'
    given: $.paths[*][get].responses
    severity: error
    then:
      field: '401'
      function: truthy
  tu-wien-error-schema:
    description: >-
      400/404/500 responses carry a description but no content schema, so error handling cannot be
      generated from the contract.
    message: '{{description}}'
    given: $.paths[*][*].responses['400','404','500']
    severity: warn
    then:
      field: content
      function: truthy
  tu-wien-contact-present:
    description: TU Wien Campus Software Development is not named in info.contact.
    message: '{{description}}'
    given: $.info
    severity: warn
    then:
      field: contact
      function: truthy
  tu-wien-license-present:
    description: The repository is EUPL-1.2 licensed but the contract does not say so.
    message: '{{description}}'
    given: $.info
    severity: warn
    then:
      field: license
      function: truthy
  tu-wien-operation-examples:
    description: No operation carries a response example, so no mock can be generated from the contract.
    message: '{{description}}'
    given: $.paths[*][*].responses['200'].content[*]
    severity: warn
    then:
      field: example
      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-wien-spectral"
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.