Skip to content

Commit 6908433

Browse files
authored
fix: mock body render missing context (#630)
* fix: mock body render missing context * feat: add support for repo parameter in mock response body --------- Co-authored-by: rick <[email protected]>
1 parent c8df84c commit 6908433

File tree

4 files changed

+502
-472
lines changed

4 files changed

+502
-472
lines changed

docs/site/content/zh/latest/tasks/mock.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ items:
8484
body: |
8585
{
8686
"count": 1,
87+
"repo": "{{.Param.repo}}",
8788
"items": [{
8889
"title": "fix: there is a bug on page {{ randEnum "one", "two" }}",
8990
"number": 123,

0 commit comments

Comments
 (0)