This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 402335532 chore: fixing swag ci (#6359)
402335532 is described below
commit 402335532d203a065e1d32e825ed2d936f84812d
Author: Klesh Wong <[email protected]>
AuthorDate: Mon Oct 30 17:31:17 2023 +0800
chore: fixing swag ci (#6359)
---
backend/scripts/swag.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/backend/scripts/swag.sh b/backend/scripts/swag.sh
index a33b5af4e..09283c838 100755
--- a/backend/scripts/swag.sh
+++ b/backend/scripts/swag.sh
@@ -36,8 +36,9 @@ if [ -n "$DEVLAKE_PLUGINS" ]; then
fi
fi
+swag -v
ls -l
-tree
+go get
echo swag init --parseDependency --parseInternal -o $ROOT_DIR/server/api/docs
-g $GENERAL_API_INFO_PATH -d $DOC_DIRS
swag init --parseDependency --parseInternal -o $ROOT_DIR/server/api/docs -g
$GENERAL_API_INFO_PATH -d $DOC_DIRS
echo "visit the swagger document on http://localhost:8080/swagger/index.html";
\ No newline at end of file