Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new config option to use jsonPath for response selector.
New 'jsonPathSwitchResponse' option allows to skip creating separate 'get' responses for each request parameter value in favor of selecting those respones from a list that is prepared for listing objects from backend (e.g. '/users' -> 'users/:id').
- Loading branch information
1 parent
98efced
commit ac4e165
Showing
7 changed files
with
201 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
node_modules/* | ||
mocks/* | ||
.DS_Store | ||
.DS_Store | ||
.vscode/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[ | ||
{ | ||
"name": "Han Solo", | ||
"role": "pilot", | ||
"id": 1 | ||
}, | ||
{ | ||
"name": "Chewbacca", | ||
"role": "first officer", | ||
"id": 2 | ||
}, | ||
{ | ||
"name": "C3P0", | ||
"role": "droid", | ||
"id": 3 | ||
}, | ||
{ | ||
"name": "R2D2", | ||
"role": "droid", | ||
"id": 4 | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters