import org.sonar.server.issue.workflow.Transition;
import org.sonarqube.ws.Common;
import org.sonarqube.ws.Common.User;
+import org.sonarqube.ws.Common.Comment;
import org.sonarqube.ws.Issues;
import org.sonarqube.ws.Issues.Actions;
-import org.sonarqube.ws.Issues.Comment;
import org.sonarqube.ws.Issues.Comments;
import org.sonarqube.ws.Issues.Component;
import org.sonarqube.ws.Issues.Issue;
}
}
+message Comment {
+ optional string key = 1;
+ optional string login = 2;
+ optional string htmlText = 5;
+ optional string markdown = 6;
+ optional bool updatable = 7;
+ optional string createdAt = 8;
+}
+
message Metric {
optional string key = 1;
optional string name = 2;
repeated string actions = 1;
}
-message Comment {
- optional string key = 1;
- optional string login = 2;
- // TODO drop, it's already in field "users"
- optional string email = 3;
- // TODO drop, it's already in field "users"
- optional string userName = 4;
- optional string htmlText = 5;
- // TODO rename markdownText ?
- optional string markdown = 6;
- optional bool updatable = 7;
- optional string createdAt = 8;
-}
-
message Comments {
- repeated Comment comments = 1;
+ repeated sonarqube.ws.commons.Comment comments = 1;
}
// Deprecated since 5.5