apigeelint
Version:
Node module and tool to lint a bundle for an Apigee API Proxy or sharedflow.
32 lines • 886 B
text/xml
<ProxyEndpoint name="default">
<PreFlow name="PreFlow">
<Request/>
<Response/>
</PreFlow>
<Flows>
<Flow name="GetProducts">
<Description/>
<Request/>
<Response/>
<Condition>(proxy.pathsuffix MatchesPath "/products") and (request.verb = "GET")</Condition>
</Flow>
<Flow name="GetProductDetails">
<Description/>
<Request/>
<Response/>
<Condition>(proxy.pathsuffix MatchesPath "/products/*") and (request.verb = "GET")</Condition>
</Flow>
</Flows>
<PostFlow name="PostFlow">
<Request/>
<Response/>
</PostFlow>
<HTTPProxyConnection>
<BasePath>/products-api</BasePath>
<VirtualHost>secure</VirtualHost>
</HTTPProxyConnection>
<RouteRule name="default">
<TargetEndpoint>default</TargetEndpoint>
</RouteRule>
</ProxyEndpoint>