Workday Business Processes · API Governance Rules
Workday Business Processes API Rules
Spectral linting rules defining API design standards and conventions for Workday Business Processes.
36 Rules
error 7
warn 21
info 8
Rule Categories
wdbp
Rules
warn
wdbp-info-contact
$.info
warn
wdbp-info-version
$.info.version
error
wdbp-operation-id-required
$.paths[*][get,post,put,patch,delete]
error
wdbp-operation-summary-required
$.paths[*][get,post,put,patch,delete]
warn
wdbp-operation-summary-workday-prefix
$.paths[*][get,post,put,patch,delete].summary
warn
wdbp-operation-description-required
$.paths[*][get,post,put,patch,delete]
warn
wdbp-operation-tags-required
$.paths[*][get,post,put,patch,delete]
warn
wdbp-parameter-description-required
$.paths[*][get,post,put,patch,delete].parameters[*]
error
wdbp-parameter-schema-required
$.paths[*][get,post,put,patch,delete].parameters[*]
error
wdbp-response-200-required
$.paths[*].get.responses
warn
wdbp-response-401-required
$.paths[*][get,post,put,patch,delete].responses
warn
wdbp-response-403-required
$.paths[*][get,post,put,patch,delete].responses
warn
wdbp-schema-title-required
$.components.schemas[*]
warn
wdbp-schema-description-required
$.components.schemas[*]
info
wdbp-schema-properties-description
$.components.schemas[*].properties[*]
error
wdbp-security-schemes-defined
$.components
warn
wdbp-operation-security-required
$.paths[*][get,post,put,patch,delete]
error
wdbp-oauth2-flows-defined
$.components.securitySchemes.oauth2
info
wdbp-microcks-operation-extension
$.paths[*][get,post,put,patch,delete]
info
wdbp-microcks-example-default
$.paths[*][get,post,put,patch,delete].responses[*].content[*].examples[*]
info
wdbp-path-camel-case
$.paths
warn
wdbp-schema-pascal-case
$.components.schemas
warn
wdbp-operation-id-camel-case
$.paths[*][get,post,put,patch,delete].operationId
info
wdbp-pagination-limit-param
$.paths[*][?(@property === 'get')].parameters[?(@.name === 'limit')]
info
wdbp-pagination-offset-param
$.paths[*][?(@property === 'get')].parameters[?(@.name === 'offset')]
warn
wdbp-response-schema-ref
$.paths[*][get,post,put,patch,delete].responses[200,201].content.application/json.schema
warn
wdbp-server-tenant-variable
$.servers[*].url
info
wdbp-error-response-schema
$.components.responses[*].content.application/json.schema
warn
wdbp-tags-global-defined
$.tags
info
wdbp-examples-provided
$.paths[*][get,post,put,patch,delete].responses[200,201].content.application/json
warn
wdbp-request-body-description
$.paths[*][post,put,patch].requestBody
warn
wdbp-request-body-required-flag
$.paths[*][post,put,patch].requestBody
warn
wdbp-process-instance-status-enum
$.components.schemas.ProcessInstance.properties.status
warn
wdbp-inbox-item-status-enum
$.components.schemas.InboxItem.properties.status
error
wdbp-approval-request-approver-required
$.components.schemas.ApprovalRequest
warn
wdbp-process-step-type-enum
$.components.schemas[*].properties.stepType