From b42000c7a409560b2120f8c8f71ff238c33d5f0b Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Thu, 30 Nov 2023 10:11:11 -0700 Subject: [PATCH] Update OpenAPI specs (#166) Signed-off-by: GitHub Co-authored-by: nhtruong --- OpenSearch.openapi.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/OpenSearch.openapi.json b/OpenSearch.openapi.json index 378f6b0db..a4ba7bf8d 100644 --- a/OpenSearch.openapi.json +++ b/OpenSearch.openapi.json @@ -26671,7 +26671,9 @@ "description": "Specify the keep alive for point in time.", "schema": { "type": "string", - "description": "Specify the keep alive for point in time." + "pattern": "^([0-9]+)(?:d|h|m|s|ms|micros|nanos)$", + "description": "Specify the keep alive for point in time.", + "x-data-type": "time" } }, { @@ -30719,7 +30721,7 @@ "pit_id": { "type": "string" }, - "_shard": { + "_shards": { "$ref": "#/components/schemas/ShardStatistics" }, "creation_time": {