Skip to content

Commit

Permalink
Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
sxg committed Mar 15, 2019
1 parent 8a0f650 commit d6ecadd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/DataPoint.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ public struct DataPoint: Decodable {
/// The time at which the maximum UV index occurs during the given day. Only defined on `Forecast`'s `daily` `DataPoint`s.
public let uvIndexTime: Date?

/// Map `DataPoint`'s properties to JSON keys
/// Map `DataPoint`'s properties to JSON keys.
private enum CodingKeys: String, CodingKey {
case precipitationType = "precipType"
case time, summary, icon, sunriseTime, sunsetTime, moonPhase, nearestStormDistance, nearestStormBearing, precipitationIntensity, precipitationIntensityMax, precipitationIntensityMaxTime, precipitationProbability, precipitationAccumulation, temperature, temperatureLow, temperatureLowTime, temperatureHigh, temperatureHighTime, apparentTemperature, apparentTemperatureLow, apparentTemperatureLowTime, apparentTemperatureHigh, apparentTemperatureHighTime, dewPoint, windGust, windSpeed, windBearing, cloudCover, humidity, pressure, visibility, ozone, uvIndex, uvIndexTime
Expand Down
2 changes: 1 addition & 1 deletion Source/Flag.swift
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public struct Flag: Decodable {
/// The presence of this property indicates which units were used for the data in this request. `US` units are default.
public let units: Units

/// Maps `Flag`'s properties to JSON keys
/// Maps `Flag`'s properties to JSON keys.
private enum CodingKeys: String, CodingKey {
case darkSkyUnavailable = "darksky-unavailable"
case darkSkyStations = "darksky-stations"
Expand Down

0 comments on commit d6ecadd

Please sign in to comment.