Mubert · API Governance Rules
Mubert API Rules
Spectral linting rules defining API design standards and conventions for Mubert.
7 Rules
error 4
warn 2
info 1
Rule Categories
mubert
Rules
error
mubert-base-path
All Mubert endpoints must live under /api/v3/public/* or /api/v3/service/*.
$.paths.*~
warn
mubert-summary-title-case
Every operation summary must be present and use Title Case.
$.paths.*[get,post,put,delete,patch].summary
warn
mubert-operation-id-camel-case
operationId should be camelCase.
$.paths.*[get,post,put,delete,patch].operationId
error
mubert-public-auth-headers
Public endpoints must declare customerId + accessToken security.
$.paths[?(@property.match(/\\/api\\/v3\\/public\\//))].*.security
error
mubert-service-auth-headers
Service endpoints must declare companyId + licenseToken security.
$.paths[?(@property.match(/\\/api\\/v3\\/service\\//))].*.security
error
mubert-servers-present
A top-level servers block must be present and point at music-api.mubert.com.
$.servers
info
mubert-uuid-ids
Resource ids exposed in schemas should be uuid-formatted strings.
$.components.schemas.*.properties.id