apigeelint
Version:
Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.
9 lines • 383 B
text/xml
<Javascript continueOnError="false" enabled="true" timeLimit="200" name="JS-Parse-Events">
<DisplayName>JS-Parse-Events</DisplayName>
<Properties/>
<Source>
var event = JSON.parse(context.getVariable("response.event.current.content"));
event.modelVersion = null;
context.setVariable("response.event.current.content",JSON.stringify(event));
</Source>
</Javascript>