Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-22 01:44:24 +01:00

Merge pull request 'Typo fix & clarify RegistrationToken' (#2191) from voltagex/forgejo:forgejo into forgejo

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/2191
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
Earl Warren 2024-01-22 08:35:52 +00:00
commit 3b7d721261
2 changed files with 2 additions and 2 deletions

View file

@ -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"`

View file

@ -24535,7 +24535,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"