SAP Concur · API Governance Rules
SAP Concur API Rules
Spectral linting rules defining API design standards and conventions for SAP Concur.
11 Rules
error 6
warn 4
info 1
Rule Categories
info
operation
parameter
paths
response
schema
security
Rules
error
info-title-required
Info title must be present and start with "SAP Concur"
$.info
error
info-description-required
Info description must be present with minimum length
$.info
warn
paths-kebab-case
Paths should use kebab-case
$.paths
error
operation-operationId-required
Every operation must have an operationId
$.paths[*][get,post,put,patch,delete]
error
operation-summary-required
Every operation must have a summary
$.paths[*][get,post,put,patch,delete]
warn
operation-summary-prefix
Operation summaries should start with "SAP Concur"
$.paths[*][get,post,put,patch,delete]
warn
operation-tags-required
Every operation must have tags
$.paths[*][get,post,put,patch,delete]
warn
parameter-description-required
Every parameter must have a description
$.paths[*][get,post,put,patch,delete].parameters[*]
error
response-success-required
Every operation must have a success response
$.paths[*][get,post,put,patch,delete].responses
error
security-global-defined
Global security must be defined
$
info
schema-properties-description
Schema properties should have descriptions
$.components.schemas[*].properties[*]