You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2023/12/18 10:53:40 UTC

(incubator-devlake) branch release-v0.20 updated: fix: bp trigger swag (#6657) (#6658)

This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch release-v0.20
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/release-v0.20 by this push:
     new 5416f8825 fix: bp trigger swag (#6657) (#6658)
5416f8825 is described below

commit 5416f8825f56a6c89f93e33e2ba08e593c20d076
Author: github-actions[bot] <41...@users.noreply.github.com>
AuthorDate: Mon Dec 18 18:53:35 2023 +0800

    fix: bp trigger swag (#6657) (#6658)
    
    * fix: bp trigger swag
    
    * fix: bp trigger swag
    
    Co-authored-by: abeizn <zi...@merico.dev>
---
 backend/server/api/blueprints/blueprints.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/backend/server/api/blueprints/blueprints.go b/backend/server/api/blueprints/blueprints.go
index b4f7410de..7a8cadcef 100644
--- a/backend/server/api/blueprints/blueprints.go
+++ b/backend/server/api/blueprints/blueprints.go
@@ -168,8 +168,7 @@ func Patch(c *gin.Context) {
 // @Tags framework/blueprints
 // @Accept application/json
 // @Param blueprintId path string true "blueprintId"
-// @Param skipCollectors body bool false "skipCollectors"
-// @Param fullSync body bool false "fullSync"
+// @Param skipCollectors body models.SyncPolicy false "json"
 // @Success 200 {object} models.Pipeline
 // @Failure 400 {object} shared.ApiBody "Bad Request"
 // @Failure 500 {object} shared.ApiBody "Internal Error"