In the RAML 200 tutorial, a
readOnlyCollection resourceType is defined, which takes an
exampleCollection as a parameter. But this is given as:
example: | <<exampleCollection>>
(I’m not sure if it is relevant, but exampleCollection is filled in later using
Why is the pipe character used there? It’s only one line. Why couldn’t it be like this?
And in general, how do I know when I need to use a
| with parameters, and when not to?