Skip to content

Commit 604316c

Browse files
authored
Apply two improvements from Kibana Console (#2907)
1 parent 85a1534 commit 604316c

File tree

7 files changed

+165
-13
lines changed

7 files changed

+165
-13
lines changed

output/openapi/elasticsearch-openapi.json

Lines changed: 22 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 13 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema-serverless.json

Lines changed: 52 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/schema.json

Lines changed: 54 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/sql/query/QuerySqlRequest.ts

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export interface Request extends RequestBase {
3636
* Format for the response.
3737
* @doc_id sql-rest-format
3838
*/
39-
format?: string
39+
format?: SqlFormat
4040
}
4141
body: {
4242
/**
@@ -120,3 +120,13 @@ export interface Request extends RequestBase {
120120
index_using_frozen?: boolean
121121
}
122122
}
123+
124+
export enum SqlFormat {
125+
csv,
126+
json,
127+
tsv,
128+
txt,
129+
yaml,
130+
cbor,
131+
smile
132+
}

specification/xpack/info/XPackInfoRequest.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export interface Request extends RequestBase {
3131
/**
3232
* A comma-separated list of the information categories to include in the response. For example, `build,license,features`.
3333
*/
34-
categories?: string[]
34+
categories?: XPackCategory[]
3535
accept_enterprise?: boolean
3636
/**
3737
* Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.
@@ -40,3 +40,9 @@ export interface Request extends RequestBase {
4040
human?: boolean
4141
}
4242
}
43+
44+
export enum XPackCategory {
45+
build,
46+
features,
47+
license
48+
}

0 commit comments

Comments
 (0)