mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-04-30 03:20:42 -05:00
fix(docs): add empty swagger file so that the package exists
This commit is contained in:
@@ -354,6 +354,8 @@ func DoTheSwag() {
|
||||
return
|
||||
}
|
||||
|
||||
runAndStreamOutput("go", "mod", "tidy")
|
||||
runAndStreamOutput("go", "mod", "download")
|
||||
checkAndInstallGoTool("swag", "github.com/swaggo/swag/cmd/swag")
|
||||
runAndStreamOutput("swag", "init", "-g", "./pkg/routes/routes.go", "--parseDependency", "-d", RootPath, "-o", RootPath+"/pkg/swagger")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user