From 0b8964bf59a5513bbc3ddffefaf6fc4049f2efc5 Mon Sep 17 00:00:00 2001 From: pat-s Date: Wed, 21 Jul 2021 08:34:04 +0200 Subject: [PATCH] update `user/repos` api description --- routers/api/v1/user/repo.go | 2 +- templates/swagger/v1_json.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/routers/api/v1/user/repo.go b/routers/api/v1/user/repo.go index b17841e67a71c..0331abef10046 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 e3ac4a4c8a68c..53a9be429bba8 100644 --- a/templates/swagger/v1_json.tmpl +++ b/templates/swagger/v1_json.tmpl @@ -10662,7 +10662,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": [ {