Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix swagger response code #2119

Merged
merged 4 commits into from
Aug 5, 2023
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion server/api/global_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion server/api/org_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion server/api/repo_secret.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down