@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api Flight Offers Search
@base https://test.api.amadeus.com/v2
@version 2.2.0
@endpoints 2
@toc shopping(2)

@endpoint POST /shopping/flight-offers
@required {X-HTTP-Method-Override: any, getFlightOffersBody: any}
@returns(200)
@errors {400}

@endpoint GET /shopping/flight-offers
@required {originLocationCode: any, destinationLocationCode: any, departureDate: any, adults: any}
@optional {returnDate: any, children: any, infants: any, travelClass: any, includedAirlineCodes: any, excludedAirlineCodes: any, nonStop: any, currencyCode: any, maxPrice: any, max: any}
@returns(200)
@errors {400}

@end
