From 8141c777c3db8ba09e8f628e60d69644c25a3156 Mon Sep 17 00:00:00 2001 From: LukePulverenti Date: Tue, 5 Mar 2013 00:08:27 -0500 Subject: added some attributes for api docs --- MediaBrowser.Api/WeatherService.cs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'MediaBrowser.Api/WeatherService.cs') 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 /// [Route("/Weather", "GET")] + [ServiceStack.ServiceHost.Api(Description = "Gets weather information for a given location")] public class GetWeather : IReturn { /// /// Gets or sets the location. /// /// The location. + [ApiMember(Name = "Location", Description = "Us zip / City, State, Country / City, Country", IsRequired = true, DataType = "string", ParameterType = "query", Verb = "GET")] public string Location { get; set; } } -- cgit v1.2.3