1.2.4 • Published 23 days ago

@white-matrix/request-client-generator v1.2.4

Weekly downloads
-
License
ISC
Repository
github
Last release
23 days ago

DEMO

Demo for local file

const RequestClientGenerator = require('@white-matrix/request-client-generator');

const client = new RequestClientGenerator({
  schemaPath: './schema',
  outputDir: './service'
});

client.generator();

Demo for Remote URL

const RequestClientGenerator = require('@white-matrix/request-client-generator');

const client = new RequestClientGenerator({
  remotePath: 'https://whitematrix.com',
  outputDir: './service',
  // if you have custom instance of axios, add two lines below
  customInstancePath: './one-sync-front/axios/custom-instance', // add relative path from your outputDir
  customInstanceName: 'CustomInstance'
});

client.generator();
1.2.4

23 days ago

1.2.0

2 years ago

1.1.0

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.0.0

2 years ago