Skip to content

Commit

Permalink
[Partial Backport 8.15] Java issue batch 8 (#2959)
Browse files Browse the repository at this point in the history
  • Loading branch information
l-trotta committed Oct 1, 2024
1 parent dbb9212 commit 969d067
Show file tree
Hide file tree
Showing 9 changed files with 60 additions and 32 deletions.
16 changes: 9 additions & 7 deletions output/openapi/elasticsearch-openapi.json

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

8 changes: 4 additions & 4 deletions output/openapi/elasticsearch-serverless-openapi.json

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

17 changes: 14 additions & 3 deletions output/schema/schema-serverless.json

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

27 changes: 19 additions & 8 deletions output/schema/schema.json

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

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

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

3 changes: 2 additions & 1 deletion specification/_types/Base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ export class IndicesResponseBase extends AcknowledgedResponseBase {
}

export class ShardsOperationResponseBase {
_shards: ShardStatistics
// _shards is always returned, but not when wait_for_completion is false in the request
_shards?: ShardStatistics
}

export class CustomResponseBuilderBase {}
4 changes: 2 additions & 2 deletions specification/ilm/move_to_step/MoveToStepRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export interface Request extends RequestBase {
index: IndexName
}
body: {
current_step?: StepKey
next_step?: StepKey
current_step: StepKey
next_step: StepKey
}
}
5 changes: 3 additions & 2 deletions specification/ilm/move_to_step/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@
*/

export class StepKey {
action: string
name: string
// action and name are optional in case they are used in next_step
action?: string
name?: string
phase: string
}
1 change: 1 addition & 0 deletions specification/indices/_types/DataStream.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,4 +143,5 @@ export class DataStreamIndex {

export class DataStreamVisibility {
hidden?: boolean
allow_custom_routing?: boolean
}

0 comments on commit 969d067

Please sign in to comment.