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
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[*]