You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: swift-java-weather-app/weather-lib/Sources/WeatherLibrary/openapi.yaml
+72-72Lines changed: 72 additions & 72 deletions
Original file line number
Diff line number
Diff line change
@@ -17,78 +17,78 @@ paths:
17
17
- url: https://api.open-meteo.com
18
18
get:
19
19
tags:
20
-
- Weather Forecast APIs
20
+
- Weather Forecast APIs
21
21
summary: 7 day weather forecast for coordinates
22
22
description: 7 day weather variables in hourly and daily resolution for given WGS84 latitude and longitude coordinates. Available worldwide.
23
23
parameters:
24
-
- name: hourly
25
-
in: query
26
-
explode: false
27
-
schema:
28
-
type: array
29
-
items:
30
-
type: string
31
-
enum:
32
-
- temperature_2m
33
-
- relative_humidity_2m
34
-
- dew_point_2m
35
-
- apparent_temperature
36
-
- pressure_msl
37
-
- cloud_cover
38
-
- cloud_cover_low
39
-
- cloud_cover_mid
40
-
- cloud_cover_high
41
-
- wind_speed_10m
42
-
- wind_speed_80m
43
-
- wind_speed_120m
44
-
- wind_speed_180m
45
-
- wind_direction_10m
46
-
- wind_direction_80m
47
-
- wind_direction_120m
48
-
- wind_direction_180m
49
-
- wind_gusts_10m
50
-
- shortwave_radiation
51
-
- direct_radiation
52
-
- direct_normal_irradiance
53
-
- diffuse_radiation
54
-
- vapour_pressure_deficit
55
-
- evapotranspiration
56
-
- precipitation
57
-
- weather_code
58
-
- snow_height
59
-
- freezing_level_height
60
-
- soil_temperature_0cm
61
-
- soil_temperature_6cm
62
-
- soil_temperature_18cm
63
-
- soil_temperature_54cm
64
-
- soil_moisture_0_1cm
65
-
- soil_moisture_1_3cm
66
-
- soil_moisture_3_9cm
67
-
- soil_moisture_9_27cm
68
-
- soil_moisture_27_81cm
24
+
- name: hourly
25
+
in: query
26
+
explode: false
27
+
schema:
28
+
type: array
29
+
items:
30
+
type: string
31
+
enum:
32
+
- temperature_2m
33
+
- relative_humidity_2m
34
+
- dew_point_2m
35
+
- apparent_temperature
36
+
- pressure_msl
37
+
- cloud_cover
38
+
- cloud_cover_low
39
+
- cloud_cover_mid
40
+
- cloud_cover_high
41
+
- wind_speed_10m
42
+
- wind_speed_80m
43
+
- wind_speed_120m
44
+
- wind_speed_180m
45
+
- wind_direction_10m
46
+
- wind_direction_80m
47
+
- wind_direction_120m
48
+
- wind_direction_180m
49
+
- wind_gusts_10m
50
+
- shortwave_radiation
51
+
- direct_radiation
52
+
- direct_normal_irradiance
53
+
- diffuse_radiation
54
+
- vapour_pressure_deficit
55
+
- evapotranspiration
56
+
- precipitation
57
+
- weather_code
58
+
- snow_height
59
+
- freezing_level_height
60
+
- soil_temperature_0cm
61
+
- soil_temperature_6cm
62
+
- soil_temperature_18cm
63
+
- soil_temperature_54cm
64
+
- soil_moisture_0_1cm
65
+
- soil_moisture_1_3cm
66
+
- soil_moisture_3_9cm
67
+
- soil_moisture_9_27cm
68
+
- soil_moisture_27_81cm
69
69
- name: daily
70
70
in: query
71
71
schema:
72
72
type: array
73
73
items:
74
74
type: string
75
75
enum:
76
-
- temperature_2m_max
77
-
- temperature_2m_min
78
-
- apparent_temperature_max
79
-
- apparent_temperature_min
80
-
- precipitation_sum
81
-
- precipitation_hours
82
-
- weather_code
83
-
- sunrise
84
-
- sunset
85
-
- wind_speed_10m_max
86
-
- wind_gusts_10m_max
87
-
- wind_direction_10m_dominant
88
-
- shortwave_radiation_sum
89
-
- uv_index_max
90
-
- uv_index_clear_sky_max
91
-
- et0_fao_evapotranspiration
76
+
- temperature_2m_max
77
+
- temperature_2m_min
78
+
- apparent_temperature_max
79
+
- apparent_temperature_min
80
+
- precipitation_sum
81
+
- precipitation_hours
82
+
- weather_code
83
+
- sunrise
84
+
- sunset
85
+
- wind_speed_10m_max
86
+
- wind_gusts_10m_max
87
+
- wind_direction_10m_dominant
88
+
- shortwave_radiation_sum
89
+
- uv_index_max
90
+
- uv_index_clear_sky_max
91
+
- et0_fao_evapotranspiration
92
92
- name: latitude
93
93
in: query
94
94
required: true
@@ -113,27 +113,27 @@ paths:
113
113
type: string
114
114
default: celsius
115
115
enum:
116
-
- celsius
117
-
- fahrenheit
116
+
- celsius
117
+
- fahrenheit
118
118
- name: wind_speed_unit
119
119
in: query
120
120
schema:
121
121
type: string
122
122
default: kmh
123
123
enum:
124
-
- kmh
125
-
- ms
126
-
- mph
127
-
- kn
124
+
- kmh
125
+
- ms
126
+
- mph
127
+
- kn
128
128
- name: timeformat
129
129
in: query
130
130
description: If format `unixtime` is selected, all time values are returned in UNIX epoch time in seconds. Please not that all time is then in GMT+0! For daily values with unix timestamp, please apply `utc_offset_seconds` again to get the correct date.
131
131
schema:
132
132
type: string
133
133
default: iso8601
134
134
enum:
135
-
- iso8601
136
-
- unixtime
135
+
- iso8601
136
+
- unixtime
137
137
- name: timezone
138
138
in: query
139
139
description: If `timezone` is set, all timestamps are returned as local-time and data is returned starting at 0:00 local-time. Any time zone name from the [time zone database](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones) is supported.
0 commit comments