aboutsummaryrefslogtreecommitdiff
path: root/spdx/v2_3/annotation.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/annotation.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/annotation.go')
-rw-r--r--spdx/v2_3/annotation.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/spdx/v2_3/annotation.go b/spdx/v2_3/annotation.go
index 756aea1..121e995 100644
--- a/spdx/v2_3/annotation.go
+++ b/spdx/v2_3/annotation.go
@@ -21,7 +21,7 @@ type Annotation struct {
// 12.4: SPDX Identifier Reference
// Cardinality: conditional (mandatory, one) if there is an Annotation
// This field is not used in hierarchical data formats where the referenced element is clear, such as JSON or YAML.
- AnnotationSPDXIdentifier common.DocElementID `json:"-"`
+ AnnotationSPDXIdentifier common.DocElementID `json:"-" yaml:"-"`
// 12.5: Annotation Comment
// Cardinality: conditional (mandatory, one) if there is an Annotation