Workato · API Governance Rules
Workato API Rules
Spectral linting rules defining API design standards and conventions for Workato.
38 Rules
error 12
warn 18
info 8
Rule Categories
delete
get
info
microcks
no
openapi
operation
operations
parameter
paths
request
response
schema
security
servers
tags
Rules
warn
info-title-workato-prefix
$.info.title
error
info-description-required
$.info
error
info-version-required
$.info
warn
info-contact-required
$.info
error
openapi-version-3
$.openapi
error
servers-defined
$
error
servers-https-only
$.servers[*].url
warn
servers-workato-domain
$.servers[*].url
info
paths-kebab-case
$.paths[*]~
warn
paths-no-trailing-slash
$.paths[*]~
warn
paths-api-prefix
$.paths[*]~
error
operation-summary-required
$.paths[*][get,post,put,patch,delete]
warn
operation-description-required
$.paths[*][get,post,put,patch,delete]
error
operation-id-required
$.paths[*][get,post,put,patch,delete]
warn
operation-id-camel-case
$.paths[*][get,post,put,patch,delete].operationId
warn
operation-tags-required
$.paths[*][get,post,put,patch,delete]
warn
operation-summary-workato-prefix
$.paths[*][get,post,put,patch,delete].summary
info
tags-defined
$
warn
parameter-description-required
$.paths[*][get,post,put,patch,delete].parameters[*]
error
parameter-schema-required
$.paths[*][get,post,put,patch,delete].parameters[*]
info
parameter-snake-case
$.paths[*][get,post,put,patch,delete].parameters[*].name
warn
request-body-json-content
$.paths[*][post,put,patch].requestBody.content
error
response-success-required
$.paths[*][get,post,put,patch,delete].responses
error
response-description-required
$.paths[*][get,post,put,patch,delete].responses[*]
warn
response-401-unauthorized
$.paths[*][get,post,put,patch,delete].responses
info
response-422-validation
$.paths[*][post,put].responses
warn
schema-description-required
$.components.schemas[*]
warn
schema-type-defined
$.components.schemas[*]
warn
schema-property-snake-case
$.components.schemas[*].properties[*]~
info
schema-property-description
$.components.schemas[*].properties[*]
error
security-schemes-defined
$.components
warn
security-bearer-token
$.components.securitySchemes[*]
info
security-header-api-token
$.components.securitySchemes[*][?(@.type == 'apiKey')]
error
get-no-request-body
$.paths[*].get
warn
delete-returns-success
$.paths[*].delete.responses
warn
no-empty-descriptions
$..description
info
operations-have-examples
$.paths[*][get,post,put,patch,delete].responses[*].content.application\/json
info
microcks-operation-extension
$.paths[*][get,post,put,patch,delete]