aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/WeatherService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.Api/WeatherService.cs')
-rw-r--r--MediaBrowser.Api/WeatherService.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.Api/WeatherService.cs b/MediaBrowser.Api/WeatherService.cs
index 7c85d849d..d71951182 100644
--- a/MediaBrowser.Api/WeatherService.cs
+++ b/MediaBrowser.Api/WeatherService.cs
@@ -11,12 +11,14 @@ namespace MediaBrowser.Api
/// Class Weather
/// </summary>
[Route("/Weather", "GET")]
+ [ServiceStack.ServiceHost.Api(Description = "Gets weather information for a given location")]
public class GetWeather : IReturn<WeatherInfo>
{
/// <summary>
/// Gets or sets the location.
/// </summary>
/// <value>The location.</value>
+ [ApiMember(Name = "Location", Description = "Us zip / City, State, Country / City, Country", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "GET")]
public string Location { get; set; }
}