Eindhoven University of Technology · API Governance Rules
Eindhoven University of Technology API Rules
Spectral linting rules defining API design standards and conventions for Eindhoven University of Technology.
6 Rules
error 2
warn 3
info 1
Rule Categories
tue
Rules
error
tue-pure-info-title
API must declare a title (observed "Pure API").
$.info
error
tue-pure-info-version
API must declare a version (observed Pure 5.x release tag).
$.info
warn
tue-pure-server-ws-api
Servers should be rooted at the Pure /ws/api base path.
$.servers[*].url
warn
tue-pure-collection-plural
Top-level research-content collections are lower-case plural nouns (persons, research-outputs, organizations, projects, data-sets).
$.paths[*]~
info
tue-pure-uuid-path-param
Single-resource lookups should be keyed by a uuid/id path parameter.
$.paths[?(@property.match(/\\{.*\\}$/))]~
warn
tue-pure-operation-tags
Every operation should be tagged for grouping in the Pure portal.
$.paths[*][get,post,put,delete]