Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7aa7f1c

Browse files
committed
Fix: typo
1 parent fb59fbd commit 7aa7f1c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

coderd/apidoc/docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ const docTemplate = `{
446446
"tags": [
447447
"Workspaces"
448448
],
449-
"summary": "Update workspace ttl by ID",
449+
"summary": "Update workspace TTL by ID",
450450
"operationId": "update-workspace-ttl-by-id",
451451
"parameters": [
452452
{

coderd/apidoc/swagger.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@
393393
],
394394
"produces": ["application/json"],
395395
"tags": ["Workspaces"],
396-
"summary": "Update workspace ttl by ID",
396+
"summary": "Update workspace TTL by ID",
397397
"operationId": "update-workspace-ttl-by-id",
398398
"parameters": [
399399
{

coderd/workspaces.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -714,7 +714,7 @@ func (api *API) putWorkspaceAutostart(rw http.ResponseWriter, r *http.Request) {
714714
rw.WriteHeader(http.StatusNoContent)
715715
}
716716

717-
// @Summary Update workspace ttl by ID
717+
// @Summary Update workspace TTL by ID
718718
// @ID update-workspace-ttl-by-id
719719
// @Security CoderSessionToken
720720
// @Consume json

docs/api/workspaces.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,7 @@ curl -X PUT http://coder-server:8080/api/v2/workspaces/{workspace}/extend \
808808

809809
To perform this operation, you must be authenticated by means of one of the following methods: **CoderSessionToken**.
810810

811-
## Update workspace ttl by ID
811+
## Update workspace TTL by ID
812812

813813
### Code samples
814814

0 commit comments

Comments
 (0)