Workday Integration · API Governance Rules
Workday Integration API Rules
Spectral linting rules defining API design standards and conventions for Workday Integration.
13 Rules
error 4
warn 7
Rule Categories
workday
Rules
error
workday-integration-operation-id-required
All operations must have an operationId.
$.paths[*][get,post,put,patch,delete]
error
workday-integration-summary-required
All operations must have a summary.
$.paths[*][get,post,put,patch,delete]
warn
workday-integration-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
workday-integration-tags-required
All operations must have at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
workday-integration-description-required
All operations must have a description.
$.paths[*][get,post,put,patch,delete]
error
workday-integration-bearer-auth
Bearer authentication must be defined.
$.components.securitySchemes
warn
workday-integration-tenant-in-url
Server URLs must include tenant variable for multi-tenancy.
$.servers[*].url
warn
workday-integration-pagination-support
Collection GET endpoints should support limit parameter.
$.paths[*].get.parameters[*][?(@.name == 'limit')]
warn
workday-integration-response-schema
Success responses must define a content schema.
$.paths[*][get,post].responses['200','201'].content.application/json.schema
hint
workday-integration-path-kebab-case
Path segments must use kebab-case or camelCase for Workday conventions.
$.paths[*]~
warn
workday-integration-info-contact
API info must include contact details.
$.info
hint
workday-integration-external-docs
API info should include external documentation link.
$
warn
workday-integration-date-format
Date fields should specify date or date-time format.
$.components.schemas[*].properties[?(@property.match(/[Dd]ate$|[Oo]n$|[Aa]t$/))]