Skip to content

Commit 0527c2b

Browse files
committed
fixup! Generate docs
1 parent 7bbe10a commit 0527c2b

File tree

7 files changed

+28
-13
lines changed

7 files changed

+28
-13
lines changed

coderd/apidoc/docs.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/workspaceagents.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ type WorkspaceAgentMetadata struct {
142142
DERPMap *tailcfg.DERPMap `json:"derpmap"`
143143
EnvironmentVariables map[string]string `json:"environment_variables"`
144144
StartupScript string `json:"startup_script"`
145-
StartupScriptTimeout time.Duration `json:"startup_script_timeout" format:"duration"`
145+
StartupScriptTimeout time.Duration `json:"startup_script_timeout"`
146146
Directory string `json:"directory"`
147147
MOTDFile string `json:"motd_file"`
148148
}

docs/api/agents.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -370,6 +370,7 @@ curl -X GET http://coder-server:8080/api/v2/workspaceagents/me/metadata \
370370
"git_auth_configs": 0,
371371
"motd_file": "string",
372372
"startup_script": "string",
373+
"startup_script_timeout": 0,
373374
"vscode_port_proxy_uri": "string"
374375
}
375376
```

docs/api/builds.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -636,6 +636,7 @@ Status Code **200**
636636
| `sharing_level` | `public` |
637637
| `state` | `starting` |
638638
| `state` | `start_timeout` |
639+
| `state` | `start_error` |
639640
| `state` | `ready` |
640641
| `status` | `connecting` |
641642
| `status` | `connected` |
@@ -1050,6 +1051,7 @@ Status Code **200**
10501051
| `sharing_level` | `public` |
10511052
| `state` | `starting` |
10521053
| `state` | `start_timeout` |
1054+
| `state` | `start_error` |
10531055
| `state` | `ready` |
10541056
| `status` | `connecting` |
10551057
| `status` | `connected` |

docs/api/schemas.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4674,6 +4674,7 @@ Parameter represents a set value for the scope.
46744674
| -------- | --------------- |
46754675
| `state` | `starting` |
46764676
| `state` | `start_timeout` |
4677+
| `state` | `start_error` |
46774678
| `state` | `ready` |
46784679
| `status` | `connecting` |
46794680
| `status` | `connected` |
@@ -4858,23 +4859,25 @@ Parameter represents a set value for the scope.
48584859
"git_auth_configs": 0,
48594860
"motd_file": "string",
48604861
"startup_script": "string",
4862+
"startup_script_timeout": 0,
48614863
"vscode_port_proxy_uri": "string"
48624864
}
48634865
```
48644866

48654867
### Properties
48664868

4867-
| Name | Type | Required | Restrictions | Description |
4868-
| ----------------------- | ------------------------------------------------------- | -------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
4869-
| `apps` | array of [codersdk.WorkspaceApp](#codersdkworkspaceapp) | false | | |
4870-
| `derpmap` | [tailcfg.DERPMap](#tailcfgderpmap) | false | | |
4871-
| `directory` | string | false | | |
4872-
| `environment_variables` | object | false | | |
4873-
| » `[any property]` | string | false | | |
4874-
| `git_auth_configs` | integer | false | | Git auth configs stores the number of Git configurations the Coder deployment has. If this number is >0, we set up special configuration in the workspace. |
4875-
| `motd_file` | string | false | | |
4876-
| `startup_script` | string | false | | |
4877-
| `vscode_port_proxy_uri` | string | false | | |
4869+
| Name | Type | Required | Restrictions | Description |
4870+
| ------------------------ | ------------------------------------------------------- | -------- | ------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------- |
4871+
| `apps` | array of [codersdk.WorkspaceApp](#codersdkworkspaceapp) | false | | |
4872+
| `derpmap` | [tailcfg.DERPMap](#tailcfgderpmap) | false | | |
4873+
| `directory` | string | false | | |
4874+
| `environment_variables` | object | false | | |
4875+
| » `[any property]` | string | false | | |
4876+
| `git_auth_configs` | integer | false | | Git auth configs stores the number of Git configurations the Coder deployment has. If this number is >0, we set up special configuration in the workspace. |
4877+
| `motd_file` | string | false | | |
4878+
| `startup_script` | string | false | | |
4879+
| `startup_script_timeout` | integer | false | | |
4880+
| `vscode_port_proxy_uri` | string | false | | |
48784881

48794882
## codersdk.WorkspaceAgentState
48804883

docs/api/templates.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1683,6 +1683,7 @@ Status Code **200**
16831683
| `sharing_level` | `public` |
16841684
| `state` | `starting` |
16851685
| `state` | `start_timeout` |
1686+
| `state` | `start_error` |
16861687
| `state` | `ready` |
16871688
| `status` | `connecting` |
16881689
| `status` | `connected` |
@@ -2029,6 +2030,7 @@ Status Code **200**
20292030
| `sharing_level` | `public` |
20302031
| `state` | `starting` |
20312032
| `state` | `start_timeout` |
2033+
| `state` | `start_error` |
20322034
| `state` | `ready` |
20332035
| `status` | `connecting` |
20342036
| `status` | `connected` |

0 commit comments

Comments
 (0)