From 0becc41508c99dc63f2a8db366e9629db2b8ba9f Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Thu, 4 Jan 2024 22:43:02 -0300 Subject: [PATCH] fix(winget): schema Signed-off-by: Carlos Alexandro Becker --- pkg/config/config.go | 4 ++-- www/docs/static/schema.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/config/config.go b/pkg/config/config.go index ae230c0d389..d7937e2568b 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 82b6ae998d1..f6da140883e 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",