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": [
{