Skip to content

Commit 295ccb7

Browse files
committed
Add overlay for deep objects in security APIs
1 parent b1400a3 commit 295ccb7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

docs/overlays/elasticsearch-shared-example-overlays.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,18 @@ info:
44
title: Overlays for examples that apply to both Elasticsearcb and Elasticsearch Serverless OpenAPI documents
55
version: 0.0.1
66
actions:
7+
# Abbreviate and annotate items that are not shown in Bump.sh due to depth limits
8+
- target: "$.components['schemas']['security._types:IndicesPrivilegesQuery'].oneOf"
9+
description: Remove types from security role descriptors indices query
10+
remove: true
11+
- target: "$.components['schemas']['security._types:IndicesPrivilegesQuery']"
12+
description: Re-add simplified types for security role descriptors indices query
13+
update:
14+
x-abbreviated: true
15+
oneOf:
16+
- type: string
17+
- type: object
18+
# Examples
719
- target: "$.components['requestBodies']['async_search.submit']"
820
description: "Add example for asynch search submit request"
921
update:

0 commit comments

Comments
 (0)