schema: support "multiple" tag.
This commit is contained in:
@@ -57,10 +57,11 @@ type KindSchema struct {
|
|||||||
InUse bool `yaml:"in_use"`
|
InUse bool `yaml:"in_use"`
|
||||||
Content nextSpec `yaml:"content"`
|
Content nextSpec `yaml:"content"`
|
||||||
Required []string `yaml:"required"`
|
Required []string `yaml:"required"`
|
||||||
Tags []tagSpec `yaml:"tags"`
|
Multiple []string `yaml:"multiple"`
|
||||||
|
Tags []TagSpec `yaml:"tags"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type tagSpec struct {
|
type TagSpec struct {
|
||||||
Name string `yaml:"name"`
|
Name string `yaml:"name"`
|
||||||
Prefix string `yaml:"prefix"`
|
Prefix string `yaml:"prefix"`
|
||||||
Next *nextSpec `yaml:"next"`
|
Next *nextSpec `yaml:"next"`
|
||||||
|
|||||||
Reference in New Issue
Block a user