Skip to content

Commit 6fdb2c2

Browse files
authored
Java client issues batch 6 (#2597)
* box_plot is actually boxplot * doc_count_error should be doc_count_error_upper_bound * mtermvector operation id optional * making the nodes (info) endpoint work
1 parent b1f91f1 commit 6fdb2c2

File tree

6 files changed

+19
-22
lines changed

6 files changed

+19
-22
lines changed

output/openapi/elasticsearch-serverless-openapi.json

Lines changed: 2 additions & 5 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: 6 additions & 6 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: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/_global/mtermvectors/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ export class Operation {
3636
/**
3737
* The ID of the document.
3838
*/
39-
_id: Id
39+
_id?: Id
4040
/**
4141
* The index of the document.
4242
*/

specification/_types/aggregations/Aggregate.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ export class TermsAggregateBase<
389389
export class StringTermsAggregate extends TermsAggregateBase<StringTermsBucket> {}
390390

391391
export class TermsBucketBase extends MultiBucketBase {
392-
doc_count_error?: long
392+
doc_count_error_upper_bound?: long
393393
}
394394

395395
export class StringTermsBucket extends TermsBucketBase {
@@ -703,7 +703,7 @@ export class StringStatsAggregate extends AggregateBase {
703703
avg_length_as_string?: string
704704
}
705705

706-
/** @variant name=box_plot */
706+
/** @variant name=boxplot */
707707
export class BoxPlotAggregate extends AggregateBase {
708708
min: double
709709
max: double

specification/nodes/info/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class NodeInfoSettings {
7373
repositories?: NodeInfoRepositories
7474
discovery?: NodeInfoDiscover
7575
action?: NodeInfoAction
76-
client: NodeInfoClient
76+
client?: NodeInfoClient
7777
http: NodeInfoSettingsHttp
7878
bootstrap?: NodeInfoBootstrap
7979
transport: NodeInfoSettingsTransport
@@ -218,7 +218,7 @@ export class NodeInfoSettingsTransportFeatures {
218218
}
219219

220220
export class NodeInfoSettingsNetwork {
221-
host: Host
221+
host?: Host
222222
}
223223

224224
export class NodeInfoIngest {
@@ -280,7 +280,7 @@ export class NodeInfoXpackLicenseType {
280280

281281
export class NodeInfoScript {
282282
allowed_types: string
283-
disable_max_compilations_rate: string
283+
disable_max_compilations_rate?: string
284284
}
285285

286286
export class NodeInfoSearch {

0 commit comments

Comments
 (0)