diff options
author | Patrick Schratz <patrick.schratz@gmail.com> | 2021-07-21 18:49:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 17:49:10 +0100 |
commit | ef395286bfb310ea42c2a13076e01dcbf557414d (patch) | |
tree | ab2487d01f650363091fee8c0d8e48e3354465f9 /routers/api/v1/user/repo.go | |
parent | 28f6f7bb03884dd3d2c4ff17cdc6bf8916eb441d (diff) | |
download | gitea-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.go | 2 |
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: |