UNPKG

apigeelint

Version:

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

15 lines (14 loc) 447 B
<RaiseFault name='RF-Example-TextPlain-Invalid'> <IgnoreUnresolvedVariables>true</IgnoreUnresolvedVariables> <FaultResponse> <AssignVariable> <Name>myFaultVariable</Name> <!-- <Value>whatever-you-like</Value> --> </AssignVariable> <Set> <Payload contentType='text/plain'>error</Payload> <StatusCode>400</StatusCode> <ReasonPhrase>Bad Request</ReasonPhrase> </Set> </FaultResponse> </RaiseFault>