api-from
v0.0.13
Published
Code generator for generating api modules from swagger.json
Downloads
7
Maintainers
Readme
Usage
Install
npm i -g api-from
Download swagger.json
Go to swagger page, click on the link to json. Save json into file on your computer.
Start interpretator
Use command:
api-from {path to swagger.json} '{url} {method}' {output file name} {api-module name}
Ex.
api-from ./swagger.json "matchings get" ./fetchMatchings.ts fetchMatchings