naftiko: 1.0.0-alpha2 info: label: Basetrip API — Health description: 'Basetrip API — Health. 1 operations. Lead operation: Get Country Health. Self-contained Naftiko capability covering one Basetrip business surface.' tags: - Basetrip - Health created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: BASETRIP_API_KEY: BASETRIP_API_KEY capability: consumes: - type: http namespace: basetrip-health baseUri: https://api.thebasetrip.com/v3 description: Basetrip API — Health business capability. Self-contained, no shared references. resources: - name: countries-id-health path: /countries/{id}/health operations: - name: getcountryhealth method: GET description: Get Country Health outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: id in: path type: string description: Country slug or alpha-2 code required: true authentication: type: apikey key: X-API-Key value: '{{env.BASETRIP_API_KEY}}' placement: header exposes: - type: rest namespace: basetrip-health-rest port: 8080 description: REST adapter for Basetrip API — Health. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/countries/{id}/health name: countries-id-health description: REST surface for countries-id-health. operations: - method: GET name: getcountryhealth description: Get Country Health call: basetrip-health.getcountryhealth with: id: rest.id outputParameters: - type: object mapping: $. - type: mcp namespace: basetrip-health-mcp port: 9090 transport: http description: MCP adapter for Basetrip API — Health. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: get-country-health description: Get Country Health hints: readOnly: true destructive: false idempotent: true call: basetrip-health.getcountryhealth with: id: tools.id outputParameters: - type: object mapping: $.