profoundjs-swagger-stats 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -237,6 +237,11 @@ class SwsProcessor {
237
237
  //swsUtil.swsStringRecursive(rrr.http.request.body, req.body);
238
238
  }
239
239
 
240
+ // PJS-1116: Add response body to record if it's there
241
+ if (res.hasOwnProperty("body")) {
242
+ rrr.http.response.body = res.body;
243
+ }
244
+
240
245
  return rrr;
241
246
  };
242
247
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "profoundjs-swagger-stats",
3
- "version": "2.0.0",
3
+ "version": "2.0.1",
4
4
  "description": "API Telemetry and APM. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices, based on express routes and Swagger (Open API) specification",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {