naftiko: 1.0.0-alpha2 info: label: DataHub OpenAPI — Batch description: 'DataHub OpenAPI — Batch. 1 operations. Lead operation: DataHub Batch fetch entities. Self-contained Naftiko capability covering one Datahub business surface.' tags: - Datahub - Batch created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATAHUB_API_KEY: DATAHUB_API_KEY capability: consumes: - type: http namespace: openapi-batch baseUri: http://localhost:8080 description: DataHub OpenAPI — Batch business capability. Self-contained, no shared references. resources: - name: v3-entity-entityName-batchGet path: /v3/entity/{entityName}/batchGet operations: - name: batchgetentities method: POST description: DataHub Batch fetch entities outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: entityName in: path type: string description: The type name of the entities to fetch, such as dataset, chart, dashboard, dataFlow, dataJob, or corpUser. required: true - name: body in: body type: object description: Request body (JSON). required: true authentication: type: bearer token: '{{env.DATAHUB_API_KEY}}' exposes: - type: rest namespace: openapi-batch-rest port: 8080 description: REST adapter for DataHub OpenAPI — Batch. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v3/entity/{entityname}/batchget name: v3-entity-entityname-batchget description: REST surface for v3-entity-entityName-batchGet. operations: - method: POST name: batchgetentities description: DataHub Batch fetch entities call: openapi-batch.batchgetentities with: entityName: rest.entityName body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: openapi-batch-mcp port: 9090 transport: http description: MCP adapter for DataHub OpenAPI — Batch. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datahub-batch-fetch-entities description: DataHub Batch fetch entities hints: readOnly: true destructive: false idempotent: false call: openapi-batch.batchgetentities with: entityName: tools.entityName body: tools.body outputParameters: - type: object mapping: $.