Tecnológico de Monterrey · API Governance Rules
Tecnológico de Monterrey API Rules
Spectral linting rules defining API design standards and conventions for Tecnológico de Monterrey.
5 Rules
error 2
warn 2
info 1
Rule Categories
tec
Rules
error
tec-info-title
API document must have a title.
$.info.title
warn
tec-servers-public-host
Server URLs should use the public datahub.tec.mx host, not internal itesm.mx deployment hosts.
$.servers[*].url
info
tec-paths-versioned
Dataverse Native API paths are versioned under /api/v1/.
$.paths[*]~
warn
tec-operation-id
Every operation should declare an operationId.
$.paths[*][get,post,put,delete,patch].operationId
error
tec-response-defined
Every operation should define at least one response.
$.paths[*][get,post,put,delete,patch].responses