-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default file? #68
Comments
You can use the |
I am using. I route to correct response file, but if it is not found then body response is used. Only thing is that body response may be long and would be good if that could be file as well. |
It sounds like you want the fallback to your non-existent |
Yes! This is how I use it now
and this is how I really want to use
|
I'll accept a pull request that allows response:
status: 200
file:
- "first/file.json"
- "second/file.json" |
I have to create a fallback response for some endpoints and I currently use body option for that.
But those responses are quite long (SOAP responses) and it is quite painful to add them to json config file.
Would it be possible to add a default file option so that I could externalise this default response for better readability?
Thanks!
The text was updated successfully, but these errors were encountered: