Skip to content

Instantly share code, notes, and snippets.

// Adopt this protocol to codegen an extension adopting Encodable inside a root key
protocol RestRequest {
static var RestRequestRootKey: String { get }
}
// Adopt this protocol to codegen an extension adopting Decodable inside a root key
protocol RestResponse {
static var RestResponseRootKey: String { get }
}

Keybase proof

I hereby claim:

  • I am andrewGarson on github.
  • I am andrewgarson (https://keybase.io/andrewgarson) on keybase.
  • I have a public key whose fingerprint is 787A D47D 670D A1F8 8A63 B6FA B8CF D827 C25B FA53

To claim this, I am signing this object: