forked from gitea/gitea
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:
parent
28f6f7bb03
commit
ef395286bf
|
@ -85,7 +85,7 @@ func ListUserRepos(ctx *context.APIContext) {
|
||||||
func ListMyRepos(ctx *context.APIContext) {
|
func ListMyRepos(ctx *context.APIContext) {
|
||||||
// swagger:operation GET /user/repos user userCurrentListRepos
|
// 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:
|
// produces:
|
||||||
// - application/json
|
// - application/json
|
||||||
// parameters:
|
// parameters:
|
||||||
|
|
|
@ -11052,7 +11052,7 @@
|
||||||
"tags": [
|
"tags": [
|
||||||
"user"
|
"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",
|
"operationId": "userCurrentListRepos",
|
||||||
"parameters": [
|
"parameters": [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue