naftiko: 1.0.0-alpha2 info: label: DataHub OpenAPI — Platform description: 'DataHub OpenAPI — Platform. 1 operations. Lead operation: DataHub Emit platform metadata events. Self-contained Naftiko capability covering one Datahub business surface.' tags: - Datahub - Platform created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: DATAHUB_API_KEY: DATAHUB_API_KEY capability: consumes: - type: http namespace: openapi-platform baseUri: http://localhost:8080 description: DataHub OpenAPI — Platform business capability. Self-contained, no shared references. resources: - name: platform-entities-v1 path: /platform/entities/v1 operations: - name: emitplatformevents method: POST description: DataHub Emit platform metadata events outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - 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-platform-rest port: 8080 description: REST adapter for DataHub OpenAPI — Platform. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/platform/entities/v1 name: platform-entities-v1 description: REST surface for platform-entities-v1. operations: - method: POST name: emitplatformevents description: DataHub Emit platform metadata events call: openapi-platform.emitplatformevents with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: openapi-platform-mcp port: 9090 transport: http description: MCP adapter for DataHub OpenAPI — Platform. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: datahub-emit-platform-metadata-events description: DataHub Emit platform metadata events hints: readOnly: false destructive: false idempotent: false call: openapi-platform.emitplatformevents with: body: tools.body outputParameters: - type: object mapping: $.