@jawilx/gen-api
v2.2.2
Published
A modern cli tool that auto generate typescript api code from swagger 2 and openapi 3
Downloads
219
Maintainers
Readme
Usage
- update package.json
{
// ...
"scripts": {
// ...
"genapi:init": "gen-api init",
"genapi": "gen-api now"
}
}
- init api.config.ts
set api.config.ts apiList swaggerUrl (How to get swaggerUrl)
generate