diff --git a/routers/api/v1/user/repo.go b/routers/api/v1/user/repo.go index b17841e67a71..0331abef1004 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: diff --git a/templates/swagger/v1_json.tmpl b/templates/swagger/v1_json.tmpl index 297720cec9e6..eeb002cb9a1a 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -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": [ {