File tree 3 files changed +24
-18
lines changed
3 files changed +24
-18
lines changed Original file line number Diff line number Diff line change
1
+ $schema : ../../../../json_schemas/test_story.schema.yaml
2
+
3
+ description : Test validating queries.
4
+ chapters :
5
+ - synopsis : Validate a query.
6
+ path : /_validate/query
7
+ method :
8
+ - GET
9
+ - POST
10
+ request :
11
+ payload :
12
+ query :
13
+ match_all : {}
14
+ response :
15
+ status : 200
16
+ payload :
17
+ valid : true
Original file line number Diff line number Diff line change 1
1
$schema : ../../../../json_schemas/test_story.schema.yaml
2
2
3
- description : Test validating queries for a specific index using both GET and POST methods .
3
+ description : Test validating queries for a specific index.
4
4
epilogues :
5
5
- path : /movies
6
6
method : DELETE
@@ -18,9 +18,11 @@ prologues:
18
18
- {create: {_index: movies, _id: movie2}}
19
19
- {director: Nicolas Winding Refn, title: Drive, year: 1960}
20
20
chapters :
21
- - synopsis : Validate a match query (GET) .
21
+ - synopsis : Validate a match query.
22
22
path : /{index}/_validate/query
23
- method : GET
23
+ method :
24
+ - GET
25
+ - POST
24
26
parameters :
25
27
index : movies
26
28
request :
@@ -32,18 +34,3 @@ chapters:
32
34
status : 200
33
35
payload :
34
36
valid : true
35
-
36
- - synopsis : Validate a match query (POST).
37
- path : /{index}/_validate/query
38
- method : POST
39
- parameters :
40
- index : movies
41
- request :
42
- payload :
43
- query :
44
- match :
45
- title : Drive
46
- response :
47
- status : 200
48
- payload :
49
- valid : true
Original file line number Diff line number Diff line change @@ -15,6 +15,8 @@ chapters:
15
15
payload :
16
16
nodes_dn :
17
17
- CN=cluster.example.com
18
+ retry :
19
+ count : 3
18
20
response :
19
21
status : 201
20
22
payload :
You can’t perform that action at this time.
0 commit comments