From a81559b2c5dbb1204520a7b0ad1dadaaeb2c2a72 Mon Sep 17 00:00:00 2001 From: Julien Lancelot Date: Thu, 3 Apr 2014 08:39:42 +0200 Subject: [PATCH] SONAR-5174 Add new parameters docs --- .../src/main/java/org/sonar/server/rule/ws/RulesWs.java | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/sonar-server/src/main/java/org/sonar/server/rule/ws/RulesWs.java b/sonar-server/src/main/java/org/sonar/server/rule/ws/RulesWs.java index 294f2b7d141..33187d35072 100644 --- a/sonar-server/src/main/java/org/sonar/server/rule/ws/RulesWs.java +++ b/sonar-server/src/main/java/org/sonar/server/rule/ws/RulesWs.java @@ -46,7 +46,13 @@ public class RulesWs implements WebService { .setHandler(searchHandler) .createParam("s", "An optional query that will be matched against rule titles.") .createParam("k", "An optional query that will be matched exactly agains rule keys.") - // TODO add description for languages, repositories, etc. params + .createParam("languages", "An optional query that will be matched against rule languages.") + .createParam("repositories", "An optional query that will be matched against rule repositories.") + .createParam("severities", "An optional query that will be matched against rule severities.") + .createParam("statuses", "An optional query that will be matched against rule statuses.") + .createParam("tags", "An optional query that will be matched against rule tags.") + .createParam("debtCharacteristics", "An optional query that will be matched against rule debt characteristics or sub-characteristics.") + .createParam("hasDebtCharacteristic", "Determine if returned rules should be linked to a debt characteristics or not.") .createParam("ps", "Optional page size (default is 25).") .createParam("p", "Optional page number (default is 0)."); -- 2.39.5