Ramp · API Governance Rules
Ramp API Rules
Spectral linting rules defining API design standards and conventions for Ramp.
8 Rules
error 2
warn 4
Rule Categories
ramp
Rules
warn
ramp-operation-ids-camel-case
All operationIds must use camelCase to match the Ramp Developer API convention.
$.paths[*][*].operationId
warn
ramp-tags-title-case
All tags must use Title Case to match the Ramp Developer API convention.
$.paths[*][*].tags[*]
hint
ramp-pagination-list-operations
List operations (GET collections) should support pagination via page_size and start query parameters.
$.paths[*].get
error
ramp-response-200-required
All GET operations must define a 200 response.
$.paths[*].get.responses
warn
ramp-oauth2-scopes-defined
All operations that require authentication should reference OAuth2 scopes.
$.paths[*][*]
error
ramp-no-trailing-slashes
API paths must not end with a trailing slash.
$.paths
warn
ramp-kebab-case-paths
Path segments should use kebab-case for multi-word identifiers.
$.paths
hint
ramp-resource-descriptions
All operations should have a description for developer clarity.
$.paths[*][*]