aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-commons.proto9
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto16
2 files changed, 10 insertions, 15 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-commons.proto b/sonar-ws/src/main/protobuf/ws-commons.proto
index f94db9af466..73a7b39b6d3 100644
--- a/sonar-ws/src/main/protobuf/ws-commons.proto
+++ b/sonar-ws/src/main/protobuf/ws-commons.proto
@@ -129,6 +129,15 @@ message Changelog {
}
}
+message Comment {
+ optional string key = 1;
+ optional string login = 2;
+ optional string htmlText = 5;
+ optional string markdown = 6;
+ optional bool updatable = 7;
+ optional string createdAt = 8;
+}
+
message Metric {
optional string key = 1;
optional string name = 2;
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index fa6c6f65f16..40c0921a813 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -164,22 +164,8 @@ message Actions {
repeated string actions = 1;
}
-message Comment {
- optional string key = 1;
- optional string login = 2;
- // TODO drop, it's already in field "users"
- optional string email = 3;
- // TODO drop, it's already in field "users"
- optional string userName = 4;
- optional string htmlText = 5;
- // TODO rename markdownText ?
- optional string markdown = 6;
- optional bool updatable = 7;
- optional string createdAt = 8;
-}
-
message Comments {
- repeated Comment comments = 1;
+ repeated sonarqube.ws.commons.Comment comments = 1;
}
// Deprecated since 5.5