From ba2c02b75de9c47379048576f1adead4edd0b2d6 Mon Sep 17 00:00:00 2001 From: Shashvat Kedia Date: Thu, 27 Dec 2018 00:43:49 +0530 Subject: Fix route in swagger (#5598) --- routers/api/v1/org/org.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'routers') 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: -- cgit v1.2.3