From aa0c09c78fbee6743c36273d01bd2f28a6c54c17 Mon Sep 17 00:00:00 2001 From: Pierre Date: Thu, 26 Mar 2020 14:22:15 +0100 Subject: [PATCH] SONAR-13248 deprecate metric id --- .../src/main/java/org/sonar/server/metric/ws/SearchAction.java | 1 + 1 file changed, 1 insertion(+) diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/metric/ws/SearchAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/metric/ws/SearchAction.java index f55f9dc7337..c47c36bcf85 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/metric/ws/SearchAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/metric/ws/SearchAction.java @@ -64,6 +64,7 @@ public class SearchAction implements MetricsWsAction { .addPagingParams(100, MAX_LIMIT) .setChangelog(new Change("7.7", "The response field 'custom' is deprecated")) + .setChangelog(new Change("8.3", "The response field 'id' is deprecated")) .setHandler(this); action.createFieldsParam(MetricJsonWriter.OPTIONAL_FIELDS) -- 2.39.5