You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am integrating with an API that relies on the response of a POST request (updating an item) that returns the updated model and our front end updates our local state from that response. In order to run integration tests, I would like to confirm that the value we pass into the endpoint is returned from the mock (or at least certain values).
Is there a configuration we can set (or a change to Swagger we can make) to ensure our desired fields are returned as the req data rather than faker fields?
The text was updated successfully, but these errors were encountered:
I am integrating with an API that relies on the response of a POST request (updating an item) that returns the updated model and our front end updates our local state from that response. In order to run integration tests, I would like to confirm that the value we pass into the endpoint is returned from the mock (or at least certain values).
Is there a configuration we can set (or a change to Swagger we can make) to ensure our desired fields are returned as the req data rather than faker fields?
The text was updated successfully, but these errors were encountered: