diff --git a/routers/api/v1/shared/runners.go b/routers/api/v1/shared/runners.go
index a342bd4b63..fe1584d2e7 100644
--- a/routers/api/v1/shared/runners.go
+++ b/routers/api/v1/shared/runners.go
@@ -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"`
diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl
index 8a575270db..088aa40218 100644
--- a/templates/swagger/v1_json.tmpl
+++ b/templates/swagger/v1_json.tmpl
@@ -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"