feat : user api 文档

This commit is contained in:
wangzhengkun
2022-06-06 12:19:50 +08:00
parent 4644b84e07
commit 07ca05a495
6 changed files with 1032 additions and 5 deletions

View File

@@ -5,6 +5,8 @@ import (
"runtime"
_ "github.com/KubeOperator/kubepi/cmd/server/docs"
_ "github.com/KubeOperator/kubepi/internal/model/v1/docs"
_ "github.com/KubeOperator/kubepi/internal/model/v1/user"
"github.com/KubeOperator/kubepi/internal/route"
"github.com/KubeOperator/kubepi/internal/server"
"github.com/KubeOperator/kubepi/pkg/network/ip"
@@ -13,7 +15,7 @@ import (
//go:generate swag init
//swag init -g "cmd/server/main.go" -o "cmd/server/docs"
//swag init -g "cmd/server/main.go" -o "cmd/server/docs" --parseDependency --parseInternal --parseDepth 2
var (
configPath string