diff --git a/OpenWeatherKit.podspec b/OpenWeatherKit.podspec index 76deba4..c02dc8f 100644 --- a/OpenWeatherKit.podspec +++ b/OpenWeatherKit.podspec @@ -1,6 +1,6 @@ Pod::Spec.new do |s| s.name = "OpenWeatherKit" - s.version = "2.1.0" + s.version = "2.2.0" s.summary = "Use easly OpenWeatherMap with simple api" s.description = <<-DESC OpenWeatherKit is a simple library for OpenWeatherMap API diff --git a/Sources/Model/Sys.swift b/Sources/Model/Sys.swift index 16caacf..492f705 100644 --- a/Sources/Model/Sys.swift +++ b/Sources/Model/Sys.swift @@ -9,7 +9,7 @@ import Foundation public struct Sys: Codable { - public let id: Int + public let id: Int? public let type: Int? public let message: Double? public let country: String? diff --git a/Sources/Model/WeatherData.swift b/Sources/Model/WeatherData.swift index 1c3e8df..4b39603 100644 --- a/Sources/Model/WeatherData.swift +++ b/Sources/Model/WeatherData.swift @@ -9,7 +9,7 @@ import Foundation public struct WeatherData: Codable { - public let id: Int + public let id: Int? public let main: String? public let description: String? public let icon: String?