Skip to content

Commit

Permalink
Merge pull request #197 from lamoda/update-readme
Browse files Browse the repository at this point in the history
Update doc with "description" field
  • Loading branch information
fetinin authored Jan 14, 2023
2 parents 53a1c84 + b0f1f06 commit 89d4ea3
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README-ru.md
Original file line number Diff line number Diff line change
Expand Up @@ -331,6 +331,7 @@ responseHeaders:
В описании теста можно использовать переменные, они поддерживаются в следующих полях:

- method
- description
- path
- query
- headers
Expand All @@ -346,6 +347,7 @@ responseHeaders:

```yaml
- method: "{{ $method }}"
description: "{{ $description }}"
path: "/some/path/{{ $pathPart }}"
query: "{{ $query }}"
headers:
Expand Down Expand Up @@ -1804,4 +1806,4 @@ Example:
```
В примере выше, схема из файла C:\Users\Leo\gonkey.json будет применяться ко всем файлам
с расширением .gonkey.yaml
с расширением .gonkey.yaml
6 changes: 5 additions & 1 deletion gonkey.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@
"type": "string",
"description": "test name"
},
"description":{
"type": "string",
"description": "test description"
},
"method": {
"type": "string",
"description": "HTTP request type",
Expand Down Expand Up @@ -548,4 +552,4 @@
]
}
}
}
}

0 comments on commit 89d4ea3

Please sign in to comment.