@flowio/api-internal-mock-generator
v5.31.135
Published
A mock data generator based on our internal API specifications for JavaScript
Downloads
12,470
Readme
@flowio/api-internal-mock-generator
A mock data generator based on our internal API specifications for JavaScript
Install
npm install -D @flowio/api-internal-mock-generatorUsage
import { generator } from '@flowio/api-internal-mock-generator';
generator.model('account');
generator.enum('billing_allocation_key');
generator.union('carrier_credentials');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