Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 275 Bytes

README.md

File metadata and controls

13 lines (11 loc) · 275 Bytes

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 }).then((json) => {
  log(json);  
});