This is due to some error in RAML file which was not flagged in the Anypoint Platform API Designer. Below is the fix that i used to make it work.
In your RAML, replace all usage of:
examples: !include examples//AmericanFlightExample.raml
With this:
examples:
output: !include examples/AmericanFlightExample.raml
Reference: