Tink · API Governance Rules
Tink API Rules
Spectral linting rules defining API design standards and conventions for Tink.
7 Rules
error 3
warn 3
info 1
Rule Categories
tink
Rules
error
tink-paths-kebab-case
Tink path segments must be kebab-case (lowercase, hyphen-separated).
$.paths.*~
warn
tink-operation-summary-title-case
Tink operation summaries must use Title Case and begin with "Tink".
$.paths.*[get,post,put,patch,delete].summary
error
tink-operation-id-camel-case
operationId must be lowerCamelCase.
$.paths.*[get,post,put,patch,delete].operationId
warn
tink-error-schema-reused
4xx and 5xx responses must reuse the shared Error schema component.
$.paths.*[get,post,put,patch,delete].responses[?(@property.match(/^(4|5)\d{2}$/))]
warn
tink-bearer-auth-required
Bearer authentication must be declared on every non-oauth endpoint.
$.paths[?([email protected](/oauth/))].*.security
error
tink-server-url-required
Tink specs must list https://api.tink.com as a production server.
$.servers[*].url
info
tink-iso-currency
Currency fields must reference a string named currencyCode or currency.
$.components.schemas..properties.[currency,currencyCode].type