Maersk · API Governance Rules
Maersk API Rules
Spectral linting rules defining API design standards and conventions for Maersk.
6 Rules
error 3
warn 2
Rule Categories
maersk
Rules
error
maersk-info-contact
All Maersk APIs must include Maersk Developer Support contact info.
$.info.contact
warn
maersk-server-https
Maersk API servers must use the api.maersk.com gateway over HTTPS.
$.servers[*].url
error
maersk-security-consumer-key
Maersk APIs must support the Consumer-Key API key scheme.
$.components.securitySchemes
warn
maersk-operation-summary-title-case
Operation summaries should be Title Case.
$.paths[*][get,post,put,patch,delete].summary
error
maersk-operation-tags-required
All operations must declare at least one tag.
$.paths[*][get,post,put,patch,delete]
hint
maersk-dcsa-path-prefix
DCSA-aligned endpoints should live under the /dcsa/ path prefix.
$.paths[?(@property.match(/dcsa/i))]