Skip to content

Commit 67d18a1

Browse files
docs: fix swagger documentation for DELETE port share endpoint
The DELETE endpoint for workspace agent port shares had incorrect Swagger documentation that duplicated the GET endpoint's summary and ID. This fixes the documentation to properly describe the DELETE operation. Co-authored-by: matifali <10648092+matifali@users.noreply.github.com>
1 parent 44d4646 commit 67d18a1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/workspaceagentportshare.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,8 +135,8 @@ func (api *API) workspaceAgentPortShares(rw http.ResponseWriter, r *http.Request
135135
})
136136
}
137137

138-
// @Summary Get workspace agent port shares
139-
// @ID get-workspace-agent-port-shares
138+
// @Summary Delete workspace agent port share
139+
// @ID delete-workspace-agent-port-share
140140
// @Security CoderSessionToken
141141
// @Accept json
142142
// @Tags PortSharing

0 commit comments

Comments
 (0)