Skip to content

Commit 395146f

Browse files
Add overlay for simplified Duration data type (#5407) (#5419)
(cherry picked from commit 1c92db2) Co-authored-by: Lisa Cawley <[email protected]>
1 parent 7e8e382 commit 395146f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,3 +1100,11 @@ actions:
11001100
- target: "$.components['schemas']['cat._types.CatTransformColumn'].enum"
11011101
description: Remove enum array from cat transforms
11021102
remove: true
1103+
# Simplify duration type
1104+
- target: "$.components['schemas']['_types.Duration'].oneOf"
1105+
description: Remove existing oneOf definition for Duration
1106+
remove: true
1107+
- target: "$.components['schemas']['_types.Duration']"
1108+
description: Re-add a simple string type for Duration
1109+
update:
1110+
type: string

0 commit comments

Comments
 (0)