@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Flight Order Management
@base https://test.api.amadeus.com/v1
@version 1.10.0
@endpoints 2
@toc booking(2)

@endpoint GET /booking/flight-orders/{flight-orderId}
@desc Retrieve a given flight order
@returns(200) Successful Operation
@errors {400: code    | title                                  ------- | -------------------------------------  477     | INVALID FORMAT 4926    | INVALID DATA RECEIVED 32171   | MANDATORY DATA MISSING, 404: Not Found}

@endpoint DELETE /booking/flight-orders/{flight-orderId}
@desc Cancel a given flight order
@returns(204) Successfully Deleted
@errors {400: code    | title                                  ------- | -------------------------------------  4926    | INVALID DATA RECEIVED 32171   | MANDATORY DATA MISSING, 404: Not Found}

@end
