Sherwin-Williams · API Governance Rules
Sherwin-Williams API Rules
Spectral linting rules defining API design standards and conventions for Sherwin-Williams.
7 Rules
error 5
warn 2
Rule Categories
sherwin
Rules
error
sherwin-williams-must-have-summary
All operations must have a summary
$.paths[*][get,post,put,patch,delete]
warn
sherwin-williams-must-have-tags
All operations must have at least one tag
$.paths[*][get,post,put,patch,delete]
error
sherwin-williams-must-have-operation-id
All operations must have an operationId
$.paths[*][get,post,put,patch,delete]
error
sherwin-williams-no-trailing-slash
Paths must not have trailing slashes
$.paths
warn
sherwin-williams-operation-id-camel-case
Operation IDs must use camelCase
$.paths[*][get,post,put,patch,delete].operationId
error
sherwin-williams-parameters-have-schema
All parameters must have a schema defined
$.paths[*][get,post,put,patch,delete].parameters[*]
error
sherwin-williams-b2b-auth
B2B APIs must have authentication defined
$.security