Skip to content

Commit 7b37f77

Browse files
GiteaBotwolfogre
andauthored
Fix API endpoint for registration-token (go-gitea#31722) (go-gitea#31728)
Backport go-gitea#31722 by @wolfogre Partially fix go-gitea#31707. Related to go-gitea#30656. Co-authored-by: Jason Song <[email protected]>
1 parent d3f0867 commit 7b37f77

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

routers/api/v1/repo/action.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ func (Action) ListVariables(ctx *context.APIContext) {
485485

486486
// GetRegistrationToken returns the token to register repo runners
487487
func (Action) GetRegistrationToken(ctx *context.APIContext) {
488-
// swagger:operation GET /repos/{owner}/{repo}/runners/registration-token repository repoGetRunnerRegistrationToken
488+
// swagger:operation GET /repos/{owner}/{repo}/actions/runners/registration-token repository repoGetRunnerRegistrationToken
489489
// ---
490490
// summary: Get a repository's actions runner registration token
491491
// produces:

templates/swagger/v1_json.tmpl

+33-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)