Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apply two improvements from Kibana Console #2907

Merged
merged 1 commit into from
Sep 23, 2024
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
24 changes: 22 additions & 2 deletions output/openapi/elasticsearch-openapi.json

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

14 changes: 13 additions & 1 deletion output/openapi/elasticsearch-serverless-openapi.json

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

54 changes: 52 additions & 2 deletions output/schema/schema-serverless.json

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

58 changes: 54 additions & 4 deletions output/schema/schema.json

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

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

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

12 changes: 11 additions & 1 deletion specification/sql/query/QuerySqlRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export interface Request extends RequestBase {
* Format for the response.
* @doc_id sql-rest-format
*/
format?: string
format?: SqlFormat
}
body: {
/**
Expand Down Expand Up @@ -120,3 +120,13 @@ export interface Request extends RequestBase {
index_using_frozen?: boolean
}
}

export enum SqlFormat {
csv,
json,
tsv,
txt,
yaml,
cbor,
smile
}
8 changes: 7 additions & 1 deletion specification/xpack/info/XPackInfoRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export interface Request extends RequestBase {
/**
* A comma-separated list of the information categories to include in the response. For example, `build,license,features`.
*/
categories?: string[]
categories?: XPackCategory[]
accept_enterprise?: boolean
/**
* Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.
Expand All @@ -40,3 +40,9 @@ export interface Request extends RequestBase {
human?: boolean
}
}

export enum XPackCategory {
build,
features,
license
}
Loading