Skip to content

Commit 9b741ca

Browse files
Add overlay for simplified Duration data type (#5407) (#5422)
(cherry picked from commit 1c92db2) Co-authored-by: Lisa Cawley <[email protected]>
1 parent 264750c commit 9b741ca

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
@@ -1151,3 +1151,11 @@ actions:
11511151
- target: "$.components['schemas']['cat._types.CatTransformColumn'].enum"
11521152
description: Remove enum array from cat transforms
11531153
remove: true
1154+
# Simplify duration type
1155+
- target: "$.components['schemas']['_types.Duration'].oneOf"
1156+
description: Remove existing oneOf definition for Duration
1157+
remove: true
1158+
- target: "$.components['schemas']['_types.Duration']"
1159+
description: Re-add a simple string type for Duration
1160+
update:
1161+
type: string

0 commit comments

Comments
 (0)