Initial version
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
namespace EonaCat.DoxaApi.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class DoxaApiDescriptionAttribute : Attribute
|
||||
{
|
||||
public string Description { get; }
|
||||
public DoxaApiDescriptionAttribute(string description) => Description = description;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace EonaCat.DoxaApi.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class DoxaApiExampleAttribute : Attribute
|
||||
{
|
||||
public string Json { get; }
|
||||
public DoxaApiExampleAttribute(string json) => Json = json;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace EonaCat.DoxaApi.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
|
||||
public sealed class DoxaApiGroupAttribute : Attribute
|
||||
{
|
||||
public string Name { get; }
|
||||
public DoxaApiGroupAttribute(string name) => Name = name;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace EonaCat.DoxaApi.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method)]
|
||||
public sealed class DoxaApiHiddenAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace EonaCat.DoxaApi.Attributes
|
||||
{
|
||||
[AttributeUsage(AttributeTargets.Method)]
|
||||
public sealed class DoxaApiSummaryAttribute : Attribute
|
||||
{
|
||||
public string Summary { get; }
|
||||
public DoxaApiSummaryAttribute(string summary) => Summary = summary;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user