aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/TagsAction.java5
-rw-r--r--server/sonar-webserver-webapi/src/main/java/org/sonar/server/rule/ws/TagsAction.java6
2 files changed, 7 insertions, 4 deletions
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/TagsAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/TagsAction.java
index 2268f6dad8a..5ca592bc87c 100644
--- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/TagsAction.java
+++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/TagsAction.java
@@ -80,9 +80,10 @@ public class TagsAction implements IssuesWsAction {
.setSince("5.1")
.setDescription("List tags matching a given query")
.setResponseExample(Resources.getResource(getClass(), "tags-example.json"))
- .setChangelog(new Change("7.4", "Result doesn't include rules tags anymore"));
+ .setChangelog(new Change("7.4", "Result doesn't include rules tags anymore"),
+ new Change("9.4", "Max page size increased to 500"));
action.createSearchQuery("misra", "tags");
- action.createPageSize(10, 100);
+ action.createPageSize(10, 500);
action.createParam(PARAM_PROJECT)
.setDescription("Project key")
.setRequired(false)
diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/rule/ws/TagsAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/rule/ws/TagsAction.java
index a3bb1f7379d..73b712ef493 100644
--- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/rule/ws/TagsAction.java
+++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/rule/ws/TagsAction.java
@@ -21,6 +21,7 @@ package org.sonar.server.rule.ws;
import com.google.common.io.Resources;
import java.util.List;
+import org.sonar.api.server.ws.Change;
import org.sonar.api.server.ws.Request;
import org.sonar.api.server.ws.Response;
import org.sonar.api.server.ws.WebService;
@@ -44,10 +45,11 @@ public class TagsAction implements RulesWsAction {
.setDescription("List rule tags")
.setSince("4.4")
.setHandler(this)
- .setResponseExample(Resources.getResource(getClass(), "tags-example.json"));
+ .setResponseExample(Resources.getResource(getClass(), "tags-example.json"))
+ .setChangelog(new Change("9.4", "Max page size increased to 500"));
action.createSearchQuery("misra", "tags");
- action.createPageSize(10, 100);
+ action.createPageSize(10, 500);
}
@Override