Skip to content

Commit

Permalink
fix: swag doc for webhook deployment (#7546)
Browse files Browse the repository at this point in the history
  • Loading branch information
klesh committed May 30, 2024
1 parent 723a4db commit 5d8f70b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/plugins/webhook/api/deployments.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 5d8f70b

Please sign in to comment.