Politecnico di Torino · API Governance Rules
Politecnico di Torino API Rules
Spectral linting rules defining API design standards and conventions for Politecnico di Torino.
6 Rules
error 1
warn 4
info 1
Rule Categories
polito
Rules
warn
polito-openapi-3
Specification should declare OpenAPI 3.0.x.
$.openapi
error
polito-servers-defined
At least one server URL must be defined.
$.servers
warn
polito-server-host
Servers should point at the app.didattica.polito.it host.
$.servers[*].url
warn
polito-operation-tags
Every operation should carry at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
polito-operation-id
Operations should declare an operationId.
$.paths[*][get,post,put,patch,delete]
info
polito-summary-present
Operations should include a human summary.
$.paths[*][get,post,put,patch,delete]