naftiko: 1.0.0-alpha2 info: label: Bloomberg Data License API (HAPI) — Catalogs description: 'Bloomberg Data License API (HAPI) — Catalogs. 3 operations. Lead operation: List Available Catalogs. Self-contained Naftiko capability covering one Bloomberg Aim business surface.' tags: - Bloomberg Aim - Catalogs created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BLOOMBERG_AIM_API_KEY: BLOOMBERG_AIM_API_KEY capability: consumes: - type: http namespace: bloomberg-data-license-catalogs baseUri: https://api.bloomberg.com/eap description: Bloomberg Data License API (HAPI) — Catalogs business capability. Self-contained, no shared references. resources: - name: catalogs path: /catalogs operations: - name: listcatalogs method: GET description: List Available Catalogs outputRawFormat: json outputParameters: - name: result type: object value: $. - name: catalogs-catalogId path: /catalogs/{catalogId} operations: - name: getcatalog method: GET description: Get Catalog Details outputRawFormat: json outputParameters: - name: result type: object value: $. - name: catalogs-catalogId-datasets path: /catalogs/{catalogId}/datasets operations: - name: listdatasets method: GET description: List Datasets in a Catalog outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.BLOOMBERG_AIM_API_KEY}}' exposes: - type: rest namespace: bloomberg-data-license-catalogs-rest port: 8080 description: REST adapter for Bloomberg Data License API (HAPI) — Catalogs. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/catalogs name: catalogs description: REST surface for catalogs. operations: - method: GET name: listcatalogs description: List Available Catalogs call: bloomberg-data-license-catalogs.listcatalogs outputParameters: - type: object mapping: $. - path: /v1/catalogs/{catalogid} name: catalogs-catalogid description: REST surface for catalogs-catalogId. operations: - method: GET name: getcatalog description: Get Catalog Details call: bloomberg-data-license-catalogs.getcatalog outputParameters: - type: object mapping: $. - path: /v1/catalogs/{catalogid}/datasets name: catalogs-catalogid-datasets description: REST surface for catalogs-catalogId-datasets. operations: - method: GET name: listdatasets description: List Datasets in a Catalog call: bloomberg-data-license-catalogs.listdatasets outputParameters: - type: object mapping: $. - type: mcp namespace: bloomberg-data-license-catalogs-mcp port: 9090 transport: http description: MCP adapter for Bloomberg Data License API (HAPI) — Catalogs. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-available-catalogs description: List Available Catalogs hints: readOnly: true destructive: false idempotent: true call: bloomberg-data-license-catalogs.listcatalogs outputParameters: - type: object mapping: $. - name: get-catalog-details description: Get Catalog Details hints: readOnly: true destructive: false idempotent: true call: bloomberg-data-license-catalogs.getcatalog outputParameters: - type: object mapping: $. - name: list-datasets-catalog description: List Datasets in a Catalog hints: readOnly: true destructive: false idempotent: true call: bloomberg-data-license-catalogs.listdatasets outputParameters: - type: object mapping: $.