We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc3ec42 commit 9c912beCopy full SHA for 9c912be
cyclonedx-bom/src/specs/v1_5/annotation.rs
@@ -114,7 +114,7 @@ impl FromXml for Annotations {
114
#[serde(rename_all = "camelCase")]
115
pub(crate) struct Annotation {
116
/// Optional identifier to reference the annotation elsewhere in the Bom.
117
- #[serde(skip_serializing_if = "Option::is_none")]
+ #[serde(rename = "bom-ref", skip_serializing_if = "Option::is_none")]
118
bom_ref: Option<String>,
119
/// A list of BOM references, TODO change to `Subjects`
120
subjects: Vec<String>,
0 commit comments