mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-05 07:08:41 +00:00
Correct wording (#1982)
This commit is contained in:
parent
2432abd379
commit
a4c791c6e5
3 changed files with 3 additions and 3 deletions
|
@ -3121,7 +3121,7 @@ const docTemplate = `{
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"description": "query not activated repos from forge too",
|
"description": "query all repos, including inactive ones",
|
||||||
"name": "all",
|
"name": "all",
|
||||||
"in": "query"
|
"in": "query"
|
||||||
}
|
}
|
||||||
|
|
|
@ -82,7 +82,7 @@ func GetFeed(c *gin.Context) {
|
||||||
// @Success 200 {array} Repo
|
// @Success 200 {array} Repo
|
||||||
// @Tags User
|
// @Tags User
|
||||||
// @Param Authorization header string true "Insert your personal access token" default(Bearer <personal access token>)
|
// @Param Authorization header string true "Insert your personal access token" default(Bearer <personal access token>)
|
||||||
// @Param all query bool false "query not activated repos from forge too"
|
// @Param all query bool false "query all repos, including inactive ones"
|
||||||
func GetRepos(c *gin.Context) {
|
func GetRepos(c *gin.Context) {
|
||||||
_store := store.FromContext(c)
|
_store := store.FromContext(c)
|
||||||
_forge := server.Config.Services.Forge
|
_forge := server.Config.Services.Forge
|
||||||
|
|
|
@ -428,7 +428,7 @@
|
||||||
"oauth_error": "Error while authenticating against OAuth provider",
|
"oauth_error": "Error while authenticating against OAuth provider",
|
||||||
"internal_error": "Some internal error occurred",
|
"internal_error": "Some internal error occurred",
|
||||||
"access_denied": "You are not allowed to login",
|
"access_denied": "You are not allowed to login",
|
||||||
"token": "Your Personal Token",
|
"token": "Personal Access Token",
|
||||||
"shell_setup": "Shell setup",
|
"shell_setup": "Shell setup",
|
||||||
"api_usage": "Example API Usage",
|
"api_usage": "Example API Usage",
|
||||||
"cli_usage": "Example CLI Usage",
|
"cli_usage": "Example CLI Usage",
|
||||||
|
|
Loading…
Reference in a new issue