ReadMe · API Governance Rules
ReadMe API Rules
Spectral linting rules defining API design standards and conventions for ReadMe.
9 Rules
error 5
warn 4
Rule Categories
readme
Rules
error
readme-info-title
API title must be present and start with "ReadMe".
$.info.title
warn
readme-info-contact
API info must include a contact block.
$.info
warn
readme-server-url
Server URLs should point to api.readme.com or metrics.readme.io.
$.servers[*].url
error
readme-bearer-auth
The ReadMe API must declare bearer auth.
$.components.securitySchemes
error
readme-tag-title-case
Tags must be Title Case.
$.tags[*].name
warn
readme-operation-summary-title-case
Operation summaries must use Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
readme-operation-tags-required
Every operation must have at least one tag.
$.paths[*][get,post,put,patch,delete]
error
readme-operation-responses-required
Every operation must define at least one response.
$.paths[*][get,post,put,patch,delete]
warn
readme-no-trailing-slash
Paths must not end with a trailing slash.
$.paths