aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Api/WeatherService.cs
diff options
context:
space:
mode:
authorLukePulverenti <luke.pulverenti@gmail.com>2013-03-05 00:08:27 -0500
committerLukePulverenti <luke.pulverenti@gmail.com>2013-03-05 00:08:27 -0500
commit8141c777c3db8ba09e8f628e60d69644c25a3156 (patch)
treee04d0ef293adbd0c46a55ce9cd194aedb1d4c6e5 /MediaBrowser.Api/WeatherService.cs
parent176d09016497524c83f0ff9f0cc99a5ae433dad5 (diff)
added some attributes for api docs
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; }
}