explicitely set the response type

This commit is contained in:
Athou
2013-05-29 13:10:25 +02:00
parent f12a3129b3
commit 6ef53e024e

View File

@@ -335,6 +335,7 @@ public class FeedREST extends AbstractResourceREST {
@POST
@Path("/import")
@Consumes(MediaType.MULTIPART_FORM_DATA)
@Produces(MediaType.APPLICATION_JSON)
@ApiOperation(value = "OPML import", notes = "Import an OPML file, posted as a FORM with the 'file' name")
public Response importOpml() {
if (StartupBean.USERNAME_DEMO.equals(getUser().getName())) {