Package com.weather.info.rest.v1
Class WeatherController
java.lang.Object
com.weather.info.rest.v1.WeatherController
WeatherController has Rest Endpoint that is used to fetch the weather information.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<WeatherResponseVO>
getWeather
(String date, long pincode)
-
Constructor Details
-
WeatherController
public WeatherController()
-
-
Method Details
-
getWeather
@GetMapping("/get") public org.springframework.http.ResponseEntity<WeatherResponseVO> getWeather(@RequestParam String date, @RequestParam long pincode)
-