Is it possible to reference a json block from within the same rAML file for request/response examples? From the spec there does not appear to be a way to do this other than having an external file; but I'd like to have the example and schema live next to each other if possible. Much like how you can use schema:
schemas:
- awesomeSchema: |
{ ... }
# Is this possible?
examples: |
- awesomeExample: |
{ ... }
/awesome:
get:
responses:
200:
body:
application/json:
schema: awesomeSchema
example: awesomeExample