mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 15:35:49 +01:00
fix wrong content type
This commit is contained in:
@@ -599,7 +599,7 @@ public class RepositoryResource
|
|||||||
@GET
|
@GET
|
||||||
@Path("{id}/diff")
|
@Path("{id}/diff")
|
||||||
@TypeHint(DiffStreamingOutput.class)
|
@TypeHint(DiffStreamingOutput.class)
|
||||||
@Produces({ MediaType.APPLICATION_XML, MediaType.APPLICATION_JSON })
|
@Produces(MediaType.APPLICATION_OCTET_STREAM)
|
||||||
public Response getDiff(@PathParam("id") String id,
|
public Response getDiff(@PathParam("id") String id,
|
||||||
@QueryParam("revision") String revision,
|
@QueryParam("revision") String revision,
|
||||||
@QueryParam("path") String path)
|
@QueryParam("path") String path)
|
||||||
|
|||||||
Reference in New Issue
Block a user