aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-commons.proto
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-commons.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-commons.proto11
1 files changed, 11 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-commons.proto b/sonar-ws/src/main/protobuf/ws-commons.proto
index 08e17ad049f..a8ba062db9e 100644
--- a/sonar-ws/src/main/protobuf/ws-commons.proto
+++ b/sonar-ws/src/main/protobuf/ws-commons.proto
@@ -111,6 +111,7 @@ message Location {
// Only when component is a file. Can be empty for a file if this is an issue global to the file.
optional sonarqube.ws.commons.TextRange textRange = 2;
optional string msg = 3;
+ repeated MessageFormatting msgFormattings = 5;
}
message User {
@@ -183,3 +184,13 @@ enum BranchType {
PULL_REQUEST = 3;
BRANCH = 4;
}
+
+message MessageFormatting {
+ required int32 start = 1;
+ required int32 end = 2;
+ required MessageFormattingType type = 3;
+}
+
+enum MessageFormattingType {
+ CODE = 0;
+}