Fintecture · API Governance Rules
Fintecture API Rules
Spectral linting rules defining API design standards and conventions for Fintecture.
7 Rules
error 3
warn 4
Rule Categories
fintecture
Rules
error
fintecture-info-contact
Every Fintecture OpenAPI spec must declare a contact block.
$.info
error
fintecture-server-host
Servers must point at api.fintecture.com or api-sandbox.fintecture.com.
$.servers[*].url
error
fintecture-operation-id-required
All operations must declare an operationId.
$.paths[*][get,post,patch,put,delete].operationId
warn
fintecture-operation-summary-title-case
Operation summaries should be Title Case.
$.paths[*][get,post,patch,put,delete].summary
warn
fintecture-paths-versioned
All Fintecture paths begin with /v1, /v2, /pis/, /ais/, /res/, or /oauth/.
$.paths[*]~
warn
fintecture-pis-requires-signature-headers
PIS v2 mutation operations require Signature, Digest, Date, x-request-id parameters declared.
$.paths['/pis/v2/connect','/pis/v2/request-to-pay'].post.parameters[*].name
warn
fintecture-security-bearer
Most Fintecture endpoints use bearer auth.
$.components.securitySchemes.BearerAuth.type