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
+31
View File
@@ -0,0 +1,31 @@
using System.Text.Json.Serialization;
namespace EonaCat.DoxaApi.Models
{
public sealed class SchemaModel
{
[JsonPropertyName("type")]
public string Type { get; set; } = "object";
[JsonPropertyName("format")]
public string? Format { get; set; }
[JsonPropertyName("refName")]
public string? RefName { get; set; }
[JsonPropertyName("items")]
public SchemaModel? Items { get; set; }
[JsonPropertyName("properties")]
public Dictionary<string, SchemaModel>? Properties { get; set; }
[JsonPropertyName("required")]
public List<string>? Required { get; set; }
[JsonPropertyName("enumValues")]
public List<string>? EnumValues { get; set; }
[JsonPropertyName("nullable")]
public bool Nullable { get; set; }
}
}