Skip to content

Commit eef09e6

Browse files
committed
WIP
1 parent 90dea8c commit eef09e6

File tree

4 files changed

+12
-12
lines changed

4 files changed

+12
-12
lines changed

coderd/apidocs/docs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const docTemplate = `{
3838
"tags": [
3939
"Workspaces"
4040
],
41-
"summary": "List workspaces.",
41+
"summary": "List workspaces",
4242
"operationId": "get-workspaces",
4343
"parameters": [
4444
{
@@ -113,7 +113,7 @@ const docTemplate = `{
113113
"tags": [
114114
"Workspaces"
115115
],
116-
"summary": "Get workspace metadata.",
116+
"summary": "Get workspace metadata",
117117
"operationId": "get-workspace",
118118
"parameters": [
119119
{

coderd/apidocs/swagger.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"tags": [
3131
"Workspaces"
3232
],
33-
"summary": "List workspaces.",
33+
"summary": "List workspaces",
3434
"operationId": "get-workspaces",
3535
"parameters": [
3636
{
@@ -105,7 +105,7 @@
105105
"tags": [
106106
"Workspaces"
107107
],
108-
"summary": "Get workspace metadata.",
108+
"summary": "Get workspace metadata",
109109
"operationId": "get-workspace",
110110
"parameters": [
111111
{

coderd/workspaces.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ var (
4343
errDeadlineBeforeStart = xerrors.New("new deadline must be before workspace start time")
4444
)
4545

46-
// @Summary Get workspace metadata.
46+
// @Summary Get workspace metadata
4747
// @ID get-workspace
4848
// @Security CoderSessionToken
4949
// @Produce json
@@ -105,7 +105,7 @@ func (api *API) workspace(rw http.ResponseWriter, r *http.Request) {
105105
))
106106
}
107107

108-
// @Summary List workspaces.
108+
// @Summary List workspaces
109109
// @ID get-workspaces
110110
// @Security CoderSessionToken
111111
// @Produce json

docs/api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ License: <a href="https://github.com/coder/coder/blob/main/LICENSE">AGPL-3.0</a>
2121

2222
<h1 id="coderd-api-workspaces">Workspaces</h1>
2323

24-
## List workspaces.
24+
## List workspaces
2525

2626
<a id="opIdget-workspaces"></a>
2727

@@ -37,7 +37,7 @@ curl -X GET /api/v2/workspaces \
3737

3838
`GET /workspaces`
3939

40-
<h3 id="list-workspaces.-parameters">Parameters</h3>
40+
<h3 id="list-workspaces-parameters">Parameters</h3>
4141

4242
|Name|In|Type|Required|Description|
4343
|---|---|---|---|---|
@@ -182,7 +182,7 @@ curl -X GET /api/v2/workspaces \
182182
}
183183
```
184184

185-
<h3 id="list-workspaces.-responses">Responses</h3>
185+
<h3 id="list-workspaces-responses">Responses</h3>
186186

187187
|Status|Meaning|Description|Schema|
188188
|---|---|---|---|
@@ -195,7 +195,7 @@ To perform this operation, you must be authenticated by means of one of the foll
195195
CoderSessionToken
196196
</aside>
197197

198-
## Get workspace metadata.
198+
## Get workspace metadata
199199

200200
<a id="opIdget-workspace"></a>
201201

@@ -211,7 +211,7 @@ curl -X GET /api/v2/workspaces/{id} \
211211

212212
`GET /workspaces/{id}`
213213

214-
<h3 id="get-workspace-metadata.-parameters">Parameters</h3>
214+
<h3 id="get-workspace-metadata-parameters">Parameters</h3>
215215

216216
|Name|In|Type|Required|Description|
217217
|---|---|---|---|---|
@@ -351,7 +351,7 @@ curl -X GET /api/v2/workspaces/{id} \
351351
}
352352
```
353353

354-
<h3 id="get-workspace-metadata.-responses">Responses</h3>
354+
<h3 id="get-workspace-metadata-responses">Responses</h3>
355355

356356
|Status|Meaning|Description|Schema|
357357
|---|---|---|---|

0 commit comments

Comments
 (0)