Skip to content

Bluettipower/goctl-swagger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goctl-swagger

1. 编译goctl-swagger插件

go install .

2. 配置环境

将$GOPATH/bin中的goctl-swagger添加到环境变量

3. 使用姿势

  • 生成api/[main].api 到doc/swagger.json 文件

    goctl api plugin -plugin goctl-swagger="swagger -filename doc/swagger.json" -api ./api/[main].api

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 47.7%
  • Go 25.2%
  • JavaScript 25.2%
  • Shell 1.9%