Skip to content

Commit

Permalink
Apply two improvements from Kibana Console (#2907)
Browse files Browse the repository at this point in the history
(cherry picked from commit 604316c)
  • Loading branch information
pquentin authored and github-actions[bot] committed Sep 23, 2024
1 parent 664a997 commit b868c55
Show file tree
Hide file tree
Showing 7 changed files with 165 additions and 13 deletions.
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
}

0 comments on commit b868c55

Please sign in to comment.