RapidAPI · API Governance Rules
RapidAPI API Rules
Spectral linting rules defining API design standards and conventions for RapidAPI.
8 Rules
error 1
warn 6
Rule Categories
rapidapi
Rules
warn
rapidapi-operation-ids-camel-case
All operationIds must use camelCase to match the RapidAPI Platform API convention.
$.paths[*][*].operationId
warn
rapidapi-tags-title-case
All tags must use Title Case.
$.paths[*][*].tags[*]
warn
rapidapi-apikey-security-defined
All RapidAPI platform endpoints should use the rapidApiKey security scheme.
$.components.securitySchemes
hint
rapidapi-pagination-support
List operations should support offset and limit pagination.
$.paths[*].get
error
rapidapi-no-trailing-slashes
API paths must not end with a trailing slash.
$.paths
warn
rapidapi-delete-returns-204
DELETE operations should return 204 No Content.
$.paths[*].delete.responses
warn
rapidapi-responses-include-401
Operations requiring authentication should define a 401 response.
$.paths[*][*].responses
warn
rapidapi-request-body-required
POST and PUT operations should define a request body.
$.paths[*][post,put]