Workday Advanced Compensation · API Governance Rules
Workday Advanced Compensation API Rules
Spectral linting rules defining API design standards and conventions for Workday Advanced Compensation.
35 Rules
error 6
warn 19
info 10
Rule Categories
wdcomp
Rules
warn
wdcomp-info-contact
$.info
warn
wdcomp-info-version
$.info.version
error
wdcomp-operation-id-required
$.paths[*][get,post,put,patch,delete]
error
wdcomp-operation-summary-required
$.paths[*][get,post,put,patch,delete]
warn
wdcomp-operation-summary-workday-prefix
$.paths[*][get,post,put,patch,delete].summary
warn
wdcomp-operation-description-required
$.paths[*][get,post,put,patch,delete]
warn
wdcomp-operation-tags-required
$.paths[*][get,post,put,patch,delete]
warn
wdcomp-parameter-description-required
$.paths[*][get,post,put,patch,delete].parameters[*]
error
wdcomp-parameter-schema-required
$.paths[*][get,post,put,patch,delete].parameters[*]
error
wdcomp-response-200-required
$.paths[*].get.responses
warn
wdcomp-response-401-required
$.paths[*][get,post,put,patch,delete].responses
warn
wdcomp-response-403-required
$.paths[*][get,post,put,patch,delete].responses
warn
wdcomp-schema-title-required
$.components.schemas[*]
warn
wdcomp-schema-description-required
$.components.schemas[*]
info
wdcomp-schema-properties-description
$.components.schemas[*].properties[*]
error
wdcomp-security-schemes-defined
$.components
warn
wdcomp-operation-security-required
$.paths[*][get,post,put,patch,delete]
error
wdcomp-oauth2-flows-defined
$.components.securitySchemes.oauth2
info
wdcomp-microcks-operation-extension
$.paths[*][get,post,put,patch,delete]
info
wdcomp-microcks-example-default
$.paths[*][get,post,put,patch,delete].responses[*].content[*].examples[*]
info
wdcomp-path-kebab-case
$.paths
warn
wdcomp-schema-pascal-case
$.components.schemas
warn
wdcomp-operation-id-camel-case
$.paths[*][get,post,put,patch,delete].operationId
info
wdcomp-pagination-limit-param
$.paths[*][?(@property === 'get')].parameters[?(@.name === 'limit')]
info
wdcomp-pagination-offset-param
$.paths[*][?(@property === 'get')].parameters[?(@.name === 'offset')]
warn
wdcomp-response-schema-ref
$.paths[*][get,post,put,patch,delete].responses[200,201].content.application/json.schema
warn
wdcomp-server-tenant-variable
$.servers[*].url
info
wdcomp-error-response-schema
$.components.responses[*].content.application/json.schema
warn
wdcomp-tags-global-defined
$.tags
info
wdcomp-examples-provided
$.paths[*][get,post,put,patch,delete].responses[200,201].content.application/json
warn
wdcomp-request-body-description
$.paths[*][post,put,patch].requestBody
warn
wdcomp-request-body-required-flag
$.paths[*][post,put,patch].requestBody
info
wdcomp-compensation-effective-date
$.components.schemas[*].properties
info
wdcomp-compensation-currency-field
$.components.schemas[?(@.properties.basePay || @.properties.budgetAmount || @.properties.minimumPay)].properties
warn
wdcomp-compensation-status-enum
$.components.schemas[*].properties.status