Releases: tmizuma/openapi-test-data-generator
Release v3.1.1
Release v3.1.0
⚡️ Features and Enhancements
- Add support for JSON test data format (#3)
# Example usage:
$ otdgen generate -i example-openapi.yaml -o output/ -ext .json -ai true -api-key <Your API KEY>
Please refer to our README
NPM Package: https://www.npmjs.com/package/otdgen
Release v3.0.0 OpenAI integration🎉 🎉
⚡️ Features and Enhancements
We're thrilled to announce our latest release, which brings powerful integration with OpenAI to our platform! 🎉
This new feature will revolutionize the way you develop front-end applications by providing test data that closely mimics actual data, without the need to wait for back-end implementation to be completed.
Using our OpenAPI schema file in YAML format and an API key for OpenAI, you can easily generate appropriate test data from property names with just a few simple commands. After creating an output folder for your test data, use the following command to generate your data:
$ otdgen generate -i example-openapi.yaml -o output/ -ai true -api-key <Your API KEY>
The output data will include generated fields like address and hobby, created by OpenAI to closely resemble the actual data. Here's an example:
export const profile = {
family_name: 'Smith', // generated by OpenAI!!
age: 38, // random value between minimum and maximum
address: '123 Main Street, Anytown, USA', // generated by OpenAI!!
birthdate: '2002-07-23', // random value
sex: 'MALE', // random value from enum definition
hobby: ['Playing the guitar', 'Painting', 'Gardening'] // generated by OpenAI!!
};
Please refer to our README
NPM Package: https://www.npmjs.com/package/otdgen
We hope this new feature will be a game-changer for your development process, and we can't wait to see what you create with our platform's OpenAI integration!