fix swagger

This commit is contained in:
techknowlogick
2025-07-15 17:45:48 -04:00
parent 21422e9af6
commit 5f8c350a31
3 changed files with 0 additions and 10 deletions
-2
View File
@@ -80,8 +80,6 @@ func RegenerateMirrorSSHKey(ctx *context.APIContext) {
// type: string
// "403":
// "$ref": "#/responses/forbidden"
// "500":
// "$ref": "#/responses/internalServerError"
keypair, err := mirror_service.RegenerateSSHKeypairForOrg(ctx, ctx.Org.Organization.ID)
if err != nil {
-2
View File
@@ -64,8 +64,6 @@ func RegenerateMirrorSSHKey(ctx *context.APIContext) {
// type: string
// fingerprint:
// type: string
// "500":
// "$ref": "#/responses/internalServerError"
keypair, err := mirror_service.RegenerateSSHKeypairForUser(ctx, ctx.Doer.ID)
if err != nil {
-6
View File
@@ -3390,9 +3390,6 @@
},
"403": {
"$ref": "#/responses/forbidden"
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
}
@@ -19768,9 +19765,6 @@
}
}
}
},
"500": {
"$ref": "#/responses/internalServerError"
}
}
}