Java 如何描述用于swagger的zip文件?

Java 如何描述用于swagger的zip文件?,java,spring,zip,swagger,documentation,Java,Spring,Zip,Swagger,Documentation,REST服务返回一个zip文件。我想用招摇来形容这一点 例如,如果REST服务返回一个DTO,我会写: @ApiResponse(responseCode = "200", description = "OK", content = @Content( mediaType = MediaType.APPLICATION_JSON_VALUE, schema = @Schema(implemen

REST服务返回一个zip文件。我想用招摇来形容这一点

例如,如果REST服务返回一个DTO,我会写:

@ApiResponse(responseCode = "200", description = "OK", content = @Content(
                mediaType = MediaType.APPLICATION_JSON_VALUE,
                schema = @Schema(implementation = Response.class)))
结果如下所示:

{
  "uuid": "string",
  "data": "string"
}
如何对zip文件执行此操作?文件内容不应以虚张声势的方式显示