Skip to content

Commit f1aad27

Browse files
committed
proto
1 parent a11b69e commit f1aad27

File tree

10 files changed

+299
-277
lines changed

10 files changed

+299
-277
lines changed

coderd/apidoc/docs.go

Lines changed: 3 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: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/templateversions.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const (
4141
// TemplateVersionParameter represents a parameter for a template version.
4242
type TemplateVersionParameter struct {
4343
Name string `json:"name"`
44-
DisplayName string `json:"display_name"`
44+
DisplayName string `json:"display_name,omitempty"`
4545
Description string `json:"description"`
4646
DescriptionPlaintext string `json:"description_plaintext"`
4747
Type string `json:"type" enums:"string,number,bool,list(string)"`

docs/api/schemas.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3858,6 +3858,7 @@ Parameter represents a set value for the scope.
38583858
"default_value": "string",
38593859
"description": "string",
38603860
"description_plaintext": "string",
3861+
"display_name": "string",
38613862
"icon": "string",
38623863
"legacy_variable_name": "string",
38633864
"mutable": true,
@@ -3887,6 +3888,7 @@ Parameter represents a set value for the scope.
38873888
| `default_value` | string | false | | |
38883889
| `description` | string | false | | |
38893890
| `description_plaintext` | string | false | | |
3891+
| `display_name` | string | false | | |
38903892
| `icon` | string | false | | |
38913893
| `legacy_variable_name` | string | false | | |
38923894
| `mutable` | boolean | false | | |

docs/api/templates.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,6 +2301,7 @@ curl -X GET http://coder-server:8080/api/v2/templateversions/{templateversion}/r
23012301
"default_value": "string",
23022302
"description": "string",
23032303
"description_plaintext": "string",
2304+
"display_name": "string",
23042305
"icon": "string",
23052306
"legacy_variable_name": "string",
23062307
"mutable": true,
@@ -2340,6 +2341,7 @@ Status Code **200**
23402341
| `» default_value` | string | false | | |
23412342
| `» description` | string | false | | |
23422343
| `» description_plaintext` | string | false | | |
2344+
| `» display_name` | string | false | | |
23432345
| `» icon` | string | false | | |
23442346
| `» legacy_variable_name` | string | false | | |
23452347
| `» mutable` | boolean | false | | |

docs/cli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,11 @@ Coder — A tool for provisioning self-hosted development environments with Terr
6161

6262
### --global-config
6363

64-
| | |
65-
| ----------- | ------------------------------ |
66-
| Type | <code>string</code> |
67-
| Environment | <code>$CODER_CONFIG_DIR</code> |
68-
| Default | <code>~/.config/coderv2</code> |
64+
| | |
65+
| ----------- | -------------------------------------------------- |
66+
| Type | <code>string</code> |
67+
| Environment | <code>$CODER_CONFIG_DIR</code> |
68+
| Default | <code>~/Library/Application Support/coderv2</code> |
6969

7070
Path to the global `coder` config directory.
7171

0 commit comments

Comments
 (0)