added schema generation

This commit is contained in:
kay.one 2013-04-30 23:43:14 -07:00 committed by Keivan Beigi
parent e8c832ac18
commit a66d43b806
11 changed files with 150 additions and 15 deletions

View file

@ -0,0 +1,18 @@
using System;
namespace NzbDrone.Api.ClientSchema
{
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class FieldDefinitionAttribute : Attribute
{
public FieldDefinitionAttribute(int order)
{
Order = order;
}
public int Order { get; private set; }
public string Label { get; set; }
public string HelpText { get; set; }
}
}