apischema

0.0.29 • Public • Published

apischema

Useage

export const getCategorys = schema.get('/api/getcategorys/{page}', {
  page: { type: Number, required: true, urlOnly: true },
  type: { type: Number, required: true },
});

getCategorys({
  page: 1,
  type: 1
}, {
  headers: {
    'X-Access-Token': 'djdjxjqi111',
  },
}).then((json) => {
  log(json);  
});

Dev

$ npm i
$ npm test
$ npm run dist

Readme

Keywords

none

Package Sidebar

Install

npm i apischema

Weekly Downloads

2

Version

0.0.29

License

MIT

Unpacked Size

2.66 kB

Total Files

3

Last publish

Collaborators

  • btfrankenstein
  • wxnet