mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-12-30 10:11:23 +02:00
parent
fa747aa9ba
commit
4ad3968ff1
@ -1025,8 +1025,8 @@ const docTemplate = `{
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
"204": {
|
||||
"description": "No Content"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -2844,8 +2844,8 @@ const docTemplate = `{
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
"204": {
|
||||
"description": "No Content"
|
||||
}
|
||||
}
|
||||
},
|
||||
@ -3043,8 +3043,8 @@ const docTemplate = `{
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
"204": {
|
||||
"description": "No Content"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -152,7 +152,7 @@ func PatchGlobalSecret(c *gin.Context) {
|
||||
// @Summary Delete a global secret by name
|
||||
// @Router /secrets/{secret} [delete]
|
||||
// @Produce plain
|
||||
// @Success 200
|
||||
// @Success 204
|
||||
// @Tags Secrets
|
||||
// @Param Authorization header string true "Insert your personal access token" default(Bearer <personal access token>)
|
||||
// @Param secret path string true "the secret's name"
|
||||
|
@ -182,7 +182,7 @@ func PatchOrgSecret(c *gin.Context) {
|
||||
// @Summary Delete the named secret from an organization
|
||||
// @Router /orgs/{org_id}/secrets/{secret} [delete]
|
||||
// @Produce plain
|
||||
// @Success 200
|
||||
// @Success 204
|
||||
// @Tags Organization secrets
|
||||
// @Param Authorization header string true "Insert your personal access token" default(Bearer <personal access token>)
|
||||
// @Param org_id path string true "the org's id"
|
||||
|
@ -167,7 +167,7 @@ func GetSecretList(c *gin.Context) {
|
||||
// @Summary Delete a named secret
|
||||
// @Router /repos/{repo_id}/secrets/{secretName} [delete]
|
||||
// @Produce plain
|
||||
// @Success 200
|
||||
// @Success 204
|
||||
// @Tags Repository secrets
|
||||
// @Param Authorization header string true "Insert your personal access token" default(Bearer <personal access token>)
|
||||
// @Param repo_id path int true "the repository id"
|
||||
|
Loading…
Reference in New Issue
Block a user