2. Enterprise Integration Patterns

beautifier

Version

Beautifies request and response bodies. Supported are the Formats: JSON, JSON5, XML, TEXT
api:
port: 2000
flow:
- static:
contentType: application/json
src: <foo><bar>baz</bar></foo>
- beautifier: {}
- return: {}
api:
   port: 2000
   flow:
     - static:
         contentType: application/json
         src: <foo><bar>baz</bar></foo>
     - beautifier: {}
     - return: {}

Syntax

beautifier: {}
beautifier: {}

Can be used in