mirror of
https://github.com/encounter/JSONAPI.git
synced 2026-03-30 11:18:38 -07:00
Add body variable to JSONAPIDocument protocol
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user