Skip to content

Commit 969d067

Browse files
committed
[Partial Backport 8.15] Java issue batch 8 (#2959)
1 parent dbb9212 commit 969d067

File tree

9 files changed

+60
-32
lines changed

9 files changed

+60
-32
lines changed

output/openapi/elasticsearch-openapi.json

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

specification/_types/Base.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,8 @@ export class IndicesResponseBase extends AcknowledgedResponseBase {
8989
}
9090

9191
export class ShardsOperationResponseBase {
92-
_shards: ShardStatistics
92+
// _shards is always returned, but not when wait_for_completion is false in the request
93+
_shards?: ShardStatistics
9394
}
9495

9596
export class CustomResponseBuilderBase {}

specification/ilm/move_to_step/MoveToStepRequest.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ export interface Request extends RequestBase {
3030
index: IndexName
3131
}
3232
body: {
33-
current_step?: StepKey
34-
next_step?: StepKey
33+
current_step: StepKey
34+
next_step: StepKey
3535
}
3636
}

specification/ilm/move_to_step/types.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
*/
1919

2020
export class StepKey {
21-
action: string
22-
name: string
21+
// action and name are optional in case they are used in next_step
22+
action?: string
23+
name?: string
2324
phase: string
2425
}

specification/indices/_types/DataStream.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,5 @@ export class DataStreamIndex {
143143

144144
export class DataStreamVisibility {
145145
hidden?: boolean
146+
allow_custom_routing?: boolean
146147
}

0 commit comments

Comments
 (0)