aboutsummaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorShashvat Kedia <sk261@snu.edu.in>2018-12-27 00:43:49 +0530
committerLauris BH <lauris@nix.lv>2018-12-26 21:13:49 +0200
commitba2c02b75de9c47379048576f1adead4edd0b2d6 (patch)
treedef70c301cbedfb1aefd7a3dc4d84c7017a40c12 /routers
parent4586ae390feb18d11f6995aca420fb12e0e591ba (diff)
downloadgitea-ba2c02b75de9c47379048576f1adead4edd0b2d6.tar.gz
gitea-ba2c02b75de9c47379048576f1adead4edd0b2d6.zip
Fix route in swagger (#5598)
Diffstat (limited to 'routers')
-rw-r--r--routers/api/v1/org/org.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/api/v1/org/org.go b/routers/api/v1/org/org.go
index 6b7d38e3f4..217b38683e 100644
--- a/routers/api/v1/org/org.go
+++ b/routers/api/v1/org/org.go
@@ -42,7 +42,7 @@ func ListMyOrgs(ctx *context.APIContext) {
// ListUserOrgs list user's orgs
func ListUserOrgs(ctx *context.APIContext) {
- // swagger:operation GET /user/{username}/orgs organization orgListUserOrgs
+ // swagger:operation GET /users/{username}/orgs organization orgListUserOrgs
// ---
// summary: List a user's organizations
// produces: