From 2954026b66787daeb22f63e1094a67dc71a69197 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Mon, 6 Oct 2025 08:26:31 -0700 Subject: [PATCH] Add overlay for simplified Duration data type (#5407) (cherry picked from commit 1c92db238e41fa70721f73009aa5b98b579e2847) --- docs/overlays/elasticsearch-shared-overlays.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/overlays/elasticsearch-shared-overlays.yaml b/docs/overlays/elasticsearch-shared-overlays.yaml index 07574f53c0..f2d3ceae85 100644 --- a/docs/overlays/elasticsearch-shared-overlays.yaml +++ b/docs/overlays/elasticsearch-shared-overlays.yaml @@ -1151,3 +1151,11 @@ actions: - target: "$.components['schemas']['cat._types.CatTransformColumn'].enum" description: Remove enum array from cat transforms remove: true +# Simplify duration type + - target: "$.components['schemas']['_types.Duration'].oneOf" + description: Remove existing oneOf definition for Duration + remove: true + - target: "$.components['schemas']['_types.Duration']" + description: Re-add a simple string type for Duration + update: + type: string \ No newline at end of file