diff --git a/internal/projectconfig/component.go b/internal/projectconfig/component.go index d59c679..63dffcd 100644 --- a/internal/projectconfig/component.go +++ b/internal/projectconfig/component.go @@ -58,7 +58,7 @@ type SourceFileReference struct { Hash string `toml:"hash,omitempty" json:"hash,omitempty"` // Type of hash used by Hash (e.g., "SHA256", "SHA512"). - HashType fileutils.HashType `toml:"hash-type,omitempty" json:"hashType,omitempty" jsonschema:"enum=SHA256,enum=SHA512,title=Hash type,description=Hash algorithm used for the hash value (e.g., SHA256, SHA512)"` + HashType fileutils.HashType `toml:"hash-type,omitempty" json:"hashType,omitempty" jsonschema:"enum=SHA256,enum=SHA512,title=Hash type,description=Hash algorithm used for the hash value"` // Origin for this source file. When omitted, the file is resolved via the lookaside cache. Origin Origin `toml:"origin,omitempty" json:"origin,omitempty"` diff --git a/scenario/__snapshots__/TestSnapshotsContainer_config_generate-schema_stdout_1.snap b/scenario/__snapshots__/TestSnapshotsContainer_config_generate-schema_stdout_1.snap index 946ca34..b0406be 100755 --- a/scenario/__snapshots__/TestSnapshotsContainer_config_generate-schema_stdout_1.snap +++ b/scenario/__snapshots__/TestSnapshotsContainer_config_generate-schema_stdout_1.snap @@ -666,7 +666,7 @@ "SHA512" ], "title": "Hash type", - "description": "Hash algorithm used for the hash value (e.g." + "description": "Hash algorithm used for the hash value" }, "origin": { "$ref": "#/$defs/Origin" diff --git a/scenario/__snapshots__/TestSnapshots_config_generate-schema_stdout_1.snap b/scenario/__snapshots__/TestSnapshots_config_generate-schema_stdout_1.snap index 946ca34..b0406be 100755 --- a/scenario/__snapshots__/TestSnapshots_config_generate-schema_stdout_1.snap +++ b/scenario/__snapshots__/TestSnapshots_config_generate-schema_stdout_1.snap @@ -666,7 +666,7 @@ "SHA512" ], "title": "Hash type", - "description": "Hash algorithm used for the hash value (e.g." + "description": "Hash algorithm used for the hash value" }, "origin": { "$ref": "#/$defs/Origin" diff --git a/schemas/azldev.schema.json b/schemas/azldev.schema.json index 946ca34..b0406be 100644 --- a/schemas/azldev.schema.json +++ b/schemas/azldev.schema.json @@ -666,7 +666,7 @@ "SHA512" ], "title": "Hash type", - "description": "Hash algorithm used for the hash value (e.g." + "description": "Hash algorithm used for the hash value" }, "origin": { "$ref": "#/$defs/Origin"