Skip to content

Commit bf5ae79

Browse files
authored
Fix API endpoint for registration-token (#31722)
Partially fix #31707. Related to #30656
1 parent 7b38863 commit bf5ae79

File tree

2 files changed

+34
-34
lines changed

2 files changed

+34
-34
lines changed

routers/api/v1/repo/action.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ func (Action) ListVariables(ctx *context.APIContext) {
486486

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

templates/swagger/v1_json.tmpl

Lines changed: 33 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)