diff options
| author | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-05 00:08:27 -0500 |
|---|---|---|
| committer | LukePulverenti <luke.pulverenti@gmail.com> | 2013-03-05 00:08:27 -0500 |
| commit | 8141c777c3db8ba09e8f628e60d69644c25a3156 (patch) | |
| tree | e04d0ef293adbd0c46a55ce9cd194aedb1d4c6e5 /MediaBrowser.Api/WeatherService.cs | |
| parent | 176d09016497524c83f0ff9f0cc99a5ae433dad5 (diff) | |
added some attributes for api docs
Diffstat (limited to 'MediaBrowser.Api/WeatherService.cs')
| -rw-r--r-- | MediaBrowser.Api/WeatherService.cs | 2 |
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; } } |
