From a19feff2432d3025924b63c59a2c911f67aa5580 Mon Sep 17 00:00:00 2001
From: Mike Urnun <36717703+mike-urnun-msft@users.noreply.github.com>
Date: Wed, 2 Oct 2019 00:18:19 -0700
Subject: [PATCH] moving from code comment to xml compliant comment
---
...Filter response content based on product name.policy.xml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/examples/Filter response content based on product name.policy.xml b/examples/Filter response content based on product name.policy.xml
index 8ba68fd..ca4d883 100644
--- a/examples/Filter response content based on product name.policy.xml
+++ b/examples/Filter response content based on product name.policy.xml
@@ -16,16 +16,16 @@
-
+
+
@{
- //NOTE that we are not using preserveContent=true when deserializing response body stream into a JSON object since we don't intend to access it again. See details on https://docs.microsoft.com/en-us/azure/api-management/api-management-transformation-policies#SetBody
var response = context.Response.Body.As();
foreach (var key in new [] {"minutely", "hourly", "daily", "flags"}) {
response.Property (key).Remove ();
}
return response.ToString();
}
-
+