]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20491 Improved documentation of endpoint api/qualityprofiles/projects
authorMatteo Mara <matteo.mara@sonarsource.com>
Thu, 2 Nov 2023 11:51:14 +0000 (12:51 +0100)
committersonartech <sonartech@sonarsource.com>
Thu, 2 Nov 2023 20:02:42 +0000 (20:02 +0000)
server/sonar-webserver-webapi/src/main/java/org/sonar/server/qualityprofile/ws/ProjectsAction.java

index 1ed3c0d2fe056c361a57e6e690b69a9828671f61..36ca5e82bcde06be81f4c129b4c5f95b471641d6 100644 (file)
@@ -62,8 +62,9 @@ public class ProjectsAction implements QProfileWsAction {
     NewAction action = controller.createAction("projects")
       .setSince("5.2")
       .setHandler(this)
-      .setDescription("List projects with their association status regarding a quality profile <br/>" +
-        "See api/qualityprofiles/search in order to get the Quality Profile Key")
+      .setDescription("List projects with their association status regarding a quality profile. <br/>" +
+        "Only projects explicitly bound to the profile are returned, those associated to the profile because is the default one are not. <br/>" +
+        "See api/qualityprofiles/search in order to get the Quality Profile Key. ")
       .setResponseExample(getClass().getResource("projects-example.json"));
 
     action.setChangelog(