Compare commits

...

1 Commits

Author SHA1 Message Date
Mathew Polzin abee0c4d0e Add body variable to JSONAPIDocument protocol 2018-11-27 17:55:56 -08:00
+2
View File
@@ -11,6 +11,8 @@ public protocol JSONAPIDocument: Codable, Equatable {
associatedtype LinksType: JSONAPI.Links
associatedtype IncludeType: JSONAPI.Include
associatedtype Error: JSONAPIError
var body: Document<ResourceBody, MetaType, LinksType, IncludeType, Error>.Body { get }
}
/// A JSON API Document represents the entire body