Skip to content

Commit 4447c81

Browse files
committed
update groupsByOrganization endpoint
1 parent 181a120 commit 4447c81

File tree

4 files changed

+33
-29
lines changed

4 files changed

+33
-29
lines changed

coderd/apidoc/docs.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/reference/api/enterprise.md

Lines changed: 30 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

enterprise/coderd/groups.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -389,7 +389,7 @@ func (api *API) group(rw http.ResponseWriter, r *http.Request) {
389389
// @Produce json
390390
// @Tags Enterprise
391391
// @Param organization path string true "Organization ID" format(uuid)
392-
// @Success 200 {array} codersdk.Group
392+
// @Success 200 {array} codersdk.GroupWithOrganizationInfo
393393
// @Router /organizations/{organization}/groups [get]
394394
func (api *API) groupsByOrganization(rw http.ResponseWriter, r *http.Request) {
395395
org := httpmw.OrganizationParam(r)

0 commit comments

Comments
 (0)