Contact Us 1-800-596-4880

Configure the Service URI

When using a load balancer in front of a RAML or OAS API implementation, to ensure that the URL specified in the proxy matches the one in your API, enable the Keep RAML/OAS base URI flag.

To edit the code, set the keepApiBaseUri to true:

<apikit:config  name="api-config"
                api="api.raml"
                outboundHeadersMapName="outboundHeaders"
                httpStatusVarName="httpStatus"
                keepApiBaseUri="true" />