naftiko: 1.0.0-alpha2 info: label: Connector API — Vouchers description: 'Connector API — Vouchers. 4 operations. Lead operation: Add vouchers. Self-contained Naftiko capability covering one Mews business surface.' tags: - Mews - Vouchers created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: MEWS_API_KEY: MEWS_API_KEY capability: consumes: - type: http namespace: connector-vouchers baseUri: https://api.mews.com description: Connector API — Vouchers business capability. Self-contained, no shared references. resources: - name: api-connector-v1-vouchers-add path: /api/connector/v1/vouchers/add operations: - name: vouchersadd method: POST description: Add vouchers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-connector-v1-vouchers-delete path: /api/connector/v1/vouchers/delete operations: - name: vouchersdelete method: POST description: Delete vouchers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-connector-v1-vouchers-getAll path: /api/connector/v1/vouchers/getAll operations: - name: vouchersgetall method: POST description: Get all vouchers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: api-connector-v1-vouchers-update path: /api/connector/v1/vouchers/update operations: - name: vouchersupdate method: POST description: Update vouchers outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false exposes: - type: rest namespace: connector-vouchers-rest port: 8080 description: REST adapter for Connector API — Vouchers. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/api/connector/v1/vouchers/add name: api-connector-v1-vouchers-add description: REST surface for api-connector-v1-vouchers-add. operations: - method: POST name: vouchersadd description: Add vouchers call: connector-vouchers.vouchersadd with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/vouchers/delete name: api-connector-v1-vouchers-delete description: REST surface for api-connector-v1-vouchers-delete. operations: - method: POST name: vouchersdelete description: Delete vouchers call: connector-vouchers.vouchersdelete with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/vouchers/getall name: api-connector-v1-vouchers-getall description: REST surface for api-connector-v1-vouchers-getAll. operations: - method: POST name: vouchersgetall description: Get all vouchers call: connector-vouchers.vouchersgetall with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/api/connector/v1/vouchers/update name: api-connector-v1-vouchers-update description: REST surface for api-connector-v1-vouchers-update. operations: - method: POST name: vouchersupdate description: Update vouchers call: connector-vouchers.vouchersupdate with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: connector-vouchers-mcp port: 9090 transport: http description: MCP adapter for Connector API — Vouchers. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: add-vouchers description: Add vouchers hints: readOnly: false destructive: false idempotent: false call: connector-vouchers.vouchersadd with: body: tools.body outputParameters: - type: object mapping: $. - name: delete-vouchers description: Delete vouchers hints: readOnly: false destructive: false idempotent: false call: connector-vouchers.vouchersdelete with: body: tools.body outputParameters: - type: object mapping: $. - name: get-all-vouchers description: Get all vouchers hints: readOnly: true destructive: false idempotent: false call: connector-vouchers.vouchersgetall with: body: tools.body outputParameters: - type: object mapping: $. - name: update-vouchers description: Update vouchers hints: readOnly: false destructive: false idempotent: false call: connector-vouchers.vouchersupdate with: body: tools.body outputParameters: - type: object mapping: $.