17 lines
405 B
C#
17 lines
405 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace EonaCat.DoxaApi.Models
|
|
{
|
|
public sealed class ApiGroup
|
|
{
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = "";
|
|
|
|
[JsonPropertyName("description")]
|
|
public string? Description { get; set; }
|
|
|
|
[JsonPropertyName("endpoints")]
|
|
public List<ApiEndpoint> Endpoints { get; set; } = new();
|
|
}
|
|
}
|