From 73fb8b29fa25b2b4cf0a4814dc48f2caa8567a38 Mon Sep 17 00:00:00 2001 From: Belen Pruvost Date: Fri, 29 Jul 2022 14:40:26 +0200 Subject: [PATCH] [NO JIRA] Update api/settings/set docs --- .../src/main/java/org/sonar/server/setting/ws/SetAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java index 4900510b7b8..61ff39aa685 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/setting/ws/SetAction.java @@ -111,13 +111,13 @@ public class SetAction implements SettingsWsAction { action.createParam(PARAM_KEY) .setDescription("Setting key") - .setExampleValue("sonar.links.scm") + .setExampleValue("sonar.core.serverBaseURL") .setRequired(true); action.createParam(PARAM_VALUE) .setMaximumLength(VALUE_MAXIMUM_LENGTH) .setDescription("Setting value. To reset a value, please use the reset web service.") - .setExampleValue("git@github.com:SonarSource/sonarqube.git"); + .setExampleValue("http://my-sonarqube-instance.com"); action.createParam(PARAM_VALUES) .setDescription("Setting multi value. To set several values, the parameter must be called once for each value.") -- 2.39.5