mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-29 12:46:16 +01:00
[GITEA] API comment update routers/api/v1/shared/runners.go
Refs: https://codeberg.org/forgejo/forgejo/pulls/2191 (cherry picked from commit1e89dd95b9
) (cherry picked from commitfecc14a16c
)
This commit is contained in:
parent
22cff41585
commit
b4509aa4c7
2 changed files with 2 additions and 2 deletions
|
@ -12,7 +12,7 @@ import (
|
||||||
"code.gitea.io/gitea/modules/util"
|
"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
|
// swagger:response RegistrationToken
|
||||||
type RegistrationToken struct {
|
type RegistrationToken struct {
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
|
|
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
|
@ -24372,7 +24372,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"RegistrationToken": {
|
"RegistrationToken": {
|
||||||
"description": "RegistrationToken is response related to registeration token",
|
"description": "RegistrationToken is a string used to register a runner with a server",
|
||||||
"headers": {
|
"headers": {
|
||||||
"token": {
|
"token": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
|
Loading…
Reference in a new issue