aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java5
-rw-r--r--server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json1
2 files changed, 3 insertions, 3 deletions
diff --git a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java
index f895b12dcad..849ad01acf8 100644
--- a/server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java
+++ b/server/sonar-server/src/main/java/org/sonar/server/issue/ws/EditCommentAction.java
@@ -71,8 +71,9 @@ public class EditCommentAction implements IssuesWsAction {
.setSince("3.6")
.setChangelog(
new Change("6.3", "the response returns the issue with all its details"),
- new Change("6.3", format("the 'key' parameter has been renamed %s", PARAM_COMMENT))
- )
+ new Change("6.3", format("the 'key' parameter has been renamed %s", PARAM_COMMENT)),
+ new Change("6.5", "the database ids of the components are removed from the response"),
+ new Change("6.5", "the response field components.uuid is deprecated. Use components.key instead."))
.setHandler(this)
.setResponseExample(Resources.getResource(this.getClass(), "edit_comment-example.json"))
.setPost(true);
diff --git a/server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json b/server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json
index 7cab6160070..412ea524298 100644
--- a/server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json
+++ b/server/sonar-server/src/main/resources/org/sonar/server/issue/ws/edit_comment-example.json
@@ -4,7 +4,6 @@
"rule": "squid:S2301",
"severity": "MAJOR",
"component": "org.sonarsource.sonarlint.intellij:sonarlint-intellij:src/main/java/org/sonarlint/intellij/core/ServerIssueUpdater.java",
- "componentId": 87163,
"project": "org.sonarsource.sonarlint.intellij:sonarlint-intellij",
"line": 78,
"textRange": {