diff --git a/pkg/config/config.go b/pkg/config/config.go index ae230c0d3..d7937e256 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -317,8 +317,8 @@ func (a *NixDependency) UnmarshalYAML(unmarshal func(interface{}) error) error { } type Winget struct { - Name string `yaml:"name,omitempty" json:"name,omitempty"` - PackageIdentifier string `yaml:"package_identifier" json:"package_identifier"` + Name string `yaml:"name" json:"name"` + PackageIdentifier string `yaml:"package_identifier,omitempty" json:"package_identifier,omitempty"` Publisher string `yaml:"publisher" json:"publisher"` PublisherURL string `yaml:"publisher_url,omitempty" json:"publisher_url,omitempty"` PublisherSupportURL string `yaml:"publisher_support_url,omitempty" json:"publisher_support_url,omitempty"` diff --git a/www/docs/static/schema.json b/www/docs/static/schema.json index 82b6ae998..f6da14088 100644 --- a/www/docs/static/schema.json +++ b/www/docs/static/schema.json @@ -3559,7 +3559,7 @@ "additionalProperties": false, "type": "object", "required": [ - "package_identifier", + "name", "publisher", "repository", "short_description",