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