gocryptotrader icon indicating copy to clipboard operation
gocryptotrader copied to clipboard

HTTP mock testing: Make JSON array response stored size configurable

Open thrasher- opened this issue 1 year ago • 0 comments

New Issue

Context

When we record HTTP responses to be used for mock testing, we dump the entire result when in many cases we only need a subset of the data. Making this configurable for object array data will help reduce large line changes in our stored JSON data. A user could set a variable like "MaxRecordingArrayLimit (or whatever) = 5" when running a specific endpoint to record and the mock tester will conform to it accordingly

thrasher- avatar Dec 02 '24 23:12 thrasher-