File tree Expand file tree Collapse file tree 2 files changed +27
-27
lines changed Expand file tree Collapse file tree 2 files changed +27
-27
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ func ListMyOrgs(ctx *context.APIContext) {
42
42
43
43
// ListUserOrgs list user's orgs
44
44
func ListUserOrgs (ctx * context.APIContext ) {
45
- // swagger:operation GET /user /{username}/orgs organization orgListUserOrgs
45
+ // swagger:operation GET /users /{username}/orgs organization orgListUserOrgs
46
46
// ---
47
47
// summary: List a user's organizations
48
48
// produces:
Original file line number Diff line number Diff line change 5411
5411
}
5412
5412
}
5413
5413
},
5414
- "/user/{username}/orgs": {
5415
- "get": {
5416
- "produces": [
5417
- "application/json"
5418
- ],
5419
- "tags": [
5420
- "organization"
5421
- ],
5422
- "summary": "List a user's organizations",
5423
- "operationId": "orgListUserOrgs",
5424
- "parameters": [
5425
- {
5426
- "type": "string",
5427
- "description": "username of user",
5428
- "name": "username",
5429
- "in": "path",
5430
- "required": true
5431
- }
5432
- ],
5433
- "responses": {
5434
- "200": {
5435
- "$ref": "#/responses/OrganizationList"
5436
- }
5437
- }
5438
- }
5439
- },
5440
5414
"/users/search": {
5441
5415
"get": {
5442
5416
"produces": [
5690
5664
}
5691
5665
}
5692
5666
},
5667
+ "/users/{username}/orgs": {
5668
+ "get": {
5669
+ "produces": [
5670
+ "application/json"
5671
+ ],
5672
+ "tags": [
5673
+ "organization"
5674
+ ],
5675
+ "summary": "List a user's organizations",
5676
+ "operationId": "orgListUserOrgs",
5677
+ "parameters": [
5678
+ {
5679
+ "type": "string",
5680
+ "description": "username of user",
5681
+ "name": "username",
5682
+ "in": "path",
5683
+ "required": true
5684
+ }
5685
+ ],
5686
+ "responses": {
5687
+ "200": {
5688
+ "$ref": "#/responses/OrganizationList"
5689
+ }
5690
+ }
5691
+ }
5692
+ },
5693
5693
"/users/{username}/repos": {
5694
5694
"get": {
5695
5695
"produces": [
You can’t perform that action at this time.
0 commit comments