I’ve defined a collection resourceType according to the RAML 200 Tutorial like so:
type: <<resourcePathName |!singularize>>
However I would like to also support adding an example. I’ve tried multiple variations, including
example: <<resourcePathName |!singularize>>
But the compiler keeps complaining that it’s expecting an array. Does the language support this? And if so, can someone please provide a working example?