Initial version

This commit is contained in:
2026-06-20 10:24:36 +02:00
parent f85b83d90f
commit 7e1173bf2c
40 changed files with 5438 additions and 63 deletions
@@ -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;
}
}