aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java1
-rw-r--r--sonar-ws/src/main/protobuf/ws-hotspots.proto1
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto2
3 files changed, 4 insertions, 0 deletions
diff --git a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
index b9f417bc9b8..8791003f93f 100644
--- a/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
+++ b/sonar-ws/src/main/java/org/sonarqube/ws/client/issue/IssuesWsParameters.java
@@ -102,6 +102,7 @@ public class IssuesWsParameters {
public static final String PARAM_ASC = "asc";
public static final String PARAM_ADDITIONAL_FIELDS = "additionalFields";
public static final String PARAM_TIMEZONE = "timeZone";
+ public static final String PARAM_CODE_VARIANTS = "codeVariants";
public static final String FACET_MODE_EFFORT = "effort";
diff --git a/sonar-ws/src/main/protobuf/ws-hotspots.proto b/sonar-ws/src/main/protobuf/ws-hotspots.proto
index c846f04ad9e..0e0599e42de 100644
--- a/sonar-ws/src/main/protobuf/ws-hotspots.proto
+++ b/sonar-ws/src/main/protobuf/ws-hotspots.proto
@@ -75,6 +75,7 @@ message ShowWsResponse {
optional bool canChangeStatus = 17;
repeated sonarqube.ws.commons.Flow flows = 19;
repeated sonarqube.ws.commons.MessageFormatting messageFormattings = 20;
+ repeated string codeVariants = 21;
}
message Component {
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index b03e72200b1..1956a10558a 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -161,6 +161,8 @@ message Issue {
optional string ruleDescriptionContextKey = 37;
repeated sonarqube.ws.commons.MessageFormatting messageFormattings = 38;
+
+ repeated string codeVariants = 39;
}
message Transitions {