BuildShipBBuildShip
Powered by
solS
BuildShip•2y ago
sol

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);
const output = response.choices[0].message.content;
return JSON.parse(output);
Screenshot_2024-05-21_at_5.50.43_AM.png
BuildShip banner
BuildShipJoin
Join founders, builders, devs using Low-code / No-code to create backend, APIs, scheduled Jobs, automation, AI workflows
7,971Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

swipe - Buildship feature question: The "Re-Tes...
solSsol / 💬・general
16mo ago
swipe - With BuildShip, I often run into the si...
solSsol / 💬・general
2y ago
ThorDevelopers(FlutterflowDevs) - @BuildShip G...
ThorDevelopers(FlutterflowDevs)TThorDevelopers(FlutterflowDevs) / 💬・general
17mo ago
dankmango - Hi All, I'm trying to get the json ...
dankmangoDdankmango / 💬・general
2y ago