@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api On-Demand Flight Status
@base https://test.api.amadeus.com/v2
@version 2.0.2
@endpoints 1
@toc schedule(1)

@endpoint GET /schedule/flights
@desc Retrieves a unique flight by search criteria.
@required {carrierCode: any # 2 to 3-character IATA carrier code ([IATA table codes](http://www.iata.org/publications/Pages/code-search.aspx))., flightNumber: any # 1 to 4-digit number of the flight. e.g. 4537, scheduledDepartureDate: any # scheduled departure date of the flight, local to the departure airport, format YYYY-MM-DD.}
@optional {operationalSuffix: any # 1-letter operational suffix assigned by the carrier to differentiate flight in case of delay changing the departure date e.g. A}
@returns(200) A list of dated flights
@errors {400: code    | title ------- | ------------------------------------- 477     | INVALID FORMAT 572     | INVALID OPTION 2781    | INVALID LENGTH 4926    | INVALID DATA RECEIVED 32171   | MANDATORY DATA MISSING, 401: Unauthorized}

@end
