MireaBackend/Endpoint/Common/Attributes/SwaggerDefaultAttribute.cs

9 lines
220 B
C#

using System;
namespace Mirea.Api.Endpoint.Common.Attributes;
[AttributeUsage(AttributeTargets.Parameter)]
public class SwaggerDefaultAttribute(string value) : Attribute
{
public string Value { get; } = value;
}