async-yapi-interface-egg-router
v1.0.0
Published
Generate egg.js router by YApi interface
Downloads
3
Maintainers
Readme
async-yapi-interface-egg-router
Generate egg.js router by YApi interface.
install
npm i -g async-yapi-interface-egg-router
how to use
1.Create yapi.json in your project root directory.Like this:
{
"baseUrl":"http://host:port",
"token":"project token"
}
2.Use the cd command to enter the directory. 3.Run command.Like this:
yapi-egg init menu_name
menu_name is the category name in project。