SAP BRIM (Billing and Revenue Innovation Management) · API Governance Rules
SAP BRIM (Billing and Revenue Innovation Management) API Rules
Spectral linting rules defining API design standards and conventions for SAP BRIM (Billing and Revenue Innovation Management).
10 Rules
warn 8
info 2
Rule Categories
sap
Rules
warn
sap-brim-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
sap-brim-operation-id-camel-case
OperationIds must use camelCase
$.paths[*][*].operationId
warn
sap-brim-tags-title-case
All tags must use Title Case
$.tags[*].name
warn
sap-brim-path-kebab-case
API paths should use kebab-case for segments
$.paths
warn
sap-brim-oauth2-or-apikey-required
BRIM APIs require OAuth 2.0 or API Key authentication
$.components.securitySchemes
warn
sap-brim-error-responses
Operations should define error responses (400, 401, 500)
$.paths[*][*].responses
info
sap-brim-subscription-status-enum
Subscription status fields should use defined enum values
$.components.schemas.Subscription.properties.status.enum
warn
sap-brim-request-body-required
POST and PUT operations must define request bodies
$.paths[*].post.requestBody
info
sap-brim-pagination-parameters
List operations should support offset/limit pagination
$.paths[*].get.parameters
warn
sap-brim-servers-defined
APIs must define production and sandbox server URLs
$.servers