Calendarific · API Governance Rules
Calendarific API Rules
Spectral linting rules defining API design standards and conventions for Calendarific.
6 Rules
error 2
warn 4
Rule Categories
calendarific
Rules
warn
calendarific-operation-id-camel-case
All operationId values should use camelCase.
$.paths[*][get,post,put,delete,patch].operationId
warn
calendarific-operation-summary-title-case
Operation summaries should use Title Case.
$.paths[*][get,post,put,delete,patch].summary
error
calendarific-api-key-required
All operations must require an api_key query parameter (Calendarific auth model).
$.paths[*][get]
error
calendarific-tag-defined
Every operation must have at least one tag (Holidays, Countries, Languages).
$.paths[*][get,post,put,delete,patch]
warn
calendarific-response-envelope
200 responses should reference a schema (response envelope with meta + response).
$.paths[*][get].responses['200'].content['application/json']
warn
calendarific-rate-limit-documented
Operations should document 429 rate-limit responses.
$.paths[*][get].responses