Skip to main content

Hi

Can somebody provide me the code snippet of this file?

There is something that went wrong with my exercise and it is showing error in the main file that refers to AmericanFlightNoIDExample.raml

2 answers
  1. Aug 24, 2017, 12:19 PM

    Hi

     

    You can see the attached screenshot which is showing error. That line refers to AmericanFlightnoidexample.raml which i have pasted below.

     

    Can you let me know what the error is

    Hi You can see the attached screenshot which is showing error. That line refers to AmericanFlightnoidexample.raml which i have pasted below. Can you let me know what the error is # %RAML 1.

     

     

    # %RAML 1.0

    baseUri: https://mocksvc.mulesoft.com/mocks/89b9134e-b123-4e52-a1a1-052cff5da45b/mocks/2ed560e8-951e-4a67-9382-58c96f3e3f48 #  baseUri: https://mocksvc.mulesoft.com/mocks/2ed560e8-951e-4a67-9382-58c96f3e3f48

    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[]

    example: !include exchange_modules/68ef9520-24e9-4cf2-b2f5-620025690913/training-american-flights-example/1.0.1/AmericanFlightsExample.raml

     

    post:

    body:

    application/json:

    type: AmericanFlight

0/9000