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