swipe - Seems to be a bug in the OpenAPI JSON G...
Seems to be a bug in the OpenAPI JSON Generator node could use some love as it seems to be either be broken or not functioning as expected:
1. jsonResponse is legacy from a previous node and probably should be removed from the code
2. The node does not seem to output an object, but a JSON string instead. Perhaps this is as-designed, but it was not intuitive. I changed the final line to:
const output = response.choices[0].message.content;
return JSON.parse(output);
1 Reply
Hi @swipe, thanks for pointing this out, we appreciate it.
The node is updated now.