SAP API Management · API Governance Rules
SAP API Management API Rules
Spectral linting rules defining API design standards and conventions for SAP API Management.
7 Rules
error 3
warn 3
info 1
Rule Categories
sap
Rules
error
sap-apimgmt-oauth2-required
SAP API Management endpoints require OAuth 2.0 authentication
$.paths[*][*]
error
sap-apimgmt-https-only
All SAP API Management servers must use HTTPS
$.servers[*]
error
sap-apimgmt-operation-id-required
All operations must have operationId for automation tooling
$.paths[*][*]
warn
sap-apimgmt-tags-required
All operations must have tags for grouping in developer portal
$.paths[*][*]
info
sap-apimgmt-odata-response-format
OData responses should use the d.results envelope format
$.paths[*].get.responses.200.content.application/json.schema
warn
sap-apimgmt-description-required
All operations must have descriptions
$.paths[*][*]
warn
sap-apimgmt-204-on-delete
DELETE operations should return 204 No Content
$.paths[*].delete.responses