File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ type Organization struct {
24
24
// CreateTemplateVersionRequest enables callers to create a new Template Version.
25
25
type CreateTemplateVersionRequest struct {
26
26
// TemplateID optionally associates a version with a template.
27
- TemplateID uuid.UUID `json:"template_id"`
27
+ TemplateID uuid.UUID `json:"template_id,omitempty "`
28
28
29
29
StorageMethod database.ProvisionerStorageMethod `json:"storage_method" validate:"oneof=file,required"`
30
30
StorageSource string `json:"storage_source" validate:"required"`
Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ export interface CreateTemplateRequest {
68
68
69
69
// From codersdk/organizations.go:25:6
70
70
export interface CreateTemplateVersionRequest {
71
- readonly template_id : string
71
+ readonly template_id ? : string
72
72
// This is likely an enum in an external package ("github.com/coder/coder/coderd/database.ProvisionerStorageMethod")
73
73
readonly storage_method : string
74
74
readonly storage_source : string
You can’t perform that action at this time.
0 commit comments