SAP BI Tools · API Governance Rules
SAP BI Tools API Rules
Spectral linting rules defining API design standards and conventions for SAP BI Tools.
10 Rules
error 1
warn 7
info 2
Rule Categories
sap
Rules
warn
sap-bi-tools-operation-summary-title-case
Operation summaries must use Title Case
$.paths[*][*].summary
warn
sap-bi-tools-operation-id-camel-case
OperationIds must use camelCase
$.paths[*][*].operationId
warn
sap-bi-tools-tags-title-case
All tags must use Title Case
$.tags[*].name
warn
sap-bi-tools-path-kebab-case
API path segments must use kebab-case
$.paths
warn
sap-bi-tools-oauth2-required
SAP Analytics Cloud APIs require OAuth 2.0 security
$.components.securitySchemes
warn
sap-bi-tools-response-200-schema
GET operations must define a 200 response schema
$.paths[*].get.responses.200.content
warn
sap-bi-tools-contact-info
API info must include contact information
$.info.contact
info
sap-bi-tools-external-docs
APIs should reference external documentation
$.externalDocs
error
sap-bi-tools-servers-defined
APIs must define at least one server URL
$.servers
info
sap-bi-tools-odata-dollar-params
OData query parameters should use $-prefixed names
$.paths[*][*].parameters[*].name