mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore: fix some small groups and acl typos (#18732)
- Add `format:"uri"` to `Group.AvatarURL` (matches `User.AvatarURL` field) - `<user_id>` and `<group_id>` were backwards in the `example:` tags - The `@Success` annotation for `/acl [get]` had an incorrect type
This commit is contained in:
@@ -99,7 +99,7 @@ func (api *API) templateAvailablePermissions(rw http.ResponseWriter, r *http.Req
|
||||
// @Produce json
|
||||
// @Tags Enterprise
|
||||
// @Param template path string true "Template ID" format(uuid)
|
||||
// @Success 200 {array} codersdk.TemplateUser
|
||||
// @Success 200 {object} codersdk.TemplateACL
|
||||
// @Router /templates/{template}/acl [get]
|
||||
func (api *API) templateACL(rw http.ResponseWriter, r *http.Request) {
|
||||
var (
|
||||
|
||||
Reference in New Issue
Block a user