aboutsummaryrefslogtreecommitdiff
path: root/spdx/v2_3/snippet.go
diff options
context:
space:
mode:
authorKeith Zantow <kzantow@gmail.com>2022-10-07 12:09:54 -0400
committerKeith Zantow <kzantow@gmail.com>2022-10-07 12:09:54 -0400
commitedca4e815e896fe3f9a42befac2870ca97997cef (patch)
tree45c554149d4ccf94556ceb1c3b141732619cd57c /spdx/v2_3/snippet.go
parent74a5f1d3abe5aba7ce171ff7e5ae720c181eb645 (diff)
downloadspdx-tools-edca4e815e896fe3f9a42befac2870ca97997cef.tar.gz
chore: Add YAML support for v2.3 data model
Signed-off-by: Keith Zantow <kzantow@gmail.com>
Diffstat (limited to 'spdx/v2_3/snippet.go')
-rw-r--r--spdx/v2_3/snippet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/spdx/v2_3/snippet.go b/spdx/v2_3/snippet.go
index 240f8c8..d55a1a9 100644
--- a/spdx/v2_3/snippet.go
+++ b/spdx/v2_3/snippet.go
@@ -44,5 +44,5 @@ type Snippet struct {
// 9.11: Snippet Attribution Text
// Cardinality: optional, one or many
- SnippetAttributionTexts []string `json:"-"`
+ SnippetAttributionTexts []string `json:"-" yaml:"-"`
}