feat: add default value attribute
This commit is contained in:
parent
78f589bb18
commit
b2a0a6dd7c
9
Endpoint/Common/Attributes/SwaggerDefaultAttribute.cs
Normal file
9
Endpoint/Common/Attributes/SwaggerDefaultAttribute.cs
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user