aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-ws/src/main/protobuf
diff options
context:
space:
mode:
authorJacek Poreda <jacek.poreda@sonarsource.com>2023-08-02 09:03:29 +0200
committersonartech <sonartech@sonarsource.com>2023-08-02 20:03:03 +0000
commit4f214cb37958b2cceddfe33c3bd10d7de260e219 (patch)
tree129333387b393d0fa3c26354510fcd5f080b4441 /sonar-ws/src/main/protobuf
parentcea8d3b9c04ee7b61be40d50290fe5554d8dd633 (diff)
downloadsonarqube-4f214cb37958b2cceddfe33c3bd10d7de260e219.tar.gz
sonarqube-4f214cb37958b2cceddfe33c3bd10d7de260e219.zip
Revert "SONAR-19233 Drop deprecated paging response fields"
This reverts commit 9db233a378f3590359054b908c82d06ae095930b.
Diffstat (limited to 'sonar-ws/src/main/protobuf')
-rw-r--r--sonar-ws/src/main/protobuf/ws-issues.proto6
-rw-r--r--sonar-ws/src/main/protobuf/ws-rules.proto7
2 files changed, 7 insertions, 6 deletions
diff --git a/sonar-ws/src/main/protobuf/ws-issues.proto b/sonar-ws/src/main/protobuf/ws-issues.proto
index aa88ec34083..d545fe7e75d 100644
--- a/sonar-ws/src/main/protobuf/ws-issues.proto
+++ b/sonar-ws/src/main/protobuf/ws-issues.proto
@@ -29,9 +29,9 @@ option optimize_for = SPEED;
// Response of GET api/issues/search
message SearchWsResponse {
reserved 5;
- reserved 1;
- reserved 2;
- reserved 3;
+ optional int64 total = 1 [deprecated=true];
+ optional int64 p = 2 [deprecated=true];
+ optional int32 ps = 3 [deprecated=true];
optional sonarqube.ws.commons.Paging paging = 4;
// Total amount of effort, only when the facet "total" is enabled
diff --git a/sonar-ws/src/main/protobuf/ws-rules.proto b/sonar-ws/src/main/protobuf/ws-rules.proto
index 2e68e4c0766..e1e242b8b81 100644
--- a/sonar-ws/src/main/protobuf/ws-rules.proto
+++ b/sonar-ws/src/main/protobuf/ws-rules.proto
@@ -41,9 +41,10 @@ message ListResponse {
// WS api/rules/search
message SearchResponse {
- reserved 1;
- reserved 2;
- reserved 3;
+ optional int64 total = 1 [deprecated=true];
+ optional int32 p = 2 [deprecated=true];
+ optional int64 ps = 3 [deprecated=true];
+
repeated Rule rules = 4;
optional Actives actives = 5;
optional QProfiles qProfiles = 6;