Representing binary response


#1

I am trying to describe a service that responds images in one of its resources, and I’m not quite sure how to do it in my .raml file.

I have seen in the tutorials, one example that serves an mp3 file like this:

responses:
  200:
    body:
      binary/octet-stream:
        example:
          !include heybulldog.mp3

And I thought I could describe my image resource in a similar way, the problem is that I cannot upload another file with my raml to the server that holds the specs. Is there a way I can represent it inline, say, with base64 image or anything, like we can do in css files?