Scout RFP · API Governance Rules
Scout RFP API Rules
Spectral linting rules defining API design standards and conventions for Scout RFP.
10 Rules
error 2
warn 5
info 3
Rule Categories
scout
Rules
warn
scout-rfp-json-api-data-wrapper
Responses should use JSON API data wrapper pattern
$.paths[*][*].responses[?(@property >= '200' && @property < '300')].content.application/json.schema
warn
scout-rfp-pagination-meta
List endpoints should include pagination metadata
$.paths[*].get.responses[200].content.application/json.schema
error
scout-rfp-api-key-auth
All operations must require API key authentication headers
$.paths[*][*]
error
scout-rfp-operation-ids
All operations must have operationId
$.paths[*][*]
info
scout-rfp-versioned-paths
API paths should include version prefix
$.paths
warn
scout-rfp-camel-case-operation-ids
Operation IDs should use camelCase
$.paths[*][*].operationId
warn
scout-rfp-tags-required
All operations must have at least one tag
$.paths[*][*]
info
scout-rfp-pagination-parameters
GET list endpoints should support pagination parameters
$.paths[*].get
info
scout-rfp-rate-limit-documentation
Document rate limiting constraints
$.info
warn
scout-rfp-resource-id-path-params
Path parameters for resources should be named 'id'
$.paths[*][*].parameters[?(@.in === 'path')]