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
+7 -7
View File
@@ -1,4 +1,4 @@
using System.Text.Json.Serialization;
using EonaCat.Json;
namespace EonaCat.DoxaApi.Models
{
@@ -7,22 +7,22 @@ namespace EonaCat.DoxaApi.Models
public sealed class ApiParameter
{
[JsonPropertyName("name")]
[JsonProperty("name")]
public string Name { get; set; } = "";
[JsonPropertyName("in")]
[JsonProperty("in")]
public string In { get; set; } = "query";
[JsonPropertyName("required")]
[JsonProperty("required")]
public bool Required { get; set; }
[JsonPropertyName("description")]
[JsonProperty("description")]
public string? Description { get; set; }
[JsonPropertyName("schema")]
[JsonProperty("schema")]
public SchemaModel Schema { get; set; } = new();
[JsonPropertyName("default")]
[JsonProperty("default")]
public object? Default { get; set; }
}
}