feat: Add custom version names (#4186)

Fixes #4137.
This commit is contained in:
Kyle Carberry
2022-09-23 20:17:36 -05:00
committed by GitHub
parent 3c215a83b6
commit 28428d1294
7 changed files with 17 additions and 3 deletions

View File

@ -34,6 +34,7 @@ type Organization struct {
// CreateTemplateVersionRequest enables callers to create a new Template Version.
type CreateTemplateVersionRequest struct {
Name string `json:"name,omitempty" validate:"omitempty,template_name"`
// TemplateID optionally associates a version with a template.
TemplateID uuid.UUID `json:"template_id,omitempty"`