summaryrefslogtreecommitdiffstats
path: root/routers/api/v1/user/repo.go
diff options
context:
space:
mode:
authorPatrick Schratz <patrick.schratz@gmail.com>2021-07-21 18:49:10 +0200
committerGitHub <noreply@github.com>2021-07-21 17:49:10 +0100
commitef395286bfb310ea42c2a13076e01dcbf557414d (patch)
treeab2487d01f650363091fee8c0d8e48e3354465f9 /routers/api/v1/user/repo.go
parent28f6f7bb03884dd3d2c4ff17cdc6bf8916eb441d (diff)
downloadgitea-ef395286bfb310ea42c2a13076e01dcbf557414d.tar.gz
gitea-ef395286bfb310ea42c2a13076e01dcbf557414d.zip
update `user/repos` api description (#16503)
Currently states > List the repos that the authenticated user owns or has access to but the endpoint does not list all repos a user has access to, only the ones a user owns (Also verified and discussed in Discord) Fixes #16502
Diffstat (limited to 'routers/api/v1/user/repo.go')
-rw-r--r--routers/api/v1/user/repo.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/user/repo.go b/routers/api/v1/user/repo.go
index b17841e67a..0331abef10 100644
--- a/routers/api/v1/user/repo.go
+++ b/routers/api/v1/user/repo.go
@@ -85,7 +85,7 @@ func ListUserRepos(ctx *context.APIContext) {
func ListMyRepos(ctx *context.APIContext) {
// swagger:operation GET /user/repos user userCurrentListRepos
// ---
- // summary: List the repos that the authenticated user owns or has access to
+ // summary: List the repos that the authenticated user owns
// produces:
// - application/json
// parameters: