]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-18750 Remove api/qualityprofiles/projects deprecated more response field
authorZipeng WU <zipeng.wu@sonarsource.com>
Thu, 30 Mar 2023 12:41:12 +0000 (14:41 +0200)
committersonartech <sonartech@sonarsource.com>
Thu, 30 Mar 2023 20:03:07 +0000 (20:03 +0000)
server/sonar-webserver-webapi/src/main/java/org/sonar/server/qualityprofile/ws/ProjectsAction.java

index 9dcb5c6934abb6445df2e6c9a4891d0b75bcd164..cf970503bf2002326d85edc8ab604eadfc51d964 100644 (file)
@@ -67,6 +67,7 @@ public class ProjectsAction implements QProfileWsAction {
       .setResponseExample(getClass().getResource("projects-example.json"));
 
     action.setChangelog(
+      new Change("10.0", "deprecated 'more' response field has been removed"),
       new Change("8.8", "deprecated 'id' response field has been removed"),
       new Change("8.8", "deprecated 'uuid' response field has been removed"),
       new Change("7.2", "'more' response field is deprecated"),
@@ -156,8 +157,6 @@ public class ProjectsAction implements QProfileWsAction {
       .prop("pageSize", paging.pageSize())
       .prop("total", paging.total())
       .endObject();
-    // more is deprecated since 7.2
-    json.prop("more", paging.hasNextPage());
     json.endObject();
     json.close();
   }