Skip to content

Commit c7c93ab

Browse files
committed
Fix
1 parent 84a5de4 commit c7c93ab

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

docs/api/templates.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ curl -X POST http://coder-server:8080/api/v2/organizations/{organization-id}/tem
4343
| Name | In | Type | Required | Description |
4444
| --------------- | ---- | -------------------------------------------------------------------------- | -------- | --------------- |
4545
| organization-id | path | string | true | Organization ID |
46-
| body | body | [codersdk.CreateTemplateRequest](schemas.md#codersdkCreateTemplateRequest) | true | Request body |
46+
| body | body | [codersdk.CreateTemplateRequest](schemas.md#codersdkcreatetemplaterequest) | true | Request body |
4747

4848
### Example responses
4949

@@ -84,9 +84,9 @@ curl -X POST http://coder-server:8080/api/v2/organizations/{organization-id}/tem
8484

8585
| Status | Meaning | Description | Schema |
8686
| ------ | -------------------------------------------------------------------------- | --------------------- | ------------------------------------------------ |
87-
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Template](schemas.md#codersdkTemplate) |
88-
| 404 | [Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4) | Not Found | [codersdk.Response](schemas.md#codersdkResponse) |
89-
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | [codersdk.Response](schemas.md#codersdkResponse) |
87+
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Template](schemas.md#codersdktemplate) |
88+
| 404 | [Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4) | Not Found | [codersdk.Response](schemas.md#codersdkresponse) |
89+
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | [codersdk.Response](schemas.md#codersdkresponse) |
9090

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

@@ -149,8 +149,8 @@ curl -X GET http://coder-server:8080/api/v2/templates/{id} \
149149

150150
| Status | Meaning | Description | Schema |
151151
| ------ | -------------------------------------------------------------------------- | --------------------- | ------------------------------------------------ |
152-
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Template](schemas.md#codersdkTemplate) |
153-
| 404 | [Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4) | Not Found | [codersdk.Response](schemas.md#codersdkResponse) |
154-
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | [codersdk.Response](schemas.md#codersdkResponse) |
152+
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Template](schemas.md#codersdktemplate) |
153+
| 404 | [Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4) | Not Found | [codersdk.Response](schemas.md#codersdkresponse) |
154+
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | [codersdk.Response](schemas.md#codersdkresponse) |
155155

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

docs/api/workspaces.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -165,9 +165,9 @@ curl -X GET http://coder-server:8080/api/v2/workspaces \
165165

166166
| Status | Meaning | Description | Schema |
167167
| ------ | -------------------------------------------------------------------------- | --------------------- | -------------------------------------------------------------------- |
168-
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspacesResponse](schemas.md#codersdkWorkspacesResponse) |
169-
| 400 | [Bad Request](https://tools.ietf.org/html/rfc7231#section-6.5.1) | Bad Request | [codersdk.Response](schemas.md#codersdkResponse) |
170-
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | [codersdk.Response](schemas.md#codersdkResponse) |
168+
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.WorkspacesResponse](schemas.md#codersdkworkspacesresponse) |
169+
| 400 | [Bad Request](https://tools.ietf.org/html/rfc7231#section-6.5.1) | Bad Request | [codersdk.Response](schemas.md#codersdkresponse) |
170+
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | [codersdk.Response](schemas.md#codersdkresponse) |
171171

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

@@ -331,10 +331,10 @@ curl -X GET http://coder-server:8080/api/v2/workspaces/{id} \
331331

332332
| Status | Meaning | Description | Schema |
333333
| ------ | -------------------------------------------------------------------------- | --------------------- | -------------------------------------------------- |
334-
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Workspace](schemas.md#codersdkWorkspace) |
335-
| 400 | [Bad Request](https://tools.ietf.org/html/rfc7231#section-6.5.1) | Bad Request | [codersdk.Response](schemas.md#codersdkResponse) |
336-
| 404 | [Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4) | Not Found | [codersdk.Response](schemas.md#codersdkResponse) |
337-
| 410 | [Gone](https://tools.ietf.org/html/rfc7231#section-6.5.9) | Gone | [codersdk.Response](schemas.md#codersdkResponse) |
338-
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | [codersdk.Response](schemas.md#codersdkResponse) |
334+
| 200 | [OK](https://tools.ietf.org/html/rfc7231#section-6.3.1) | OK | [codersdk.Workspace](schemas.md#codersdkworkspace) |
335+
| 400 | [Bad Request](https://tools.ietf.org/html/rfc7231#section-6.5.1) | Bad Request | [codersdk.Response](schemas.md#codersdkresponse) |
336+
| 404 | [Not Found](https://tools.ietf.org/html/rfc7231#section-6.5.4) | Not Found | [codersdk.Response](schemas.md#codersdkresponse) |
337+
| 410 | [Gone](https://tools.ietf.org/html/rfc7231#section-6.5.9) | Gone | [codersdk.Response](schemas.md#codersdkresponse) |
338+
| 500 | [Internal Server Error](https://tools.ietf.org/html/rfc7231#section-6.6.1) | Internal Server Error | [codersdk.Response](schemas.md#codersdkresponse) |
339339

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

scripts/apidocgen/markdown-template/parameters.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
|Name|In|Type|Required|Description|
55
|---|---|---|---|---|
6-
{{~ data.parameters :p}}|{{=p.name}}|{{=p.in}}|{{? p.schema['x-widdershins-oldRef']}}[{{= p.schema['x-widdershins-oldRef'].substring(21) }}](schemas.md#{{= p.schema['x-widdershins-oldRef'].substring(21).replace(".","")}}){{?}}{{? !p.schema['x-widdershins-oldRef']}}{{= p.safeType}}{{?}}|{{=p.required}}|{{=p.shortDesc || 'none'}}|
6+
{{~ data.parameters :p}}|{{=p.name}}|{{=p.in}}|{{? p.schema['x-widdershins-oldRef']}}[{{= p.schema['x-widdershins-oldRef'].substring(21) }}](schemas.md#{{= p.schema['x-widdershins-oldRef'].substring(21).replace(".","").toLowerCase()}}){{?}}{{? !p.schema['x-widdershins-oldRef']}}{{= p.safeType}}{{?}}|{{=p.required}}|{{=p.shortDesc || 'none'}}|
77
{{~}}
88

99
{{? data.longDescs }}

scripts/apidocgen/markdown-template/responses.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
|Status|Meaning|Description|Schema|
1717
|---|---|---|---|
18-
{{~ data.responses :r}}|{{=r.status}}|{{=r.meaning}}|{{=r.description || 'none'}}|[{{= r.content['application/json'].schema['x-widdershins-oldRef'].substring(21) }}](schemas.md#{{= r.content['application/json'].schema['x-widdershins-oldRef'].substring(21).replace(".","")}})|
18+
{{~ data.responses :r}}|{{=r.status}}|{{=r.meaning}}|{{=r.description || 'none'}}|[{{= r.content['application/json'].schema['x-widdershins-oldRef'].substring(21) }}](schemas.md#{{= r.content['application/json'].schema['x-widdershins-oldRef'].substring(21).replace(".","").toLowerCase()}})|
1919
{{~}}
2020

2121
{{ data.responseSchemas = false; }}

0 commit comments

Comments
 (0)