@@ -22,8 +22,8 @@ to keep track of used libraries during the build process.
2222 bom = Bom()
2323 bom.metadata.tools.components.add(cdx_lib_component())
2424
25- Import model ` Tool `
26- -------------------
25+ Import model Tool
26+ -----------------
2727
2828Class `cyclonedx.model.Tool ` was moved to :class: `cyclonedx.model.tool.Tool `.
2929Therefore, the imports need to be altered:
@@ -35,7 +35,7 @@ New: ``from cyclonedx.model.tool import Tool``
3535Altering Metadata Tools
3636-----------------------
3737
38- :prop : `cyclonedx.mode .bom.BomMetaData.tool ` is an instance of :class: `cyclonedx.model.tool.ToolsRepository `, now.
38+ Property :attr : `cyclonedx.model .bom.BomMetaData.tools ` is an instance of :class: `cyclonedx.model.tool.ToolsRepository `, now.
3939Therefore, the process of adding new tools was changed.
4040
4141Old: ``my_bom.metadata.tools.add(my_tool) ``
@@ -45,13 +45,16 @@ New: ``my_bom.metadata.tools.tools.add(my_tool)``
4545Altering Metadata Tools
4646-----------------------
4747
48- :prop : `cyclonedx.mode .vulnerability.Vulnerability.tools ` is an instance of :class: `cyclonedx.model.tool.ToolsRepository `, now.
48+ Property :attr : `cyclonedx.model .vulnerability.Vulnerability.tools ` is an instance of :class: `cyclonedx.model.tool.ToolsRepository `, now.
4949Therefore, the process of adding new tools was changed.
5050
5151Old: ``my_vulnerability.tools.add(my_tool) ``
5252
5353New: ``my_vulnerability.tools.tools.add(my_tool) ``
5454
55+ Setting LicenseExpression Acknowledgement
56+ -----------------------------------------
57+
5558:class: `cyclonedx.model.license.LicenseExpression() ` no longer accepts optional arguments in a positional way, but in a key-word way.
5659
5760Old: ``LicenseExpression(my_exp, my_acknowledgement) ``
0 commit comments