Fintecture · API Governance Rules

Fintecture API Rules

Spectral linting rules defining API design standards and conventions for Fintecture.

7 Rules error 3 warn 4
View Rules File View on GitHub

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

Spectral Ruleset

Raw ↑
extends:
  - spectral:oas
rules:
  fintecture-info-contact:
    description: Every Fintecture OpenAPI spec must declare a contact block.
    given: $.info
    severity: error
    then:
      field: contact
      function: truthy
  fintecture-server-host:
    description: Servers must point at api.fintecture.com or api-sandbox.fintecture.com.
    given: $.servers[*].url
    severity: error
    then:
      function: pattern
      functionOptions:
        match: "^https://api(-sandbox)?\\.fintecture\\.com$"
  fintecture-operation-id-required:
    description: All operations must declare an operationId.
    given: $.paths[*][get,post,patch,put,delete].operationId
    severity: error
    then:
      function: truthy
  fintecture-operation-summary-title-case:
    description: Operation summaries should be Title Case.
    given: $.paths[*][get,post,patch,put,delete].summary
    severity: warn
    then:
      function: pattern
      functionOptions:
        match: "^(?:[A-Z][A-Za-z0-9]*)(?: (?:[A-Z][A-Za-z0-9]*|A|An|And|Or|The|Of|To|For|With|In|On|By))*$"
  fintecture-paths-versioned:
    description: All Fintecture paths begin with /v1, /v2, /pis/, /ais/, /res/, or /oauth/.
    given: $.paths[*]~
    severity: warn
    then:
      function: pattern
      functionOptions:
        match: "^/(v[12]|pis|ais|res|oauth)/"
  fintecture-pis-requires-signature-headers:
    description: PIS v2 mutation operations require Signature, Digest, Date, x-request-id parameters declared.
    given: "$.paths['/pis/v2/connect','/pis/v2/request-to-pay'].post.parameters[*].name"
    severity: warn
    then:
      function: enumeration
      functionOptions:
        values:
          - Signature
          - Digest
          - Date
          - x-request-id
  fintecture-security-bearer:
    description: Most Fintecture endpoints use bearer auth.
    given: $.components.securitySchemes.BearerAuth.type
    severity: warn
    then:
      function: enumeration
      functionOptions:
        values:
          - http

Work with this as data

Every ruleset here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for spectral rules

4 MCP tools reach this
  • find_rulesBrowse and filter every ruleset in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This ruleset
curl "https://apis.io/api/v1/rules/fintecture-rules"
All spectral rules
curl "https://apis.io/api/v1/rules?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.