[GITEA] API comment update routers/api/v1/shared/runners.go

Refs: https://codeberg.org/forgejo/forgejo/pulls/2191

(cherry picked from commit 1e89dd95b9d24377bf50a952c323d9e8b6895bf3)
(cherry picked from commit fecc14a16c0f85f84127196609b7eafcb6605e80)
(cherry picked from commit b4509aa4c79573be973feae96ae808c195637634)
(cherry picked from commit 6fdf3b2ad1a3411e6f1f64cb977ee2f158968d1c)
This commit is contained in:
voltagex 2024-01-21 07:06:48 +00:00 committed by Earl Warren
parent 938a450c9e
commit 578ab6a3c9
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG key ID: 0579CB2928A78A00
2 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ import (
"code.gitea.io/gitea/modules/util"
)
// RegistrationToken is response related to registeration token
// RegistrationToken is a string used to register a runner with a server
// swagger:response RegistrationToken
type RegistrationToken struct {
Token string `json:"token"`

View file

@ -24376,7 +24376,7 @@
}
},
"RegistrationToken": {
"description": "RegistrationToken is response related to registeration token",
"description": "RegistrationToken is a string used to register a runner with a server",
"headers": {
"token": {
"type": "string"