diff options
author | Zipeng WU <zipeng.wu@sonarsource.com> | 2022-02-25 17:25:27 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-02-25 20:02:55 +0000 |
commit | 765ac490d9bb24d575f331b4fbb2b5d2f6654319 (patch) | |
tree | 1866c5093b70a6eb2d718e9b8092fdfef3f20dd2 | |
parent | 7f825acb518fcd15823d3fb279509816e25e1d85 (diff) | |
download | sonarqube-765ac490d9bb24d575f331b4fbb2b5d2f6654319.tar.gz sonarqube-765ac490d9bb24d575f331b4fbb2b5d2f6654319.zip |
Update branch and PR web API description
3 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/pr/ws/PullRequestsWs.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/pr/ws/PullRequestsWs.java index bdd7dc39f7b..b4b37e27cbc 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/pr/ws/PullRequestsWs.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/pr/ws/PullRequestsWs.java @@ -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(); } diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/ws/BranchesWs.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/ws/BranchesWs.java index 1b8225c9a62..f4decce6bf3 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/ws/BranchesWs.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/branch/ws/BranchesWs.java @@ -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(); } diff --git a/sonar-ws-generator/src/main/resources/snapshot-of-api.json b/sonar-ws-generator/src/main/resources/snapshot-of-api.json index ad667b4aeff..8ea56326f97 100644 --- a/sonar-ws-generator/src/main/resources/snapshot-of-api.json +++ b/sonar-ws-generator/src/main/resources/snapshot-of-api.json @@ -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", |