From 14906aba1adf6700516a28a35ce2d6735fe6e766 Mon Sep 17 00:00:00 2001 From: Ninolito Date: Thu, 29 Jan 2026 10:04:08 +0800 Subject: [PATCH] refactor: update recommendation date fields for consistency --- cover/v1/cover.proto | 7 ++----- openapiv2/apidocs.swagger.json | 10 ++-------- 2 files changed, 4 insertions(+), 13 deletions(-) diff --git a/cover/v1/cover.proto b/cover/v1/cover.proto index 57e83881..3cf9d79e 100644 --- a/cover/v1/cover.proto +++ b/cover/v1/cover.proto @@ -1538,11 +1538,8 @@ message ExecuteRecommendationV3Response { message ListRecommendationsV3Request { string costgroupId = 1; repeated string statuses = 2; - optional string lastDetectedStartDate = 3; - optional string lastDetectedEndDate = 4; - optional string dateDetectedStartDate = 5; - optional string dateDetectedEndDate = 6; - + optional string dateStart = 3; + optional string dateEnd = 4; } message RecommendationSummary { diff --git a/openapiv2/apidocs.swagger.json b/openapiv2/apidocs.swagger.json index 7c5ac462..fe5ba909 100644 --- a/openapiv2/apidocs.swagger.json +++ b/openapiv2/apidocs.swagger.json @@ -41842,16 +41842,10 @@ "type": "string" } }, - "lastDetectedStartDate": { + "dateStart": { "type": "string" }, - "lastDetectedEndDate": { - "type": "string" - }, - "dateDetectedStartDate": { - "type": "string" - }, - "dateDetectedEndDate": { + "dateEnd": { "type": "string" } }