gocryptotrader
gocryptotrader copied to clipboard
HTTP mock testing: Make JSON array response stored size configurable
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