File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -331,6 +331,7 @@ responseHeaders:
331
331
В описании теста можно использовать переменные, они поддерживаются в следующих полях :
332
332
333
333
- method
334
+ - description
334
335
- path
335
336
- query
336
337
- headers
@@ -346,6 +347,7 @@ responseHeaders:
346
347
347
348
` ` ` yaml
348
349
- method: "{{ $method }}"
350
+ description: "{{ $description }}"
349
351
path: "/some/path/{{ $pathPart }}"
350
352
query: "{{ $query }}"
351
353
headers:
@@ -1804,4 +1806,4 @@ Example:
1804
1806
```
1805
1807
1806
1808
В примере выше, схема из файла C:\Users\Leo\gonkey.json будет применяться ко всем файлам
1807
- с расширением .gonkey.yaml
1809
+ с расширением .gonkey.yaml
Original file line number Diff line number Diff line change 18
18
"type" : " string" ,
19
19
"description" : " test name"
20
20
},
21
+ "description" :{
22
+ "type" : " string" ,
23
+ "description" : " test description"
24
+ },
21
25
"method" : {
22
26
"type" : " string" ,
23
27
"description" : " HTTP request type" ,
548
552
]
549
553
}
550
554
}
551
- }
555
+ }
You can’t perform that action at this time.
0 commit comments