Ahmed-Soudi / swagger2axios

a axios api code generation tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

swagger2axios

install dependencies

npm install

configuration

edit bootstrap.yml file

put your swagger api address in 'url' field (required)
'name' field is the name of the folder where your code will be generated (required)
add 'prepend' field if you want to replace your host to a specific prepend (not required)

run

node index.js  

done

find your file in target folder

have fun!

LICENSE 996.icu

About

a axios api code generation tool

License:MIT License


Languages

Language:JavaScript 96.6%Language:TypeScript 3.4%