Skip to content

Commit

Permalink
Java client issues batch 6 (#2597)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
l-trotta authored May 31, 2024
1 parent b1f91f1 commit 6fdb2c2
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 22 deletions.
7 changes: 2 additions & 5 deletions output/openapi/elasticsearch-serverless-openapi.json

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

12 changes: 6 additions & 6 deletions output/schema/schema.json

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

10 changes: 5 additions & 5 deletions output/typescript/types.ts

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

2 changes: 1 addition & 1 deletion specification/_global/mtermvectors/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export class Operation {
/**
* The ID of the document.
*/
_id: Id
_id?: Id
/**
* The index of the document.
*/
Expand Down
4 changes: 2 additions & 2 deletions specification/_types/aggregations/Aggregate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ export class TermsAggregateBase<
export class StringTermsAggregate extends TermsAggregateBase<StringTermsBucket> {}

export class TermsBucketBase extends MultiBucketBase {
doc_count_error?: long
doc_count_error_upper_bound?: long
}

export class StringTermsBucket extends TermsBucketBase {
Expand Down Expand Up @@ -703,7 +703,7 @@ export class StringStatsAggregate extends AggregateBase {
avg_length_as_string?: string
}

/** @variant name=box_plot */
/** @variant name=boxplot */
export class BoxPlotAggregate extends AggregateBase {
min: double
max: double
Expand Down
6 changes: 3 additions & 3 deletions specification/nodes/info/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export class NodeInfoSettings {
repositories?: NodeInfoRepositories
discovery?: NodeInfoDiscover
action?: NodeInfoAction
client: NodeInfoClient
client?: NodeInfoClient
http: NodeInfoSettingsHttp
bootstrap?: NodeInfoBootstrap
transport: NodeInfoSettingsTransport
Expand Down Expand Up @@ -218,7 +218,7 @@ export class NodeInfoSettingsTransportFeatures {
}

export class NodeInfoSettingsNetwork {
host: Host
host?: Host
}

export class NodeInfoIngest {
Expand Down Expand Up @@ -280,7 +280,7 @@ export class NodeInfoXpackLicenseType {

export class NodeInfoScript {
allowed_types: string
disable_max_compilations_rate: string
disable_max_compilations_rate?: string
}

export class NodeInfoSearch {
Expand Down

0 comments on commit 6fdb2c2

Please sign in to comment.