aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2016-09-13 17:27:32 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2016-09-14 11:10:52 +0200
commit82bcba2289a6866284dfb8559241c4467c4b9ddc (patch)
tree2f8b4af1f4ec0e7f6ed435fccf5aff8d9166eefe /sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
parent5cfc682cb1337718b49b3b7663be08c05a29641e (diff)
downloadsonarqube-82bcba2289a6866284dfb8559241c4467c4b9ddc.tar.gz
sonarqube-82bcba2289a6866284dfb8559241c4467c4b9ddc.zip
SONAR-7855 Use protobuf in api/qualityprofiles/create WS
Diffstat (limited to 'sonar-ws/src/main/protobuf/ws-qualityprofiles.proto')
-rw-r--r--sonar-ws/src/main/protobuf/ws-qualityprofiles.proto24
1 files changed, 24 insertions, 0 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto b/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
index 0829180d46d..d131d02714c 100644
--- a/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
+++ b/sonar-ws/src/main/protobuf/ws-qualityprofiles.proto
@@ -45,3 +45,27 @@ message SearchWsResponse {
optional string userUpdatedAt = 14;
}
}
+
+// WS api/qualityprofiles/create
+message CreateWsResponse {
+ optional QualityProfile profile = 1;
+
+ message QualityProfile {
+ optional string key = 1;
+ optional string name = 2;
+ optional string language = 3;
+ optional string languageName = 4;
+ optional bool isInherited = 5;
+ optional bool isDefault = 6;
+ optional Infos infos = 7;
+ optional Warnings warnings = 8;
+
+ message Infos {
+ repeated string infos = 1;
+ }
+
+ message Warnings {
+ repeated string warnings = 1;
+ }
+ }
+}