Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 18 additions & 8 deletions output/openapi/elasticsearch-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 13 additions & 3 deletions output/openapi/elasticsearch-serverless-openapi.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 29 additions & 14 deletions output/schema/schema.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export interface Request extends RequestBase {
* @availability stack since=8.2.0
* @availability serverless
*/
filters?: string
filters?: string | string[]
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/**
* A comma-separated list of field types to include.
* Any fields that do not match one of these types will be excluded from the results.
Expand Down
4 changes: 2 additions & 2 deletions specification/_global/terms_enum/TermsEnumRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { RequestBase } from '@_types/Base'
import { Field, IndexName } from '@_types/common'
import { Field, Indices } from '@_types/common'
import { integer } from '@_types/Numeric'
import { QueryContainer } from '@_types/query_dsl/abstractions'
import { Duration } from '@_types/Time'
Expand Down Expand Up @@ -50,7 +50,7 @@ export interface Request extends RequestBase {
* Wildcard (`*`) expressions are supported.
* To search all data streams or indices, omit this parameter or use `*` or `_all`.
*/
index: IndexName
index: Indices
}
body: {
/** The string to match at the start of indexed terms. If not provided, all terms in the field are considered. */
Expand Down
4 changes: 2 additions & 2 deletions specification/indices/add_block/IndicesAddBlockRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { RequestBase } from '@_types/Base'
import { ExpandWildcards, IndexName } from '@_types/common'
import { ExpandWildcards, Indices } from '@_types/common'
import { Duration } from '@_types/Time'
import { IndicesBlockOptions } from '@indices/_types/IndexSettings'

Expand Down Expand Up @@ -46,7 +46,7 @@ export interface Request extends RequestBase {
* To allow the adding of blocks to indices with `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to `false`.
* You can update this setting in the `elasticsearch.yml` file or by using the cluster update settings API.
*/
index: IndexName
index: Indices
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/**
* The block type to add to the index.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { RequestBase } from '@_types/Base'
import { ExpandWildcards, IndexName } from '@_types/common'
import { ExpandWildcards, Indices } from '@_types/common'

/**
* Get data stream stats.
Expand Down Expand Up @@ -48,7 +48,7 @@ export interface Request extends RequestBase {
* Wildcard expressions (`*`) are supported.
* To target all data streams in a cluster, omit this parameter or use `*`.
*/
name?: IndexName
name?: Indices
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
query_parameters: {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { RequestBase } from '@_types/Base'
import { ExpandWildcards, IndexName } from '@_types/common'
import { ExpandWildcards, Indices } from '@_types/common'
import { Duration } from '@_types/Time'
import { IndicesBlockOptions } from '@indices/_types/IndexSettings'

Expand Down Expand Up @@ -47,7 +47,7 @@ export interface Request extends RequestBase {
* To allow the removal of blocks from indices with `_all`, `*`, or other wildcard expressions, change the `action.destructive_requires_name` setting to `false`.
* You can update this setting in the `elasticsearch.yml` file or by using the cluster update settings API.
*/
index: IndexName
index: Indices
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/**
* The block type to remove from the index.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { RequestBase } from '@_types/Base'
import { Name } from '@_types/common'
import { Names } from '@_types/common'

/**
* Clear the privileges cache.
Expand All @@ -44,6 +44,6 @@ export interface Request extends RequestBase {
* To clear all applications, use an asterism (`*`).
* It does not support other wildcard patterns.
*/
application: Name
application: Names
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

}
}
Loading