@flowio/api-mock-generator
v6.17.115
Published
A mock data generator based on our API specifications for JavaScript
Readme
@flowio/api-mock-generator
A mock data generator based on our API specifications for JavaScript
Install
npm install -D @flowio/api-mock-generatorUsage
import generator from '@flowio/api-mock-generator';
generator.model('experience');
generator.enum('delivered_duty');
generator.union('authorization_form');Check the apibuilder-mock-generator documentation for more details on mock generators.
Updating specifications
You must explicitly download the latest apibuilder specifications to update this package, which can be achieved by running the following command:
npm run download