More work on the api and documentation #222 #205

This commit is contained in:
tidusjar 2016-05-19 14:29:41 +01:00
parent 9b4ae2c486
commit 187a59261a
7 changed files with 186 additions and 19 deletions

View file

@ -34,6 +34,10 @@ namespace PlexRequests.UI.ModelDataProviders
{
public class RequestedModelDataProvider : ISwaggerModelDataProvider
{
/// <summary>
/// Gets the model data for the api documentation.
/// </summary>
/// <returns></returns>
public SwaggerModelData GetModelData()
{
return SwaggerModelData.ForType<RequestedModel>(with =>