naftiko: 1.0.0-alpha2 info: label: Sabre Hotels API — Hotel Booking description: 'Sabre Hotels API — Hotel Booking. 3 operations. Lead operation: Create a hotel reservation. Self-contained Naftiko capability covering one Sabre business surface.' tags: - Sabre - Hotel Booking created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: SABRE_API_KEY: SABRE_API_KEY capability: consumes: - type: http namespace: hotels-hotel-booking baseUri: https://api.sabre.com description: Sabre Hotels API — Hotel Booking business capability. Self-contained, no shared references. resources: - name: v2.0.0-hotels-reservations path: /v2.0.0/hotels/reservations operations: - name: createhotelreservation method: POST description: Create a hotel reservation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: v2.0.0-hotels-reservations-confirmationId path: /v2.0.0/hotels/reservations/{confirmationId} operations: - name: gethotelreservation method: GET description: Retrieve hotel reservation details outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: confirmationId in: path type: string description: Hotel reservation confirmation number required: true - name: cancelhotelreservation method: DELETE description: Cancel a hotel reservation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: confirmationId in: path type: string required: true authentication: type: bearer token: '{{env.SABRE_API_KEY}}' exposes: - type: rest namespace: hotels-hotel-booking-rest port: 8080 description: REST adapter for Sabre Hotels API — Hotel Booking. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/v2-0-0/hotels/reservations name: v2-0-0-hotels-reservations description: REST surface for v2.0.0-hotels-reservations. operations: - method: POST name: createhotelreservation description: Create a hotel reservation call: hotels-hotel-booking.createhotelreservation with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/v2-0-0/hotels/reservations/{confirmationid} name: v2-0-0-hotels-reservations-confirmationid description: REST surface for v2.0.0-hotels-reservations-confirmationId. operations: - method: GET name: gethotelreservation description: Retrieve hotel reservation details call: hotels-hotel-booking.gethotelreservation with: confirmationId: rest.confirmationId outputParameters: - type: object mapping: $. - method: DELETE name: cancelhotelreservation description: Cancel a hotel reservation call: hotels-hotel-booking.cancelhotelreservation with: confirmationId: rest.confirmationId outputParameters: - type: object mapping: $. - type: mcp namespace: hotels-hotel-booking-mcp port: 9090 transport: http description: MCP adapter for Sabre Hotels API — Hotel Booking. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-hotel-reservation description: Create a hotel reservation hints: readOnly: false destructive: false idempotent: false call: hotels-hotel-booking.createhotelreservation with: body: tools.body outputParameters: - type: object mapping: $. - name: retrieve-hotel-reservation-details description: Retrieve hotel reservation details hints: readOnly: true destructive: false idempotent: true call: hotels-hotel-booking.gethotelreservation with: confirmationId: tools.confirmationId outputParameters: - type: object mapping: $. - name: cancel-hotel-reservation description: Cancel a hotel reservation hints: readOnly: false destructive: true idempotent: true call: hotels-hotel-booking.cancelhotelreservation with: confirmationId: tools.confirmationId outputParameters: - type: object mapping: $.