forked from loafle/openapi-generator-original
fixed response types
This commit is contained in:
parent
e5c70d5961
commit
292fc99bd5
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user