mockserver-client-node icon indicating copy to clipboard operation
mockserver-client-node copied to clipboard

Wrong types for HttpRequestAndHttpResponse.httpResponse

Open bmitmanski opened this issue 2 years ago • 0 comments

Describe the issue Newest mockserver-client types does not match returned value of function retrieveRecordedRequestsAndResponses.

What you are trying to do When I retrieve recorded requests with retrieveRecordedRequestsAndResponses the types indicates that HttpRequestAndHttpResponse should have httpResponse as an array, but an object is returned.

MockServer version 5.15.0

To Reproduce Steps to reproduce the issue:

  1. Run MockServer
  2. Hit to mock server
  3. Get value of retrieveRecordedRequestsAndResponses to see that types does not match the value.

Expected behaviour Type HttpRequestAndHttpResponse.httpResponse should be object type instead of an array.

bmitmanski avatar Jan 16 '23 14:01 bmitmanski