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