naftiko: 1.0.0-alpha2 info: label: Management API — EntityMappings description: 'Management API — EntityMappings. 3 operations. Lead operation: List entity mappings.. Self-contained Naftiko capability covering one Supaglue business surface.' tags: - Supaglue - EntityMappings created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SUPAGLUE_API_KEY: SUPAGLUE_API_KEY capability: consumes: - type: http namespace: management-entitymappings baseUri: https://api.supaglue.io/mgmt/v2 description: Management API — EntityMappings business capability. Self-contained, no shared references. resources: - name: entity_mappings path: /entity_mappings operations: - name: listentitymappings method: GET description: List entity mappings. outputRawFormat: json outputParameters: - name: result type: object value: $. - name: entity_mappings-entity_id path: /entity_mappings/{entity_id} operations: - name: upsertentitymapping method: PUT description: Upsert entity mapping outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: deleteentitymapping method: DELETE description: Delete entity mapping outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: apikey key: x-api-key value: '{{env.SUPAGLUE_API_KEY}}' placement: header exposes: - type: rest namespace: management-entitymappings-rest port: 8080 description: REST adapter for Management API — EntityMappings. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/entity-mappings name: entity-mappings description: REST surface for entity_mappings. operations: - method: GET name: listentitymappings description: List entity mappings. call: management-entitymappings.listentitymappings outputParameters: - type: object mapping: $. - path: /v1/entity-mappings/{entity-id} name: entity-mappings-entity-id description: REST surface for entity_mappings-entity_id. operations: - method: PUT name: upsertentitymapping description: Upsert entity mapping call: management-entitymappings.upsertentitymapping with: body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deleteentitymapping description: Delete entity mapping call: management-entitymappings.deleteentitymapping outputParameters: - type: object mapping: $. - type: mcp namespace: management-entitymappings-mcp port: 9090 transport: http description: MCP adapter for Management API — EntityMappings. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: list-entity-mappings description: List entity mappings. hints: readOnly: true destructive: false idempotent: true call: management-entitymappings.listentitymappings outputParameters: - type: object mapping: $. - name: upsert-entity-mapping description: Upsert entity mapping hints: readOnly: false destructive: false idempotent: true call: management-entitymappings.upsertentitymapping with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-entity-mapping description: Delete entity mapping hints: readOnly: false destructive: true idempotent: true call: management-entitymappings.deleteentitymapping outputParameters: - type: object mapping: $.