This is an automated email from the ASF dual-hosted git repository.
hez 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 34ea88eb5 fix: fixed incorrect model reference in gitee api doc (#3520)
34ea88eb5 is described below
commit 34ea88eb5f055fe2c005c066f7af8db9c2af9d01
Author: Keon Amini <[email protected]>
AuthorDate: Thu Oct 20 18:18:19 2022 -0500
fix: fixed incorrect model reference in gitee api doc (#3520)
---
plugins/gitee/api/connection.go | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugins/gitee/api/connection.go b/plugins/gitee/api/connection.go
index 3677b2b84..d50ffb007 100644
--- a/plugins/gitee/api/connection.go
+++ b/plugins/gitee/api/connection.go
@@ -82,7 +82,7 @@ func TestConnection(input *core.ApiResourceInput)
(*core.ApiResourceOutput, erro
// @Summary create gitee connection
// @Description Create gitee connection
// @Tags plugins/gitee
-// @Param body body models.GithubConnection true "json body"
+// @Param body body models.GiteeConnection true "json body"
// @Success 200 {object} models.GiteeConnection
// @Failure 400 {string} errcode.Error "Bad Request"
// @Failure 500 {string} errcode.Error "Internel Error"
@@ -99,7 +99,7 @@ func PostConnections(input *core.ApiResourceInput)
(*core.ApiResourceOutput, err
// @Summary patch gitee connection
// @Description Patch gitee connection
// @Tags plugins/gitee
-// @Param body body models.GithubConnection true "json body"
+// @Param body body models.GiteeConnection true "json body"
// @Success 200 {object} models.GiteeConnection
// @Failure 400 {string} errcode.Error "Bad Request"
// @Failure 500 {string} errcode.Error "Internel Error"