Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #%RAML 1.0
- baseUri: https://anypoint.mulesoft.com/mocking/api/v1/links/e0b9d6ac-fafe-45f2-b1d8-a5daa16a07be/ #
- title: American Flights API
- types:
- AmericanFlight: !include exchange_modules/68ef9520-24e9-4cf2-b2f5-620025690913/training-american-flight-data-type/1.0.1/AmericanFlightDataType.raml
- /flights:
- get:
- queryParameters:
- destination:
- required: false
- enum:
- - SFO
- - LAX
- - CLE
- responses:
- 200:
- body:
- application/json:
- type: AmericanFlight[]
- examples:
- exemple1: !include exchange_modules/68ef9520-24e9-4cf2-b2f5-620025690913/training-american-flights-example/1.0.1/AmericanFlightsExample.raml
- post:
- /{ID}:
- get:
- responses:
- 200:
- body:
- application/json:
- type: AmericanFlight
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement