Skip to content

Commit ef39528

Browse files
authored
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
1 parent 28f6f7b commit ef39528

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

routers/api/v1/user/repo.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ func ListUserRepos(ctx *context.APIContext) {
8585
func ListMyRepos(ctx *context.APIContext) {
8686
// swagger:operation GET /user/repos user userCurrentListRepos
8787
// ---
88-
// summary: List the repos that the authenticated user owns or has access to
88+
// summary: List the repos that the authenticated user owns
8989
// produces:
9090
// - application/json
9191
// parameters:

templates/swagger/v1_json.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11052,7 +11052,7 @@
1105211052
"tags": [
1105311053
"user"
1105411054
],
11055-
"summary": "List the repos that the authenticated user owns or has access to",
11055+
"summary": "List the repos that the authenticated user owns",
1105611056
"operationId": "userCurrentListRepos",
1105711057
"parameters": [
1105811058
{

0 commit comments

Comments
 (0)