16 lines
437 B
C#
16 lines
437 B
C#
using Kreta.Core;
|
|
using Kreta.Core.Enum;
|
|
using Kreta.Naplo.Dto.V3.Exception;
|
|
using Swashbuckle.Examples;
|
|
|
|
namespace Kreta.Naplo.WebApi.V3.Documentation
|
|
{
|
|
public class TimeOutExample : NaploExceptionResponseDto, IExamplesProvider
|
|
{
|
|
public TimeOutExample() : base(BlExceptionType.TimeOut, BlExceptionType.TimeOut.ToDisplayName())
|
|
{
|
|
}
|
|
|
|
public object GetExamples() => new TimeOutExample();
|
|
}
|
|
}
|