diff options
Diffstat (limited to 'sonar-ws/src')
-rw-r--r-- | sonar-ws/src/main/protobuf/ws-rules.proto | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-rules.proto b/sonar-ws/src/main/protobuf/ws-rules.proto index 4ef4ccb8886..719e7b7e326 100644 --- a/sonar-ws/src/main/protobuf/ws-rules.proto +++ b/sonar-ws/src/main/protobuf/ws-rules.proto @@ -82,7 +82,7 @@ message Rule { optional bool isTemplate = 13; optional string templateKey = 14; optional Tags tags = 15; - optional SysTags sysTags = 16; + optional SysTags sysTags = 16; optional string lang = 19; optional string langName = 20; optional Params params = 21; @@ -110,7 +110,7 @@ message Rule { optional string debtRemFnCoeff = 35; // Deprecated since 5.5, replaced by remFnBaseEffort optional string debtRemFnOffset = 36; - + optional sonarqube.ws.commons.RuleType type = 37; optional string defaultRemFnType = 38; optional string defaultRemFnGapMultiplier = 39; optional string defaultRemFnBaseEffort = 40; @@ -121,13 +121,12 @@ message Rule { optional string gapDescription = 44; optional sonarqube.ws.commons.RuleScope scope = 46; optional bool isExternal = 47; - - optional sonarqube.ws.commons.RuleType type = 37; + optional DeprecatedKeys deprecatedKeys = 48; message Params { repeated Param params = 1; } - + message Param { optional string key = 1; optional string htmlDesc = 2; @@ -136,6 +135,10 @@ message Rule { } } +message DeprecatedKeys { + repeated string deprecatedKey = 1; +} + message SysTags { repeated string sysTags = 1; } @@ -169,7 +172,7 @@ message Active { } message QProfiles { - map<string,QProfile> qProfiles = 1; + map<string, QProfile> qProfiles = 1; } message QProfile { |