naftiko: "1.0.0-alpha2" info: label: "Flight Create Orders — Booking" description: 'Flight Create Orders — Booking. 1 operation(s). Lead operation: Amadeus Create Order Associated to the Flight Offers.. Self-contained Naftiko capability covering one Amadeus business surface.' tags: - Amadeus - Travel - Booking created: "2026-05-29" modified: "2026-05-29" binds: - namespace: env keys: AMADEUS_TOKEN: AMADEUS_TOKEN capability: consumes: - type: http namespace: flight-create-orders-booking baseUri: https://test.api.amadeus.com/v1 description: Flight Create Orders — Booking business capability. Self-contained, no shared references. authentication: type: bearer token: '{{env.AMADEUS_TOKEN}}' resources: - name: booking-flight-orders path: /booking/flight-orders operations: - name: createFligtOrders method: POST description: Amadeus Create Order Associated to the Flight Offers. inputParameters: - name: body in: body type: object required: true description: list of element needed to book a flight Order outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: flight-create-orders-booking-rest port: 8080 description: REST adapter for Flight Create Orders — Booking. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/booking/flight-orders name: booking-flight-orders description: REST surface for booking-flight-orders. operations: - method: POST name: createFligtOrders description: Amadeus Create Order Associated to the Flight Offers. call: flight-create-orders-booking.createFligtOrders with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: flight-create-orders-booking-mcp port: 9090 transport: http description: MCP adapter for Flight Create Orders — Booking. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: create-order-associated-flight-offers description: Amadeus Create Order Associated to the Flight Offers. hints: readOnly: false destructive: false idempotent: false call: flight-create-orders-booking.createFligtOrders with: body: tools.body outputParameters: - type: object mapping: $.