diff --git a/docs/overlays/elasticsearch-shared-overlays.yaml b/docs/overlays/elasticsearch-shared-overlays.yaml index 123563faa8..ef3578e3af 100644 --- a/docs/overlays/elasticsearch-shared-overlays.yaml +++ b/docs/overlays/elasticsearch-shared-overlays.yaml @@ -1100,3 +1100,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