Workday Financials · API Governance Rules
Workday Financials API Rules
Spectral linting rules defining API design standards and conventions for Workday Financials.
12 Rules
error 5
warn 6
Rule Categories
workday
Rules
error
workday-financials-operation-id-required
All operations must have an operationId.
$.paths[*][get,post,put,patch,delete]
error
workday-financials-operation-summary-required
All operations must have a summary.
$.paths[*][get,post,put,patch,delete]
warn
workday-financials-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
workday-financials-tags-required
All operations must have at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
workday-financials-description-required
All operations must have a description.
$.paths[*][get,post,put,patch,delete]
error
workday-financials-bearer-auth-defined
Bearer authentication must be defined in security schemes.
$.components.securitySchemes
warn
workday-financials-tenant-in-server-url
Server URLs must include tenant variable for multi-tenancy.
$.servers[*].url
warn
workday-financials-response-200-schema
GET operations must define a schema for 200 responses.
$.paths[*].get.responses.200.content.application/json.schema
warn
workday-financials-pagination-limit
Collection GET operations should support limit parameter.
$.paths[*].get.parameters[*][?(@.name == 'limit')]
hint
workday-financials-financial-amounts-number-type
Amount fields should use number type with double format.
$.components.schemas[*].properties[?(@property.match(/[Aa]mount|[Bb]alance/))]
warn
workday-financials-date-format
Date fields should specify date or date-time format.
$.components.schemas[*].properties[?(@property.match(/[Dd]ate$|[Oo]n$/))]
error
workday-financials-info-version
API info must include a version.
$.info