Skip to content

Commit 98a9aa1

Browse files
blink-so[bot]matifalijohnstcn
authored
docs: fix swagger documentation for DELETE port share endpoint (#18426)
Co-authored-by: blink-so[bot] <211532188+blink-so[bot]@users.noreply.github.com> Co-authored-by: matifali <10648092+matifali@users.noreply.github.com> Co-authored-by: Cian Johnston <cian@coder.com>
1 parent 529fb50 commit 98a9aa1

File tree

4 files changed

+67
-22
lines changed

4 files changed

+67
-22
lines changed

coderd/apidoc/docs.go

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

coderd/apidoc/swagger.json

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

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

docs/reference/api/portsharing.md

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

0 commit comments

Comments
 (0)