From 628b3ea059798df6b728c25cff224fcaeb34d479 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Thu, 30 May 2024 16:24:46 +0800 Subject: [PATCH] fix: swag doc for webhook deployment --- backend/plugins/webhook/api/deployments.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/plugins/webhook/api/deployments.go b/backend/plugins/webhook/api/deployments.go index 3fcc27829d3..917749861b7 100644 --- a/backend/plugins/webhook/api/deployments.go +++ b/backend/plugins/webhook/api/deployments.go @@ -76,7 +76,7 @@ type WebhookDeploymentCommitReq struct { // @Description So we suggest request before task after deployment pipeline finish. // @Description Both cicd_pipeline and cicd_task will be created // @Tags plugins/webhook -// @Param body body WebhookDeployTaskRequest true "json body" +// @Param body body WebhookDeploymentReq true "json body" // @Success 200 // @Failure 400 {string} errcode.Error "Bad Request" // @Failure 403 {string} errcode.Error "Forbidden"