Skip to content

Commit bd80eee

Browse files
committed
Add overlay for deep objects in alias APIs
1 parent 4aee13a commit bd80eee

File tree

1 file changed

+39
-3
lines changed

1 file changed

+39
-3
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 39 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,6 @@ actions:
244244
- name: watcher
245245
x-displayName: Watcher
246246
# Abbreviate and annotate items that are not shown in Bump.sh due to depth limits
247-
<<<<<<< HEAD:docs/overlays/elasticsearch-shared-overlays.yaml
248247
- target: "$.components['schemas']['ml._types:Datafeed'].properties.query"
249248
description: Remove query object from anomaly detection datafeed
250249
remove: true
@@ -314,7 +313,6 @@ actions:
314313
externalDocs:
315314
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
316315
description: Query DSL
317-
=======
318316
- target: "$.components['schemas']['security._types:IndicesPrivilegesQuery'].oneOf"
319317
description: Remove types from security role descriptors indices query
320318
remove: true
@@ -325,7 +323,45 @@ actions:
325323
oneOf:
326324
- type: string
327325
- type: object
328-
>>>>>>> 295ccb76c (Add overlay for deep objects in security APIs):docs/overlays/elasticsearch-shared-example-overlays.yaml
326+
- target: "$.components['schemas']['indices.update_aliases:AddAction'].properties.filter"
327+
description: Remove filter from update aliases add action
328+
remove: true
329+
- target: "$.components['schemas']['indices.update_aliases:AddAction'].properties"
330+
description: Re-add simplified filter for update aliases add action
331+
update:
332+
filter:
333+
x-abbreviated: true
334+
type: object
335+
description: A query used to limit the documents the alias can access.
336+
externalDocs:
337+
description: Query DSL
338+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
339+
- target: "$.components['requestBodies']['indices.put_alias'].content['application/json'].schema.properties.filter"
340+
description: Remove filter from create or update alias
341+
remove: true
342+
- target: "$.components['requestBodies']['indices.put_alias'].content['application/json'].schema.properties"
343+
description: Re-add simplified filter for create or update alias
344+
update:
345+
filter:
346+
x-abbreviated: true
347+
type: object
348+
description: A query used to limit the documents the alias can access.
349+
externalDocs:
350+
description: Query DSL
351+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
352+
- target: "$.components['schemas']['indices._types:AliasDefinition'].properties.filter"
353+
description: Remove filter from alias definition
354+
remove: true
355+
- target: "$.components['schemas']['indices._types:AliasDefinition'].properties"
356+
description: Re-add simplified filter for alias definition
357+
update:
358+
filter:
359+
x-abbreviated: true
360+
type: object
361+
description: A query used to limit the documents the alias can access.
362+
externalDocs:
363+
description: Query DSL
364+
url: https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl.html
329365
# Examples
330366
- target: "$.components['requestBodies']['async_search.submit']"
331367
description: "Add example for asynch search submit request"

0 commit comments

Comments
 (0)