Skip to content

Commit f40dfb3

Browse files
dubietyCopilot
andauthored
Azure Maps Weather SDK update (Azure#44004)
* Update weather SDK to latest REST API * Update changelog and readme * Update sdk/maps/azure-maps-weather/src/main/java/com/azure/maps/weather/models/QuarterDayForecast.java Co-authored-by: Copilot <[email protected]> * Fix formatting and spellcheck errors * Update format --------- Co-authored-by: Copilot <[email protected]>
1 parent b61bc69 commit f40dfb3

File tree

12 files changed

+319
-253
lines changed

12 files changed

+319
-253
lines changed

sdk/maps/azure-maps-weather/CHANGELOG.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22

33
## 1.0.0-beta.3 (Unreleased)
44

5-
### Features Added
6-
75
### Breaking Changes
86

9-
### Bugs Fixed
10-
11-
### Other Changes
7+
- Update to latest API spec. `temperatureSummary` returns `past3Hours`, `past6Hours`, `past9Hours`, `past12Hours`, `past18Hours`, and `past24Hours`.
128

139
## 1.0.0-beta.2 (2024-12-27)
1410

sdk/maps/azure-maps-weather/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Various documentation is available to help you get started
2626
<dependency>
2727
<groupId>com.azure</groupId>
2828
<artifactId>azure-maps-weather</artifactId>
29-
<version>1.0.0-beta.2</version>
29+
<version>1.0.0-beta.3</version>
3030
</dependency>
3131
```
3232
[//]: # ({x-version-update-end})

sdk/maps/azure-maps-weather/src/main/java/com/azure/maps/weather/implementation/WeathersImpl.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2016,7 +2016,7 @@ public WeatherAlongRouteResult getWeatherAlongRoute(JsonFormat format, String qu
20162016
* alert providers. The service can return details such as alert type, category, level and detailed description
20172017
* about the active severe alerts for the requested location, like hurricanes, thunderstorms, lightning, heat waves
20182018
* or forest fires. For more information, see [Request severe weather
2019-
* alerts](/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
2019+
* alerts](/azure/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
20202020
*
20212021
* @param format Desired format of the response. Only `json` format is supported.
20222022
* @param coordinates The applicable query specified as a comma separated string composed by latitude followed by
@@ -2067,7 +2067,7 @@ public Mono<Response<SevereWeatherAlertsResult>> getSevereWeatherAlertsWithRespo
20672067
* alert providers. The service can return details such as alert type, category, level and detailed description
20682068
* about the active severe alerts for the requested location, like hurricanes, thunderstorms, lightning, heat waves
20692069
* or forest fires. For more information, see [Request severe weather
2070-
* alerts](/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
2070+
* alerts](/azure/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
20712071
*
20722072
* @param format Desired format of the response. Only `json` format is supported.
20732073
* @param coordinates The applicable query specified as a comma separated string composed by latitude followed by
@@ -2118,7 +2118,7 @@ public Mono<Response<SevereWeatherAlertsResult>> getSevereWeatherAlertsWithRespo
21182118
* alert providers. The service can return details such as alert type, category, level and detailed description
21192119
* about the active severe alerts for the requested location, like hurricanes, thunderstorms, lightning, heat waves
21202120
* or forest fires. For more information, see [Request severe weather
2121-
* alerts](/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
2121+
* alerts](/azure/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
21222122
*
21232123
* @param format Desired format of the response. Only `json` format is supported.
21242124
* @param coordinates The applicable query specified as a comma separated string composed by latitude followed by
@@ -2165,7 +2165,7 @@ public Mono<SevereWeatherAlertsResult> getSevereWeatherAlertsAsync(JsonFormat fo
21652165
* alert providers. The service can return details such as alert type, category, level and detailed description
21662166
* about the active severe alerts for the requested location, like hurricanes, thunderstorms, lightning, heat waves
21672167
* or forest fires. For more information, see [Request severe weather
2168-
* alerts](/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
2168+
* alerts](/azure/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
21692169
*
21702170
* @param format Desired format of the response. Only `json` format is supported.
21712171
* @param coordinates The applicable query specified as a comma separated string composed by latitude followed by
@@ -2213,7 +2213,7 @@ public Mono<SevereWeatherAlertsResult> getSevereWeatherAlertsAsync(JsonFormat fo
22132213
* alert providers. The service can return details such as alert type, category, level and detailed description
22142214
* about the active severe alerts for the requested location, like hurricanes, thunderstorms, lightning, heat waves
22152215
* or forest fires. For more information, see [Request severe weather
2216-
* alerts](/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
2216+
* alerts](/azure/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
22172217
*
22182218
* @param format Desired format of the response. Only `json` format is supported.
22192219
* @param coordinates The applicable query specified as a comma separated string composed by latitude followed by
@@ -2259,7 +2259,7 @@ public Response<SevereWeatherAlertsResult> getSevereWeatherAlertsWithResponse(Js
22592259
* alert providers. The service can return details such as alert type, category, level and detailed description
22602260
* about the active severe alerts for the requested location, like hurricanes, thunderstorms, lightning, heat waves
22612261
* or forest fires. For more information, see [Request severe weather
2262-
* alerts](/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
2262+
* alerts](/azure/azure-maps/how-to-request-weather-data#request-severe-weather-alerts).
22632263
*
22642264
* @param format Desired format of the response. Only `json` format is supported.
22652265
* @param coordinates The applicable query specified as a comma separated string composed by latitude followed by

0 commit comments

Comments
 (0)