This PR allows for more flexible response handling and maps output more explicitly to Flogo's reply handling.
Now response output has separate 'code' and 'data' elements. The data element can contain nested structures or have a simple top level response directly without the requirement to add another key.
This PR allows for more flexible response handling and maps output more explicitly to Flogo's reply handling.
Now response output has separate 'code' and 'data' elements. The data element can contain nested structures or have a simple top level response directly without the requirement to add another key.
This response:
becomes: