Added more security and metrics

This commit is contained in:
2026-06-22 07:28:03 +02:00
committed by Jeroen Saey
parent 2a1f7b77ee
commit cb2d111ad7
27 changed files with 1638 additions and 884 deletions
+9 -9
View File
@@ -1,4 +1,4 @@
using System.Text.Json.Serialization;
using EonaCat.Json;
namespace EonaCat.DoxaApi.Models
{
@@ -7,28 +7,28 @@ namespace EonaCat.DoxaApi.Models
public sealed class SchemaModel
{
[JsonPropertyName("type")]
[JsonProperty("type")]
public string Type { get; set; } = "object";
[JsonPropertyName("format")]
[JsonProperty("format")]
public string? Format { get; set; }
[JsonPropertyName("refName")]
[JsonProperty("refName")]
public string? RefName { get; set; }
[JsonPropertyName("items")]
[JsonProperty("items")]
public SchemaModel? Items { get; set; }
[JsonPropertyName("properties")]
[JsonProperty("properties")]
public Dictionary<string, SchemaModel>? Properties { get; set; }
[JsonPropertyName("required")]
[JsonProperty("required")]
public List<string>? Required { get; set; }
[JsonPropertyName("enumValues")]
[JsonProperty("enumValues")]
public List<string>? EnumValues { get; set; }
[JsonPropertyName("nullable")]
[JsonProperty("nullable")]
public bool Nullable { get; set; }
}
}