adt-apjc / YAP

BSD 3-Clause "New" or "Revised" License
2 stars 0 forks source link

Issue importing displayResponseAs #89

Closed marumer closed 1 year ago

marumer commented 1 year ago

When importing an action as "displayResponseAs":text (as used in the older demos), the output is still rendered as JSON.

Checking the action in context, it was properly processed as but the UI is not processing. Checking on edit mode, the UI is exposing DisplayRequestAs and DisplayResponseAs as JSON.

image

Forcing on the UI image

image

marumer commented 1 year ago

As discussed in today scrum:

1) Change displayRequestAs to payloadType as string support text and json 2) flatten format of JSON payload moving payloadType on top of data 3) move in edit the payloadType on top of the payload for the request 4) re-enable processing of regexp for strings

minor: as you modify zoo file, change CNC2 to CNCAuth

marumer commented 1 year ago

Nuttawut to work on this task