Skip to content

Commit 8deda9a

Browse files
fix index optional + missing shard field (#6080) (#6083)
(cherry picked from commit 2c77bb5) Co-authored-by: Laura Trotta <153528055+l-trotta@users.noreply.github.com>
1 parent ea59a20 commit 8deda9a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

specification/indices/validate_query/IndicesValidateQueryResponse.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
*/
1919

2020
import { IndexName } from '@_types/common'
21+
import { integer } from '@_types/Numeric'
2122
import { ShardStatistics } from '@_types/Stats'
2223

2324
export class Response {
@@ -32,6 +33,7 @@ export class Response {
3233
export class IndicesValidationExplanation {
3334
error?: string
3435
explanation?: string
35-
index: IndexName
36+
index?: IndexName
37+
shard?: integer
3638
valid: boolean
3739
}

0 commit comments

Comments
 (0)