From 08076f0c06f5e70b6b6a48c84d8dde056f613104 Mon Sep 17 00:00:00 2001 From: Wouter Admiraal Date: Tue, 9 Feb 2021 15:14:33 +0100 Subject: [PATCH] SONAR-14316 Correct API documentation --- .../src/main/java/org/sonar/server/issue/ws/SearchAction.java | 2 +- sonar-ws-generator/src/main/resources/snapshot-of-api.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java index 2852afebf3b..6bb64d140a7 100644 --- a/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java +++ b/server/sonar-webserver-webapi/src/main/java/org/sonar/server/issue/ws/SearchAction.java @@ -306,7 +306,7 @@ public class SearchAction implements IssuesWsAction { action.createParam(PARAM_CREATED_AFTER) .setDescription("To retrieve issues created after the given date (inclusive).
" + "Either a date (use '" + PARAM_TIMEZONE + "' attribute or it will default to server timezone) or datetime can be provided.
" + - "If this parameter is set, createdSince must not be set") + "If this parameter is set, createdInLast must not be set") .setExampleValue("2017-10-19 or 2017-10-19T13:00:00+0200"); action.createParam(PARAM_CREATED_BEFORE) .setDescription("To retrieve issues created before the given date (exclusive).
" + diff --git a/sonar-ws-generator/src/main/resources/snapshot-of-api.json b/sonar-ws-generator/src/main/resources/snapshot-of-api.json index c6f421ea15b..bf174e9153c 100644 --- a/sonar-ws-generator/src/main/resources/snapshot-of-api.json +++ b/sonar-ws-generator/src/main/resources/snapshot-of-api.json @@ -1878,7 +1878,7 @@ }, { "key": "createdAfter", - "description": "To retrieve issues created after the given date (inclusive).
Either a date (server timezone) or datetime can be provided.
If this parameter is set, createdSince must not be set", + "description": "To retrieve issues created after the given date (inclusive).
Either a date (server timezone) or datetime can be provided.
If this parameter is set, createdInLast must not be set", "required": false, "internal": false, "exampleValue": "2017-10-19 or 2017-10-19T13:00:00+0200" -- 2.39.5