Paychex · API Governance Rules
Paychex API Rules
Spectral linting rules defining API design standards and conventions for Paychex.
9 Rules
error 4
warn 5
Rule Categories
paychex
Rules
error
paychex-info-contact-required
Paychex APIs must publish a developer-program contact in info.contact.
$.info
error
paychex-server-https
All Paychex API servers must use HTTPS and point at api.paychex.com.
$.servers[*].url
error
paychex-security-oauth2-required
Paychex APIs must declare an OAuth 2.0 client_credentials security scheme.
$.components.securitySchemes
warn
paychex-tags-title-case
OpenAPI tag names must use Title Case (e.g., Time Entries, not time_entries).
$.tags[*].name
warn
paychex-operation-id-camel-case
operationId must be camelCase and start with a verb.
$.paths.*.*.operationId
warn
paychex-operation-summary-title-case
Operation summaries should be in Title Case.
$.paths.*.*.summary
warn
paychex-list-pagination
GET list operations should expose offset and limit query parameters.
$.paths[?(@property.match(/^\\/companies($|\\/[^\\/]+\\/(workers))$/))].get
error
paychex-error-401-defined
Every operation must define a 401 response for invalid OAuth tokens.
$.paths.*.*.responses
warn
paychex-error-429-defined
Every operation must define a 429 response for rate-limited callers.
$.paths.*.*.responses