mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 14:56:38 +08:00
[优化] 更新 swaggo/swag 依赖版本至 v1.16.4,并更新文档生成指令
This commit is contained in:
+1
-1
@@ -107,7 +107,7 @@ docker compose up -d
|
||||
如需在本地重新生成文档:
|
||||
|
||||
```bash
|
||||
go install github.com/swaggo/swag/cmd/swag@latest
|
||||
go install github.com/swaggo/swag/cmd/swag@v1.16.4
|
||||
cd openflare_server
|
||||
swag init -g main.go -o docs
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user