我正在使用RAML和Java。基于RAML文档,我可以执行以下操作来返回GET调用的文件
/file-content:
description: The file to be reproduced by the client
get:
description: Get the file content
responses:
200:
body:
binary/octet-stream:
example:
!include heybulldog.mp3
有谁知道如何返回整个文件而不是将文件转换为二进制流?