Skip to content

Commit b0f1f06

Browse files
committed
Update doc with "description" field
1 parent 53a1c84 commit b0f1f06

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README-ru.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ responseHeaders:
331331
В описании теста можно использовать переменные, они поддерживаются в следующих полях:
332332

333333
- method
334+
- description
334335
- path
335336
- query
336337
- headers
@@ -346,6 +347,7 @@ responseHeaders:
346347

347348
```yaml
348349
- method: "{{ $method }}"
350+
description: "{{ $description }}"
349351
path: "/some/path/{{ $pathPart }}"
350352
query: "{{ $query }}"
351353
headers:
@@ -1804,4 +1806,4 @@ Example:
18041806
```
18051807
18061808
В примере выше, схема из файла C:\Users\Leo\gonkey.json будет применяться ко всем файлам
1807-
с расширением .gonkey.yaml
1809+
с расширением .gonkey.yaml

gonkey.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@
1818
"type": "string",
1919
"description": "test name"
2020
},
21+
"description":{
22+
"type": "string",
23+
"description": "test description"
24+
},
2125
"method": {
2226
"type": "string",
2327
"description": "HTTP request type",
@@ -548,4 +552,4 @@
548552
]
549553
}
550554
}
551-
}
555+
}

0 commit comments

Comments
 (0)