It would be nice to be able to handle some basic query string parameters to allow for mocked filtering (for example).
Say I've got 50 users. To get all users, I could hit /user. But if I only want admin users, I might want to hit /user?is_admin=1 or some such. It doesn't appear that this is currently possible based on a quick glance through some code and the tests.
Perhaps it could search for files that follow a pattern like user/GET_200_q_is_admin=1.json (possibly sorting the query string parameters alphabetically to avoid redundancy).
It would be nice to be able to handle some basic query string parameters to allow for mocked filtering (for example).
Say I've got 50 users. To get all users, I could hit
/user. But if I only want admin users, I might want to hit/user?is_admin=1or some such. It doesn't appear that this is currently possible based on a quick glance through some code and the tests.Perhaps it could search for files that follow a pattern like user/GET_200_q_is_admin=1.json (possibly sorting the query string parameters alphabetically to avoid redundancy).