Skip to content

Commit

Permalink
Fix API endpoint for registration-token (#31722)
Browse files Browse the repository at this point in the history
Partially fix #31707. Related to #30656
  • Loading branch information
wolfogre authored Jul 29, 2024
1 parent 7b38863 commit bf5ae79
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 34 deletions.
2 changes: 1 addition & 1 deletion routers/api/v1/repo/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
66 changes: 33 additions & 33 deletions templates/swagger/v1_json.tmpl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bf5ae79

Please sign in to comment.