Add project files.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using Core.Blueprint.Service.UseCases.GetSampleItems.Input;
|
||||
using Core.Blueprint.Service.UseCases.GetSecret.Input;
|
||||
using FluentValidation;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Core.Blueprint.Service.UseCases.GetSecret.Validator
|
||||
{
|
||||
[ExcludeFromCodeCoverage]
|
||||
public class GetSecretValidator : AbstractValidator<GetSecretRequest>
|
||||
{
|
||||
public GetSecretValidator()
|
||||
{
|
||||
RuleFor(i => i.Secret).NotNull().NotEmpty().WithMessage("Is required.");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user