swipe
swipe7mo ago

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);
No description
1 Reply
Gaurav Chadha
Gaurav Chadha7mo ago
Hi @swipe, thanks for pointing this out, we appreciate it. The node is updated now.