mirror of
https://github.com/coder/coder.git
synced 2025-07-12 00:14:10 +00:00
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>
This commit is contained in:
4
coderd/apidoc/docs.go
generated
4
coderd/apidoc/docs.go
generated
@ -10192,8 +10192,8 @@ const docTemplate = `{
|
||||
"tags": [
|
||||
"PortSharing"
|
||||
],
|
||||
"summary": "Get workspace agent port shares",
|
||||
"operationId": "get-workspace-agent-port-shares",
|
||||
"summary": "Delete workspace agent port share",
|
||||
"operationId": "delete-workspace-agent-port-share",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
|
4
coderd/apidoc/swagger.json
generated
4
coderd/apidoc/swagger.json
generated
@ -9021,8 +9021,8 @@
|
||||
],
|
||||
"consumes": ["application/json"],
|
||||
"tags": ["PortSharing"],
|
||||
"summary": "Get workspace agent port shares",
|
||||
"operationId": "get-workspace-agent-port-shares",
|
||||
"summary": "Delete workspace agent port share",
|
||||
"operationId": "delete-workspace-agent-port-share",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
|
@ -135,8 +135,8 @@ func (api *API) workspaceAgentPortShares(rw http.ResponseWriter, r *http.Request
|
||||
})
|
||||
}
|
||||
|
||||
// @Summary Get workspace agent port shares
|
||||
// @ID get-workspace-agent-port-shares
|
||||
// @Summary Delete workspace agent port share
|
||||
// @ID delete-workspace-agent-port-share
|
||||
// @Security CoderSessionToken
|
||||
// @Accept json
|
||||
// @Tags PortSharing
|
||||
|
Reference in New Issue
Block a user