aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorAurelien Poscia <aurelien.poscia@sonarsource.com>2022-06-24 17:15:42 +0200
committersonartech <sonartech@sonarsource.com>2022-06-30 20:03:09 +0000
commit923ec14b8ef55af36ff9bc45988b5c8fd51043bd (patch)
tree83d8796365c514c654de81ebf89e15454a77f7e8 /sonar-ws
parentb2079411492f9c056c92c619d2ccf08e86e88e5c (diff)
downloadsonarqube-923ec14b8ef55af36ff9bc45988b5c8fd51043bd.tar.gz
sonarqube-923ec14b8ef55af36ff9bc45988b5c8fd51043bd.zip
SONAR-16518 support contextual section descriptions in /api/rules/search and /api/rules/show + adapt ES indexation
SONAR-16518 update api/rules/search, api/rules/show documentation Update /api/rules/search and /api/rules/show to put change log in change logs entries rather than description
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-rules.proto5
1 files changed, 5 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-rules.proto b/sonar-ws/src/main/protobuf/ws-rules.proto
index 072031faddd..fb943a1d97e 100644
--- a/sonar-ws/src/main/protobuf/ws-rules.proto
+++ b/sonar-ws/src/main/protobuf/ws-rules.proto
@@ -131,6 +131,11 @@ message Rule {
message DescriptionSection {
required string key = 1;
required string content = 2;
+ optional Context context = 3;
+
+ message Context {
+ required string displayName = 1;
+ }
}
message Params {