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'm currently working on an implementation of the Smocker mock server. Thank you for the lovely project that is built so far.
At this time with POST /reset, it seems the only available method to clear an individual mock with an API call is to:
Lock all other mocks besides the one to be cleared
Call POST /reset to clear the singular unlocked mock
Potential feature: Pass in a list of mock IDs as the body for a call to POST /reset to specify which mocks should be cleared. This clears the mock and history of calls associated with specified mock(s).
My apologies if this potential feature idea has already been addressed elsewhere. If that's the case, please redirect me to where this work is already being done. I intend on attempting to contribute code for this feature, although I'm new to writing in Go.
The text was updated successfully, but these errors were encountered:
I'm currently working on an implementation of the Smocker mock server. Thank you for the lovely project that is built so far.
At this time with
POST /reset
, it seems the only available method to clear an individual mock with an API call is to:POST /reset
to clear the singular unlocked mockPotential feature: Pass in a list of mock IDs as the body for a call to
POST /reset
to specify which mocks should be cleared. This clears the mock and history of calls associated with specified mock(s).This could perhaps be implemented similar to how we can pass in a list of mock IDs as a body with
POST /mocks/lock
andPOST /mocks/unlock
.My apologies if this potential feature idea has already been addressed elsewhere. If that's the case, please redirect me to where this work is already being done. I intend on attempting to contribute code for this feature, although I'm new to writing in Go.
The text was updated successfully, but these errors were encountered: