feat: add default value attribute

This commit is contained in:
Polianin Nikita 2024-06-01 10:58:11 +03:00
parent 78f589bb18
commit b2a0a6dd7c

View File

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