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

Skip to content

Commit 6c6c509

Browse files
committed
Fix: enumerated values in code tags
1 parent ed6ed0a commit 6c6c509

File tree

5 files changed

+49
-49
lines changed

5 files changed

+49
-49
lines changed

docs/api/schemas.md

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ AuthorizationCheck is used to check if the currently authenticated user (or the
4141

4242
#### Enumerated Values
4343

44-
| Property | Value |
45-
| -------- | ------ |
46-
| action | create |
47-
| action | read |
48-
| action | update |
49-
| action | delete |
44+
| Property | Value |
45+
| -------- | -------- |
46+
| `action` | `create` |
47+
| `action` | `read` |
48+
| `action` | `update` |
49+
| `action` | `delete` |
5050

5151
## codersdk.AuthorizationObject
5252

@@ -161,11 +161,11 @@ CreateParameterRequest is a structure used to create a new parameter value for a
161161

162162
#### Enumerated Values
163163

164-
| Property | Value |
165-
| ------------------ | -------------------- |
166-
| destination_scheme | environment_variable |
167-
| destination_scheme | provisioner_variable |
168-
| source_scheme | data |
164+
| Property | Value |
165+
| -------------------- | ---------------------- |
166+
| `destination_scheme` | `environment_variable` |
167+
| `destination_scheme` | `provisioner_variable` |
168+
| `source_scheme` | `data` |
169169

170170
## codersdk.CreateTemplateRequest
171171

@@ -911,21 +911,21 @@ CreateParameterRequest is a structure used to create a new parameter value for a
911911

912912
#### Enumerated Values
913913

914-
| Property | Value |
915-
| ---------- | --------- |
916-
| status | pending |
917-
| status | starting |
918-
| status | running |
919-
| status | stopping |
920-
| status | stopped |
921-
| status | failed |
922-
| status | canceling |
923-
| status | canceled |
924-
| status | deleting |
925-
| status | deleted |
926-
| transition | start |
927-
| transition | stop |
928-
| transition | delete |
914+
| Property | Value |
915+
| ------------ | ----------- |
916+
| `status` | `pending` |
917+
| `status` | `starting` |
918+
| `status` | `running` |
919+
| `status` | `stopping` |
920+
| `status` | `stopped` |
921+
| `status` | `failed` |
922+
| `status` | `canceling` |
923+
| `status` | `canceled` |
924+
| `status` | `deleting` |
925+
| `status` | `deleted` |
926+
| `transition` | `start` |
927+
| `transition` | `stop` |
928+
| `transition` | `delete` |
929929

930930
## codersdk.WorkspaceResource
931931

@@ -1022,11 +1022,11 @@ CreateParameterRequest is a structure used to create a new parameter value for a
10221022

10231023
#### Enumerated Values
10241024

1025-
| Property | Value |
1026-
| -------------------- | ------ |
1027-
| workspace_transition | start |
1028-
| workspace_transition | stop |
1029-
| workspace_transition | delete |
1025+
| Property | Value |
1026+
| ---------------------- | -------- |
1027+
| `workspace_transition` | `start` |
1028+
| `workspace_transition` | `stop` |
1029+
| `workspace_transition` | `delete` |
10301030

10311031
## codersdk.WorkspaceResourceMetadata
10321032

docs/api/workspaces.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -354,21 +354,21 @@ curl -X GET http://coder-server:8080/api/v2/workspaces \
354354

355355
#### Enumerated Values
356356

357-
| Parameter | Value |
358-
| --------- | ------------ |
359-
| status | pending |
360-
| status | running |
361-
| status | stopping |
362-
| status | stopped |
363-
| status | failed |
364-
| status | canceling |
365-
| status | canceled |
366-
| status | deleted |
367-
| status | deleting |
368-
| has_agent | connected |
369-
| has_agent | connecting |
370-
| has_agent | disconnected |
371-
| has_agent | timeout |
357+
| Parameter | Value |
358+
| ----------- | -------------- |
359+
| `status` | `pending` |
360+
| `status` | `running` |
361+
| `status` | `stopping` |
362+
| `status` | `stopped` |
363+
| `status` | `failed` |
364+
| `status` | `canceling` |
365+
| `status` | `canceled` |
366+
| `status` | `deleted` |
367+
| `status` | `deleting` |
368+
| `has_agent` | `connected` |
369+
| `has_agent` | `connecting` |
370+
| `has_agent` | `disconnected` |
371+
| `has_agent` | `timeout` |
372372

373373
### Example responses
374374

scripts/apidocgen/markdown-template/main.dot

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

141141
|Property|Value|
142142
|---|---|
143-
{{~ enums :e}}|{{=e.name}}|{{=data.utils.toPrimitive(e.value)}}|
143+
{{~ enums :e}}|`{{=e.name}}`|`{{=data.utils.toPrimitive(e.value)}}`|
144144
{{~}}
145145

146146
{{= data.tags.endSection }}

scripts/apidocgen/markdown-template/parameters.def

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

4545
|Parameter|Value|
4646
|---|---|
47-
{{~ data.enums :e}}|{{=e.name}}|{{=data.utils.toPrimitive(e.value)}}|
47+
{{~ data.enums :e}}|`{{=e.name}}`|`{{=data.utils.toPrimitive(e.value)}}`|
4848
{{~}}
4949
{{?}}
5050
{{= data.tags.endSection }}

scripts/apidocgen/markdown-template/responses.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Status Code **{{=response.status}}**
8787

8888
|Property|Value|
8989
|---|---|
90-
{{~ enums :e}}|{{=e.name}}|{{=data.utils.toPrimitive(e.value)}}|
90+
{{~ enums :e}}|`{{=e.name}}`|`{{=data.utils.toPrimitive(e.value)}}`|
9191
{{~}}
9292

9393
{{?}}

0 commit comments

Comments
 (0)