aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-rules.proto
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-rules.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-rules.proto8
1 files changed, 7 insertions, 1 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-rules.proto b/sonar-ws/src/main/protobuf/ws-rules.proto
index 719e7b7e326..76ee26ae340 100644
--- a/sonar-ws/src/main/protobuf/ws-rules.proto
+++ b/sonar-ws/src/main/protobuf/ws-rules.proto
@@ -71,7 +71,7 @@ message Rule {
optional string repo = 2;
optional string name = 3;
optional string createdAt = 4;
- optional string htmlDesc = 5;
+ optional string htmlDesc = 5 [deprecated=true];
optional string htmlNote = 6;
optional string mdDesc = 7;
optional string mdNote = 8;
@@ -122,6 +122,12 @@ message Rule {
optional sonarqube.ws.commons.RuleScope scope = 46;
optional bool isExternal = 47;
optional DeprecatedKeys deprecatedKeys = 48;
+ repeated DescriptionSection descriptionSections = 49;
+
+ message DescriptionSection {
+ required string key = 1;
+ required string content = 2;
+ }
message Params {
repeated Param params = 1;