Skip to content

Commit

Permalink
Fix API endpoint for registration-token (go-gitea#31722) (go-gitea#31728
Browse files Browse the repository at this point in the history
)

Backport go-gitea#31722 by @wolfogre

Partially fix go-gitea#31707. Related to go-gitea#30656.

Co-authored-by: Jason Song <[email protected]>
  • Loading branch information
GiteaBot and wolfogre authored Jul 29, 2024
1 parent d3f0867 commit 7b37f77
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 @@ -485,7 +485,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 7b37f77

Please sign in to comment.