@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Airport On-Time Performance
@base https://test.api.amadeus.com/v1
@version 1.0.4
@endpoints 1
@toc airport(1)

@endpoint GET /airport/predictions/on-time
@desc Returns a percentage of on-time flight departures from a given airport.
@required {airportCode: any # airport [IATA code](http://www.iata.org/publications/Pages/code-search.aspx), e.g. BOS for Boston, date: any # the date on which the traveler will depart from the give airport. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2019-12-25}
@returns(200) Success
@errors {400: code    | title                                  ------- | -------------------------------------  477     | INVALID FORMAT 572     | INVALID OPTION 4926    | INVALID DATA RECEIVED                32171   | MANDATORY DATA MISSING}

@end
