Skip to content

Commit

Permalink
fix(jsonschema): version is not required on v1.x
Browse files Browse the repository at this point in the history
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
  • Loading branch information
caarlos0 committed Nov 4, 2023
1 parent 780fcc7 commit 45839c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/config/config.go
Expand Up @@ -1149,7 +1149,7 @@ type Source struct {

// Project includes all project configuration.
type Project struct {
Version int `yaml:"version" json:"version" jsonschema:"enum=1,default=1"`
Version int `yaml:"version,omitempty" json:"version,omitempty" jsonschema:"enum=1,default=1"`
ProjectName string `yaml:"project_name,omitempty" json:"project_name,omitempty"`
Env []string `yaml:"env,omitempty" json:"env,omitempty"`
Release Release `yaml:"release,omitempty" json:"release,omitempty"`
Expand Down

0 comments on commit 45839c1

Please sign in to comment.