Skip to content

Commit 8ec3904

Browse files
committed
fix @Param annotations
1 parent 8902a85 commit 8ec3904

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coderd/organizations.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ func (api *API) postOrganizations(rw http.ResponseWriter, r *http.Request) {
124124
// @Accept json
125125
// @Produce json
126126
// @Tags Organizations
127+
// @Param organization path string true "Organization ID or name"
127128
// @Param request body codersdk.UpdateOrganizationRequest true "Patch organization request"
128129
// @Success 200 {object} codersdk.Organization
129130
// @Router /organizations/{organization} [patch]
@@ -179,6 +180,7 @@ func (api *API) patchOrganization(rw http.ResponseWriter, r *http.Request) {
179180
// @Security CoderSessionToken
180181
// @Produce json
181182
// @Tags Organizations
183+
// @Param organization path string true "Organization ID or name"
182184
// @Success 200
183185
// @Router /organizations/{organization} [delete]
184186
func (api *API) deleteOrganization(rw http.ResponseWriter, r *http.Request) {

0 commit comments

Comments
 (0)