mockserver-client-node
mockserver-client-node copied to clipboard
Wrong types for HttpRequestAndHttpResponse.httpResponse
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:
- Run MockServer
- Hit to mock server
- Get value of
retrieveRecordedRequestsAndResponsesto see that types does not match the value.
Expected behaviour
Type HttpRequestAndHttpResponse.httpResponse should be object type instead of an array.