aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-issues.proto
diff options
context:
space:
mode:
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-issues.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto14
1 files changed, 1 insertions, 13 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index 077871bebe1..5459f84b684 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -54,18 +54,6 @@ message Operation {
repeated ActionPlan actionPlans = 5;
}
-enum IssueType {
- // Zero is required in order to not get MAINTAINABILITY as default value
- // See http://androiddevblog.com/protocol-buffers-pitfall-adding-enum-values/
- UNKNOWN = 0;
-
- // same name as in Java enum IssueType,
- // same index values as in database (see column ISSUES.ISSUE_TYPE)
- CODE_SMELL = 1;
- BUG = 2;
- VULNERABILITY = 3;
-}
-
message Issue {
optional string key = 1;
optional string rule = 2;
@@ -102,7 +90,7 @@ message Issue {
optional string fUpdateAge = 25;
optional string closeDate = 26;
- optional IssueType type = 27;
+ optional sonarqube.ws.commons.RuleType type = 27;
}
message Transitions {