-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
Hi,
i would be great if we could allow variables in bodyFile path so it would be possible to have different responses for different path variables without creating a lot of imposters.
A possible config could look like this:
[
{
"request": {
"method": "GET",
"endpoint": "/orders/{order_id:.*}"
},
"response": {
"status": 200,
"headers": {
"Content-Type": "application/json"
},
"bodyFile": "../bodies/order_{order_id}.json"
}
}
]
Best regards
Metadata
Metadata
Assignees
Labels
No labels