aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2023-10-03 11:05:06 +0200
committersonartech <sonartech@sonarsource.com>2023-10-12 20:02:51 +0000
commit664aa30312b0e559785536630f18433228c31467 (patch)
tree88bf41f85faf841837d2c71a151ba57790270c2e /sonar-ws
parent8461e5e4e097f94fd2426e7b636aae8ed650525b (diff)
downloadsonarqube-664aa30312b0e559785536630f18433228c31467.tar.gz
sonarqube-664aa30312b0e559785536630f18433228c31467.zip
SONAR-20607 Add isCaycCondition attribute in 'api/qualitygates/show' endpoint
Diffstat (limited to 'sonar-ws')
-rw-r--r--sonar-ws/src/main/protobuf/ws-qualitygates.proto7
1 files changed, 4 insertions, 3 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualitygates.proto b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
index 8327e2ae0dc..261f82f1b79 100644
--- a/sonar-ws/src/main/protobuf/ws-qualitygates.proto
+++ b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
@@ -127,10 +127,11 @@ message ShowWsResponse {
optional string caycStatus = 6;
message Condition {
- optional string id = 1;
- optional string metric = 2;
- optional string op = 4;
+ required string id = 1;
+ required string metric = 2;
+ required string op = 4;
optional string error = 6;
+ required bool isCaycCondition = 7;
}
}