|
4 | 4 | title: Overlays for changes that apply to both Elasticsearch and Elasticsearch Serverless OpenAPI documents
|
5 | 5 | version: 0.0.1
|
6 | 6 | actions:
|
7 |
| -# Add x-model to hide children of schema objects that are defined elsewhere |
8 |
| - - target: "$.components['schemas']['_types.query_dsl:QueryContainer']" |
9 |
| - description: Add x-model and updated externalDocs for the QueryContainer object |
10 |
| - update: |
11 |
| - x-model: true |
12 |
| - externalDocs: |
13 |
| - url: https://www.elastic.co/guide/en/elasticsearch/reference/master/query-dsl.html |
14 |
| - description: Query domain specific language (DSL) reference |
15 | 7 | # Add an alphabetically sorted list of tags
|
16 | 8 | - target: '$'
|
17 | 9 | description: Add document-level tags sorted by display name
|
@@ -244,6 +236,13 @@ actions:
|
244 | 236 | - name: watcher
|
245 | 237 | x-displayName: Watcher
|
246 | 238 | # Add x-model and/or abbreviate schemas that should point to other references
|
| 239 | + - target: "$.components['schemas']['_types.query_dsl:QueryContainer']" |
| 240 | + description: Add x-model and updated externalDocs for the QueryContainer object |
| 241 | + update: |
| 242 | + x-model: true |
| 243 | + externalDocs: |
| 244 | + url: https://www.elastic.co/guide/en/elasticsearch/reference/master/query-dsl.html |
| 245 | + description: Query domain specific language (DSL) reference |
247 | 246 | - target: "$.components['schemas']['_types.analysis:CharFilter'].oneOf"
|
248 | 247 | description: Remove existing oneOf definition for CharFilter
|
249 | 248 | remove: true
|
@@ -280,6 +279,13 @@ actions:
|
280 | 279 | externalDocs:
|
281 | 280 | url: https://www.elastic.co/guide/en/elasticsearch/reference/master/analysis-tokenfilters.html
|
282 | 281 | description: Token filter reference
|
| 282 | + - target: "$.components['schemas']['security._types:RoleTemplateScript']" |
| 283 | + description: Add x-model where recommended by Bump.sh |
| 284 | + update: |
| 285 | + x-model: true |
| 286 | + externalDocs: |
| 287 | + description: Templating a role query |
| 288 | + url: https://www.elastic.co/guide/en/elasticsearch/reference/master/field-and-document-access-control.html#templating-role-query |
283 | 289 | # Abbreviate and annotate items that are not shown in Bump.sh due to depth limits
|
284 | 290 | - target: "$.components['schemas']['ml._types:Datafeed'].properties.query"
|
285 | 291 | description: Remove query object from anomaly detection datafeed
|
|
0 commit comments