Response Transformer and JSON array #7287
Replies: 2 comments
-
So this looks to me like it's putting the chunk number into the response it's generating in the Transform handler... I'll take a further look at this and hopefully make a PR |
Beta Was this translation helpful? Give feedback.
-
@waltari2001 this is a known limitation of the plugin: it acts by changing keys in the top-level object returned; given that the top-level object is an array, adding string-key entries to it ends up turning it into an object. Given that we don't have a We're not working on this feature right now but we definitely accept PRs if you'd like to try your hand at it! Thank you for the feedback!! |
Beta Was this translation helpful? Give feedback.
-
Summary
Hi,
I am trying to add keys to the JSON body returned to me by the upstream_url. (sample below)
I have applied
Which results in
Not sure what the 1 represents (array index?) but I would like to rename it to something else:
Any way that could be done?
Thanks !
Additional Details & Logs
Beta Was this translation helpful? Give feedback.
All reactions