Workday Finance · API Governance Rules
Workday Finance API Rules
Spectral linting rules defining API design standards and conventions for Workday Finance.
12 Rules
error 4
warn 7
Rule Categories
workday
Rules
error
workday-finance-operation-id-required
All operations must have an operationId.
$.paths[*][get,post,put,patch,delete]
error
workday-finance-operation-summary-required
All operations must have a summary.
$.paths[*][get,post,put,patch,delete]
warn
workday-finance-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
workday-finance-tags-required
All operations must have at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
workday-finance-path-kebab-case
Path segments must use kebab-case.
$.paths[*]~
warn
workday-finance-response-200-schema
GET operations must define a schema for 200 responses.
$.paths[*].get.responses.200.content.application/json.schema
error
workday-finance-bearer-auth-defined
Bearer authentication must be defined in security schemes.
$.components.securitySchemes
warn
workday-finance-pagination-params
Collection GET endpoints should support limit and offset parameters.
$.paths[*].get.parameters[*][?(@.name == 'limit')]
warn
workday-finance-tenant-in-server-url
Server URLs must include tenant variable for multi-tenancy.
$.servers[*].url
hint
workday-finance-financial-amounts-as-number
Financial amount fields should use number type for precision.
$.components.schemas[*].properties[?(@property.match(/[Aa]mount|[Bb]alance|[Cc]ost|[Pp]rice/))]
warn
workday-finance-date-fields-format
Date fields must specify date or date-time format.
$.components.schemas[*].properties[?(@property.match(/[Dd]ate$|[Oo]n$/))]
warn
workday-finance-info-contact
API info must include contact details.
$.info