aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws
diff options
context:
space:
mode:
authorZipeng WU <zipeng.wu@sonarsource.com>2023-10-05 15:02:23 +0200
committersonartech <sonartech@sonarsource.com>2023-10-12 20:02:51 +0000
commitf450cceab1272d465c8e2e7ddf9ccb0cd869e695 (patch)
treeb1947473153ff45293afe5567d4225519f2c19ca /sonar-ws
parent0d4bba4a5af9f4944446ed7bb847671e068a5201 (diff)
downloadsonarqube-f450cceab1272d465c8e2e7ddf9ccb0cd869e695.tar.gz
sonarqube-f450cceab1272d465c8e2e7ddf9ccb0cd869e695.zip
SONAR-20607 New isDefault flag on 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 261f82f1b79..4da1680ba7a 100644
--- a/sonar-ws/src/main/protobuf/ws-qualitygates.proto
+++ b/sonar-ws/src/main/protobuf/ws-qualitygates.proto
@@ -120,11 +120,12 @@ message UpdateConditionResponse {
// GET api/qualitygates/show
message ShowWsResponse {
optional string id = 1;
- optional string name = 2;
+ required string name = 2;
repeated Condition conditions = 3;
- optional bool isBuiltIn = 4;
+ required bool isBuiltIn = 4;
optional Actions actions = 5;
- optional string caycStatus = 6;
+ required string caycStatus = 6;
+ required bool isDefault = 7;
message Condition {
required string id = 1;