Workday Extend · API Governance Rules
Workday Extend API Rules
Spectral linting rules defining API design standards and conventions for Workday Extend.
15 Rules
error 6
warn 8
Rule Categories
workday
Rules
error
workday-extend-operation-id-required
All operations must have an operationId.
$.paths[*][get,post,put,patch,delete]
error
workday-extend-operation-summary-required
All operations must have a summary.
$.paths[*][get,post,put,patch,delete]
warn
workday-extend-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
workday-extend-operation-tags-required
All operations must have at least one tag.
$.paths[*][get,post,put,patch,delete]
warn
workday-extend-operation-description-required
All operations must have a description.
$.paths[*][get,post,put,patch,delete]
warn
workday-extend-path-kebab-case
Path segments must use kebab-case.
$.paths[*]~
warn
workday-extend-response-200-schema
GET operations must define a schema for 200 responses.
$.paths[*].get.responses.200.content.application/json.schema
error
workday-extend-security-defined
All operations must define security requirements.
$.paths[*][get,post,put,patch,delete]
error
workday-extend-oauth2-scopes
OAuth2 flows must define scopes.
$.components.securitySchemes[*].flows[*].scopes
warn
workday-extend-parameters-description
All parameters must have a description.
$.components.parameters[*]
warn
workday-extend-info-contact
API info must include contact details.
$.info
error
workday-extend-servers-defined
At least one server must be defined.
$
hint
workday-extend-schema-properties-description
Schema properties should include descriptions for documentation.
$.components.schemas[*].properties[*]
warn
workday-extend-pagination-limit-param
Collection endpoints should support limit query parameter for pagination.
$.paths[*].get.parameters[*][?(@.name == 'limit')]
warn
workday-extend-tenant-variable-required
Server URLs must include tenant variable for multi-tenancy.
$.servers[*].url