Fix route in swagger (#5598)

This commit is contained in:
Shashvat Kedia 2018-12-27 00:43:49 +05:30 committed by Lauris BH
parent 4586ae390f
commit ba2c02b75d
2 changed files with 27 additions and 27 deletions

View file

@ -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: