diff --git a/docs/overlays/elasticsearch-shared-overlays.yaml b/docs/overlays/elasticsearch-shared-overlays.yaml index e000f5faae..ecddf06684 100644 --- a/docs/overlays/elasticsearch-shared-overlays.yaml +++ b/docs/overlays/elasticsearch-shared-overlays.yaml @@ -1152,3 +1152,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