Browse Source

Update branch and PR web API description

tags/9.4.0.54424
Zipeng WU 2 years ago
parent
commit
765ac490d9

+ 1
- 1
server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/pr/ws/PullRequestsWs.java View File

@@ -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();
}

+ 1
- 1
server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/ws/BranchesWs.java View File

@@ -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();
}

+ 1
- 1
sonar-ws-generator/src/main/resources/snapshot-of-api.json View File

@@ -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",

Loading…
Cancel
Save