Moniepoint · API Governance Rules
Moniepoint API Rules
Spectral linting rules defining API design standards and conventions for Moniepoint.
9 Rules
error 5
warn 3
Rule Categories
monnify
Rules
error
monnify-info-contact
Each Monnify OpenAPI document must declare a contact pointing to the developer portal.
$.info
warn
monnify-info-license
Each Monnify OpenAPI document should reference Moniepoint's terms of service.
$.info
error
monnify-servers-production
Production server must be https://api.monnify.com.
$.servers[*].url
error
monnify-operation-id-camelcase
operationId values use camelCase.
$.paths[*][*]
warn
monnify-summary-title-case
Operation summaries are written in Title Case and start with the provider name.
$.paths[*][get,post,put,delete,patch]
error
monnify-paths-versioned
All Monnify endpoints live under /api/v1/ or /api/v2/.
$.paths
error
monnify-bearer-or-basic
Either Bearer auth (Monnify Bearer JWT) or Basic auth (auth/login + POS) must be declared.
$.components.securitySchemes[*]
warn
monnify-tag-defined
Every tag used on an operation must be defined at the document level.
$.paths[*][*].tags[*]
hint
monnify-response-envelope
Responses should reference the standard Monnify envelope properties.
$.components.schemas