@@ -287,6 +287,10 @@ public enum Components {
287287 ///
288288 /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/spdxVersion`.
289289 public var spdxVersion : Swift . String
290+ /// An optional comment about the SPDX document.
291+ ///
292+ /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/comment`.
293+ public var comment : Swift . String ?
290294 /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/creationInfo`.
291295 public struct creationInfoPayload : Codable , Hashable , Sendable {
292296 /// The date and time the SPDX document was created.
@@ -324,10 +328,6 @@ public enum Components {
324328 ///
325329 /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/dataLicense`.
326330 public var dataLicense : Swift . String
327- /// The name of the repository that the SPDX document describes.
328- ///
329- /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/documentDescribes`.
330- public var documentDescribes : [ Swift . String ]
331331 /// The namespace for the SPDX document.
332332 ///
333333 /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/documentNamespace`.
@@ -466,45 +466,88 @@ public enum Components {
466466 public typealias packagesPayload = [ Components . Schemas . dependency_hyphen_graph_hyphen_spdx_hyphen_sbom . sbomPayload . packagesPayloadPayload ]
467467 /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/packages`.
468468 public var packages : Components . Schemas . dependency_hyphen_graph_hyphen_spdx_hyphen_sbom . sbomPayload . packagesPayload
469+ /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/relationshipsPayload`.
470+ public struct relationshipsPayloadPayload : Codable , Hashable , Sendable {
471+ /// The type of relationship between the two SPDX elements.
472+ ///
473+ /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/relationshipsPayload/relationshipType`.
474+ public var relationshipType : Swift . String ?
475+ /// The SPDX identifier of the package that is the source of the relationship.
476+ ///
477+ /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/relationshipsPayload/spdxElementId`.
478+ public var spdxElementId : Swift . String ?
479+ /// The SPDX identifier of the package that is the target of the relationship.
480+ ///
481+ /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/relationshipsPayload/relatedSpdxElement`.
482+ public var relatedSpdxElement : Swift . String ?
483+ /// Creates a new `relationshipsPayloadPayload`.
484+ ///
485+ /// - Parameters:
486+ /// - relationshipType: The type of relationship between the two SPDX elements.
487+ /// - spdxElementId: The SPDX identifier of the package that is the source of the relationship.
488+ /// - relatedSpdxElement: The SPDX identifier of the package that is the target of the relationship.
489+ public init (
490+ relationshipType: Swift . String ? = nil ,
491+ spdxElementId: Swift . String ? = nil ,
492+ relatedSpdxElement: Swift . String ? = nil
493+ ) {
494+ self . relationshipType = relationshipType
495+ self . spdxElementId = spdxElementId
496+ self . relatedSpdxElement = relatedSpdxElement
497+ }
498+ public enum CodingKeys : String , CodingKey {
499+ case relationshipType
500+ case spdxElementId
501+ case relatedSpdxElement
502+ }
503+ }
504+ /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/relationships`.
505+ public typealias relationshipsPayload = [ Components . Schemas . dependency_hyphen_graph_hyphen_spdx_hyphen_sbom . sbomPayload . relationshipsPayloadPayload ]
506+ /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom/relationships`.
507+ public var relationships : Components . Schemas . dependency_hyphen_graph_hyphen_spdx_hyphen_sbom . sbomPayload . relationshipsPayload ?
469508 /// Creates a new `sbomPayload`.
470509 ///
471510 /// - Parameters:
472511 /// - SPDXID: The SPDX identifier for the SPDX document.
473512 /// - spdxVersion: The version of the SPDX specification that this document conforms to.
513+ /// - comment: An optional comment about the SPDX document.
474514 /// - creationInfo:
475515 /// - name: The name of the SPDX document.
476516 /// - dataLicense: The license under which the SPDX document is licensed.
477- /// - documentDescribes: The name of the repository that the SPDX document describes.
478517 /// - documentNamespace: The namespace for the SPDX document.
479518 /// - packages:
519+ /// - relationships:
480520 public init (
481521 SPDXID: Swift . String ,
482522 spdxVersion: Swift . String ,
523+ comment: Swift . String ? = nil ,
483524 creationInfo: Components . Schemas . dependency_hyphen_graph_hyphen_spdx_hyphen_sbom . sbomPayload . creationInfoPayload ,
484525 name: Swift . String ,
485526 dataLicense: Swift . String ,
486- documentDescribes: [ Swift . String ] ,
487527 documentNamespace: Swift . String ,
488- packages: Components . Schemas . dependency_hyphen_graph_hyphen_spdx_hyphen_sbom . sbomPayload . packagesPayload
528+ packages: Components . Schemas . dependency_hyphen_graph_hyphen_spdx_hyphen_sbom . sbomPayload . packagesPayload ,
529+ relationships: Components . Schemas . dependency_hyphen_graph_hyphen_spdx_hyphen_sbom . sbomPayload . relationshipsPayload ? = nil
489530 ) {
490531 self . SPDXID = SPDXID
491532 self . spdxVersion = spdxVersion
533+ self . comment = comment
492534 self . creationInfo = creationInfo
493535 self . name = name
494536 self . dataLicense = dataLicense
495- self . documentDescribes = documentDescribes
496537 self . documentNamespace = documentNamespace
497538 self . packages = packages
539+ self . relationships = relationships
498540 }
499541 public enum CodingKeys : String , CodingKey {
500542 case SPDXID
501543 case spdxVersion
544+ case comment
502545 case creationInfo
503546 case name
504547 case dataLicense
505- case documentDescribes
506548 case documentNamespace
507549 case packages
550+ case relationships
508551 }
509552 }
510553 /// - Remark: Generated from `#/components/schemas/dependency-graph-spdx-sbom/sbom`.
0 commit comments