trying to localize

This commit is contained in:
Paul Schneider 2019-06-16 01:10:52 +01:00
commit b9a75b71b8
32 changed files with 510 additions and 68 deletions

View file

@ -1,4 +1,5 @@
using System.ComponentModel.DataAnnotations;
using Yavsc.Attributes.Validation;
namespace Yavsc.ApiControllers
{
@ -7,7 +8,7 @@ namespace Yavsc.ApiControllers
public string ApiKey { get ; set; }
[Required]
public string Component { get ; set; }
[Required][StringLength(1024)]
[Required][YaStringLength(1024)]
public string ExceptionObjectJson { get ; set; }
}
}