diff --git a/Sources/JSONAPI/Document/Document.swift b/Sources/JSONAPI/Document/Document.swift index 95f3a85..e31d937 100644 --- a/Sources/JSONAPI/Document/Document.swift +++ b/Sources/JSONAPI/Document/Document.swift @@ -11,6 +11,8 @@ public protocol JSONAPIDocument: Codable, Equatable { associatedtype LinksType: JSONAPI.Links associatedtype IncludeType: JSONAPI.Include associatedtype Error: JSONAPIError + + var body: Document.Body { get } } /// A JSON API Document represents the entire body