Categorygithub.com/5-say/goctl-ap
modulepackage
1.5.0
Repository: https://github.com/5-say/goctl-ap.git
Documentation: pkg.go.dev

# README

goctl-ap

goctl api plugin

开发环境

docker dev create -o --name goctl-ap [email protected]:5-say/goctl-ap.git

使用方法

安装插件

go install github.com/5-say/goctl-ap@latest

生成 服务 的 初始化文件

goctl-ap service --app app --define define

生成前端 TypeScript 接口文件

goctl api plugin -p goctl-ap="ts" --api example/define/api/platform/client.api  --dir example/ts/api

生成 swagger json 文件

goctl api plugin -p goctl-ap="swagger -f swagger.json" --api example/define/api/platform/api.api --dir example/swagger

# Packages

No description provided by the author
No description provided by the author