mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-13 08:55:44 +01:00
Change parsed diff url from '.json' to '/parsed'
This commit is contained in:
@@ -73,7 +73,7 @@ public class DiffRootResource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("{revision}.json")
|
@Path("{revision}/parsed")
|
||||||
@Produces(VndMediaType.DIFF_PARSED)
|
@Produces(VndMediaType.DIFF_PARSED)
|
||||||
@StatusCodes({
|
@StatusCodes({
|
||||||
@ResponseCode(code = 200, condition = "success"),
|
@ResponseCode(code = 200, condition = "success"),
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ public class IncomingRootResource {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@GET
|
@GET
|
||||||
@Path("{source}/{target}/diff.json")
|
@Path("{source}/{target}/diff/parsed")
|
||||||
@Produces(VndMediaType.DIFF_PARSED)
|
@Produces(VndMediaType.DIFF_PARSED)
|
||||||
@StatusCodes({
|
@StatusCodes({
|
||||||
@ResponseCode(code = 200, condition = "success"),
|
@ResponseCode(code = 200, condition = "success"),
|
||||||
|
|||||||
Reference in New Issue
Block a user