Skip to content

Commit d9f56b4

Browse files
committed
fixing a typo
1 parent 7bcc8c1 commit d9f56b4

File tree

4 files changed

+4
-10
lines changed

4 files changed

+4
-10
lines changed

output/schema/schema.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/schema/validation-errors.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,6 @@
99
"Request: missing json spec query parameter 'allow_closed'"
1010
],
1111
"response": []
12-
},
13-
"indices.get_sample": {
14-
"request": [
15-
"Request: url path '{index}/_sample' not found in the json spec"
16-
],
17-
"response": []
1812
}
1913
},
2014
"generalErrors": [

specification/indices/get_sample/GetRandomSampleRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { IndexName } from '@_types/common'
3131
export interface Request extends RequestBase {
3232
urls: [
3333
{
34-
path: '{index}/_sample'
34+
path: '/{index}/_sample'
3535
methods: ['GET']
3636
}
3737
]

specification/indices/get_sample_stats/GetRandomSampleStatsRequest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import { IndexName } from '@_types/common'
3131
export interface Request extends RequestBase {
3232
urls: [
3333
{
34-
path: '{index}/_sample/stats'
34+
path: '/{index}/_sample/stats'
3535
methods: ['GET']
3636
}
3737
]

0 commit comments

Comments
 (0)