4. Interceptors/Features

beautifier

Beautifies request and response bodies. Supported are the Formats: JSON, XML

Can be used in:

serviceProxy, api, stompProxy, swaggerProxy, if, registration, wsStompReassembler, interceptor, bean, internalProxy, transport and soapProxy

Sample

<api port="2000">
    <template contentType="application/xml">
        <foo><bar>baz</bar></foo>
    </template>
    <beautifier/>
    <return statusCode="200"/>
</api>