Massey University · API Governance Rules
Massey University API Rules
Spectral linting rules defining API design standards and conventions for Massey University.
7 Rules
error 4
warn 3
Rule Categories
massey
Rules
error
massey-operator-declared
Every Massey OpenAPI must declare who operates the thing it describes.
$
error
massey-provenance-declared
Every Massey OpenAPI must carry x-provenance with a method.
$.x-provenance
error
massey-servers-institution-host
Servers must be under a Massey-operated host.
$.servers[*]
warn
massey-info-contact
Contact information must be present.
$.info
error
massey-operation-ids
Every operation needs an operationId.
$.paths[*][get,post,put,patch,delete]
warn
massey-operation-described
Every operation needs a description recording what was actually probed.
$.paths[*][get,post,put,patch,delete]
warn
massey-security-declared
A gated surface must declare a security scheme.
$.components
Spectral Ruleset
Work with this as data
Every ruleset here is available over the APIs.io API and to AI agents over MCP.