fixed response types

This commit is contained in:
Tony Tam 2015-02-24 11:03:00 -08:00
parent e5c70d5961
commit 292fc99bd5

View File

@ -34,7 +34,7 @@ public class SwaggerResource {
@GET
@Path("/download/{fileId}")
@Produces({"application/zip"})
@Produces({MediaType.APPLICATION_OCTET_STREAM})
@ApiOperation(value = "Downloads a pre-generated file",
response = String.class,
tags = {@Tag(value = "clients"), @Tag(value = "servers")})
@ -58,7 +58,6 @@ public class SwaggerResource {
@POST
@Path("/clients/{language}")
@Produces({"application/zip", "application/json"})
@ApiOperation(
value = "Generates a client library based on the config",
response = ResponseCode.class,