Added more security and metrics
This commit is contained in:
@@ -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; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user