1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Fix API endpoint for registration-token (#31722)

Partially fix #31707. Related to #30656
This commit is contained in:
Jason Song
2024-07-30 00:45:24 +08:00
committed by GitHub
parent 7b388630ec
commit bf5ae79c51
2 changed files with 34 additions and 34 deletions

View File

@@ -486,7 +486,7 @@ func (Action) ListVariables(ctx *context.APIContext) {
// GetRegistrationToken returns the token to register repo runners
func (Action) GetRegistrationToken(ctx *context.APIContext) {
// swagger:operation GET /repos/{owner}/{repo}/runners/registration-token repository repoGetRunnerRegistrationToken
// swagger:operation GET /repos/{owner}/{repo}/actions/runners/registration-token repository repoGetRunnerRegistrationToken
// ---
// summary: Get a repository's actions runner registration token
// produces: