We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d764b3d commit 7806f3bCopy full SHA for 7806f3b
codersdk/organizations.go
@@ -48,7 +48,7 @@ type CreateTemplateVersionRequest struct {
48
// CreateTemplateRequest provides options when creating a template.
49
type CreateTemplateRequest struct {
50
// Name is the name of the template.
51
- Name string `json:"name" validate:"username,required"`
+ Name string `json:"name" validate:"lt=32,required"`
52
// Description is a description of what the template contains. It must be
53
// less than 128 bytes.
54
Description string `json:"description,omitempty" validate:"lt=128"`
0 commit comments