mirror of
https://github.com/go-gitea/gitea.git
synced 2026-07-30 20:53:54 +02:00
fix swagger
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Generated
-6
@@ -3390,9 +3390,6 @@
|
||||
},
|
||||
"403": {
|
||||
"$ref": "#/responses/forbidden"
|
||||
},
|
||||
"500": {
|
||||
"$ref": "#/responses/internalServerError"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -19768,9 +19765,6 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"$ref": "#/responses/internalServerError"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user