Utrecht University · API Governance Rules
Utrecht University API Rules
Spectral linting rules defining API design standards and conventions for Utrecht University.
8 Rules
error 1
warn 6
info 1
Rule Categories
yoda
Rules
warn
yoda-info-contact
Yoda API spec should declare a contact email.
$.info
error
yoda-server-defined
At least one server URL must be declared.
$.servers
warn
yoda-operations-are-post
Yoda API operations are exposed exclusively as HTTP POST.
$.paths[*]
warn
yoda-operation-has-summary
Every Yoda operation should carry a summary.
$.paths[*].post
warn
yoda-operation-tagged
Every Yoda operation should be tagged to its functional area (folder, vault, group, datarequest, etc.).
$.paths[*].post
info
yoda-result-envelope
Successful responses should use the standard status/status_info/data envelope.
$.paths[*].post.responses.200.content.application/json.schema.properties
warn
yoda-error-responses
Operations should document 400 and 500 error responses.
$.paths[*].post.responses
warn
yoda-security-required
Yoda API requires cookie or basic authentication.
$