I attempted to generate a third-party js api using their swagger spec.
It threw an error complaining that request.metrics didn't exist on the first go, I wasn't aware swagger used superagent but that is what the request is created from and there is certainly no metrics property on it, it was supposed to be a function call.
I attempted to generate a third-party js api using their swagger spec.
It threw an error complaining that
request.metricsdidn't exist on the first go, I wasn't aware swagger usedsuperagentbut that is what therequestis created from and there is certainly nometricsproperty on it, it was supposed to be a function call.