Skip to content

Commit

Permalink
SONAR-17705 fix description of qualitygates/copy and qualitygates/ren…
Browse files Browse the repository at this point in the history
…ame endpoints
  • Loading branch information
matteo-mara-sonarsource authored and sonartech committed Mar 30, 2023
1 parent b0076e1 commit d6bd659
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public CopyAction(DbClient dbClient, UserSession userSession, QualityGateUpdater
public void define(WebService.NewController controller) {
WebService.NewAction action = controller.createAction("copy")
.setDescription("Copy a Quality Gate.<br>" +
"Either 'sourceName' or 'id' must be provided. Requires the 'Administer Quality Gates' permission.")
"'sourceName' must be provided. Requires the 'Administer Quality Gates' permission.")
.setPost(true)
.setChangelog(
new Change("10.0", "Field 'id' in the response is deprecated"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void define(WebService.NewController controller) {
WebService.NewAction action = controller.createAction("rename")
.setPost(true)
.setDescription("Rename a Quality Gate.<br>" +
"Either 'id' or 'currentName' must be specified. Requires the 'Administer Quality Gates' permission.")
"'currentName' must be specified. Requires the 'Administer Quality Gates' permission.")
.setSince("4.3")
.setChangelog(
new Change("10.0", "Field 'id' in the response is deprecated"),
Expand Down

0 comments on commit d6bd659

Please sign in to comment.