20 lines
526 B
C#
20 lines
526 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace EonaCat.DoxaApi.Models
|
|
{
|
|
public sealed class ApiDocument
|
|
{
|
|
[JsonPropertyName("info")]
|
|
public ApiInfo Info { get; set; } = new();
|
|
|
|
[JsonPropertyName("servers")]
|
|
public List<string> Servers { get; set; } = new();
|
|
|
|
[JsonPropertyName("groups")]
|
|
public List<ApiGroup> Groups { get; set; } = new();
|
|
|
|
[JsonPropertyName("schemas")]
|
|
public Dictionary<string, SchemaModel> Schemas { get; set; } = new();
|
|
}
|
|
}
|