Skip to content

Commit 8b6759a

Browse files
authored
Validate ccr.follow request (#243)
1 parent 64f7520 commit 8b6759a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

output/schema/schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39738,7 +39738,7 @@
3973839738
"type": {
3973939739
"kind": "instance_of",
3974039740
"type": {
39741-
"name": "string",
39741+
"name": "integer",
3974239742
"namespace": "internal"
3974339743
}
3974439744
}

output/typescript/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3691,7 +3691,7 @@ export interface CreateAutoFollowPatternResponse extends AcknowledgedResponseBas
36913691

36923692
export interface CreateFollowIndexRequest extends RequestBase {
36933693
index: IndexName
3694-
wait_for_active_shards?: string
3694+
wait_for_active_shards?: integer
36953695
body: {
36963696
leader_index?: IndexName
36973697
max_outstanding_read_requests?: long

specification/specs/x_pack/cross_cluster_replication/follow/create_follow_index/CreateFollowIndexRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ interface CreateFollowIndexRequest extends RequestBase {
2727
index: IndexName
2828
}
2929
query_parameters?: {
30-
wait_for_active_shards?: string
30+
wait_for_active_shards?: integer
3131
}
3232
body?: {
3333
leader_index?: IndexName

0 commit comments

Comments
 (0)