Workday Integrations · API Governance Rules
Workday Integrations API Rules
Spectral linting rules defining API design standards and conventions for Workday Integrations.
11 Rules
error 4
warn 6
Rule Categories
workday
Rules
error
workday-integrations-operation-id-required
All operations must have an operationId.
$.paths[*][get,post,put,patch,delete]
error
workday-integrations-operation-summary-required
All operations must have a summary.
$.paths[*][get,post,put,patch,delete]
warn
workday-integrations-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
workday-integrations-tags-required
All operations must have at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
workday-integrations-description-required
All operations must have a description.
$.paths[*][get,post,put,patch,delete]
error
workday-integrations-bearer-auth
Bearer authentication must be defined.
$.components.securitySchemes
warn
workday-integrations-tenant-in-url
Server URLs must include tenant variable.
$.servers[*].url
warn
workday-integrations-pagination-support
Collection endpoints should support limit parameter.
$.paths[*].get.parameters[*][?(@.name == 'limit')]
warn
workday-integrations-response-schema
Success responses must define a content schema.
$.paths[*][get,post].responses['200','201'].content.application/json.schema
warn
workday-integrations-path-params-described
Path parameters must have descriptions.
$.paths[*].parameters[?(@.in == 'path')]
hint
workday-integrations-external-docs
API info should include external documentation link.
$