UNPKG

apigeelint

Version:

Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.

21 lines (20 loc) 784 B
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <AssignMessage async="false" continueOnError="false" enabled="true" name="AM-Modify-Request-Remove-ApiKey"> <!-- here you can use this policy to remove, add, set request parameters before sending the request to backend. Here we are just removing x-api-key as it is not needed by backend. --> <DisplayName>AM-Modify-Request-Remove-ApiKey</DisplayName> <Remove> <Headers> <Header name="x-api-key"/> </Headers> </Remove> <AssignVariable> <Name>name</Name> <Value/> <Ref/> </AssignVariable> <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> <AssignTo createNew="false" transport="http" type="request"/> </AssignMessage>