[Improvement] Codable models #20

Merged
javier merged 4 commits from improvement/codable into main 2023-07-23 14:40:25 +00:00
Showing only changes of commit 579ffd0ce3 - Show all commits

View File

@ -26,10 +26,14 @@ public extension DTO {
}
// MARK: - Decodable
// MARK: - Codable
extension DTO.LastUpdated: Codable {
// MARK: Keys
extension DTO.LastUpdated: Decodable {
enum CodingKeys: String, CodingKey {
case timestamp = "lastUpdated"
}
}