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"),
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"),