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