@@ -37,7 +37,7 @@ public class PullRequestsWs implements WebService { | |||
public void define(Context context) { | |||
NewController controller = context.createController("api/project_pull_requests") | |||
.setSince("7.1") | |||
.setDescription("Manage pull request (only available when the Branch plugin is installed)"); | |||
.setDescription("Manage pull request"); | |||
stream(actions).forEach(action -> action.define(controller)); | |||
controller.done(); | |||
} |
@@ -38,7 +38,7 @@ public class BranchesWs implements WebService { | |||
public void define(Context context) { | |||
NewController controller = context.createController(CONTROLLER) | |||
.setSince("6.6") | |||
.setDescription("Manage branch (only available when the Branch plugin is installed)"); | |||
.setDescription("Manage branch"); | |||
Arrays.stream(actions).forEach(action -> action.define(controller)); | |||
controller.done(); | |||
} |
@@ -4606,7 +4606,7 @@ | |||
{ | |||
"path": "api/project_branches", | |||
"since": "6.6", | |||
"description": "Manage branch (only available when the Branch plugin is installed)", | |||
"description": "Manage branch", | |||
"actions": [ | |||
{ | |||
"key": "delete", |