Factorial · API Governance Rules
Factorial API Rules
Spectral linting rules defining API design standards and conventions for Factorial.
4 Rules
error 2
warn 2
Rule Categories
factorial
Rules
warn
factorial-operation-summary-title-case
Factorial operation summaries should use Title Case to match the rest of the API Evangelist catalog.
$.paths.*[get,put,post,delete,patch].summary
warn
factorial-operation-id-camel-case
Operation IDs should be camelCase verbs (listEmployees, createEmployee, ...).
$.paths.*[get,put,post,delete,patch].operationId
error
factorial-prefer-bearer-or-api-key
Endpoints must declare one of the two supported auth schemes (oauth2 or apikey).
$.security[*]
error
factorial-server-must-be-canonical
Only the canonical Factorial production and demo bases should appear in `servers`.
$.servers[*].url