apigeelint
Version:
Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.
15 lines (14 loc) • 436 B
text/xml
<RaiseFault name='RF-Example-TextPlain-Valid'>
<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>