Step 4 has you add the API Fragment "Training: American Flights Example". Step 17 has you reference it as an array "AmericanFlight[]" in so doing, Design Center protests:
array is expected at exchange_modules/68ef9520-24e9-4cf2-b2f5-620025690913/training-american-flights-example/1.0.1/AmericanFlightsExample.raml (2, 1)
↳ Error in the included file: array is expected at (21, 13)
I found this in Week 2 and worked around it until it tripped me up again in WT4-5. Tragically, I killed a day looking for the answer. Not sure what I am missing. The fragment is read only, the instructions are clear.
Suggestions?
The documentation in and around this is not very good and the lack of response in this forum concerning. What I discovered is, in the real world, it makes much more sense to use .json as your example files than it would .raml (more intuitive, easier to format, validate, and consume). Similarly, I question the value of hosted fragments but I digress. The issue here was literally the difference in my raml spec between "example" and "examples".