]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-6177 Improve /api/projects/create documentation on branch parameter
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 12 Feb 2015 15:15:39 +0000 (16:15 +0100)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Thu, 12 Feb 2015 16:11:46 +0000 (17:11 +0100)
server/sonar-server/src/main/java/org/sonar/server/component/ws/ProjectsWs.java

index b5afbcf0d982993778631ebb57026dda1ef0963e..a4a06570cf2aec14a3952f3483709bba26f70969 100644 (file)
@@ -101,7 +101,7 @@ public class ProjectsWs implements WebService {
       .setExampleValue("SonarQube");
 
     action.createParam("branch")
-      .setDescription("SCM Branch")
+      .setDescription("SCM Branch of the project. The key of the project will become key:branch, for instance 'SonarQube:branch-5.0'")
       .setRequired(false)
       .setExampleValue("branch-5.0");