mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: rename group GET request (#9097)
* fix: group GET req naming * make: gen
This commit is contained in:
@@ -322,12 +322,12 @@ func (api *API) groupByOrganization(rw http.ResponseWriter, r *http.Request) {
|
||||
api.group(rw, r)
|
||||
}
|
||||
|
||||
// @Summary Get group by name
|
||||
// @ID get-group-by-name
|
||||
// @Summary Get group by ID
|
||||
// @ID get-group-by-id
|
||||
// @Security CoderSessionToken
|
||||
// @Produce json
|
||||
// @Tags Enterprise
|
||||
// @Param group path string true "Group name"
|
||||
// @Param group path string true "Group id"
|
||||
// @Success 200 {object} codersdk.Group
|
||||
// @Router /groups/{group} [get]
|
||||
func (api *API) group(rw http.ResponseWriter, r *http.Request) {
|
||||
|
||||
Reference in New Issue
Block a user