4 ms·
This can be used to generate data given an openAPI spec? Bit unclear on whether that's unbundled from test generation. Say I just want to generate data that con
by xwowsersx 3y ago
This can be used to generate data given an openAPI spec? Bit unclear on whether that's unbundled from test generation. Say I just want to generate data that conforms to a spec as one-off. Can this be done?
- yevyevyev 3y agoThat’s a great question. The TestGen feature generates JavaScript that uses faker-js functions to generate the test data, and axios to make http requests. You can copy and paste the JS output of TestGen and run it anywhere.
- edrenova 3y agojust to jump in here - you can do this with Neosync, an OSS synthetic data generator and orchestrator for any schema and includes relational integrity, anonymization, + more (I'm one of the co-founders) If you're interested (github.com/nucleuscloud/neosync)
- xwowsersx 3y agoThanks! neosync allows you to do this based on an OpenAPI spec? I didn't readily see that in the README. Perhaps I missed it.
- edrenova 3y agoRight now its just based on a db schema (you connect your DB and we automatically read the schema) and we're adding support for a csv file schema in the next week or so. Our input system is pretty flexible, so it's not too hard to build support for an openAI spec. Happy to chat more if you'd like, my email is evis@neosync.dev.