mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 14:35:40 +00:00
Update routers/api/v1/shared/runners.go
This commit is contained in:
parent
c4675549c9
commit
1e89dd95b9
|
@ -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"`
|
||||
|
|
2
templates/swagger/v1_json.tmpl
generated
2
templates/swagger/v1_json.tmpl
generated
|
@ -24535,7 +24535,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"
|
||||
|
|
Loading…
Reference in a new issue