diff --git a/cyclonedx.go b/cyclonedx.go index e51e687..9afabe0 100644 --- a/cyclonedx.go +++ b/cyclonedx.go @@ -821,6 +821,7 @@ const ( SpecVersion1_3 // 1.3 SpecVersion1_4 // 1.4 SpecVersion1_5 // 1.5 + SpecVersion1_6 // 1.6 ) type SWID struct { diff --git a/cyclonedx_string.go b/cyclonedx_string.go index ef70083..1e279d1 100644 --- a/cyclonedx_string.go +++ b/cyclonedx_string.go @@ -34,11 +34,12 @@ func _() { _ = x[SpecVersion1_3-4] _ = x[SpecVersion1_4-5] _ = x[SpecVersion1_5-6] + _ = x[SpecVersion1_6-7] } -const _SpecVersion_name = "1.01.11.21.31.41.5" +const _SpecVersion_name = "1.01.11.21.31.41.51.6" -var _SpecVersion_index = [...]uint8{0, 3, 6, 9, 12, 15, 18} +var _SpecVersion_index = [...]uint8{0, 3, 6, 9, 12, 15, 18, 21} func (i SpecVersion) String() string { i -= 1