1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00

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
This commit is contained in:
Patrick Schratz 2021-07-21 18:49:10 +02:00 committed by GitHub
parent 28f6f7bb03
commit ef395286bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -11052,7 +11052,7 @@
"tags": [
"user"
],
"summary": "List the repos that the authenticated user owns or has access to",
"summary": "List the repos that the authenticated user owns",
"operationId": "userCurrentListRepos",
"parameters": [
{