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,16 +7,16 @@ namespace EonaCat.DoxaApi.Models
|
||||
|
||||
public sealed class RequestBodyModel
|
||||
{
|
||||
[JsonPropertyName("required")]
|
||||
[JsonProperty("required")]
|
||||
public bool Required { get; set; }
|
||||
|
||||
[JsonPropertyName("contentType")]
|
||||
[JsonProperty("contentType")]
|
||||
public string ContentType { get; set; } = "application/json";
|
||||
|
||||
[JsonPropertyName("schema")]
|
||||
[JsonProperty("schema")]
|
||||
public SchemaModel Schema { get; set; } = new();
|
||||
|
||||
[JsonPropertyName("example")]
|
||||
[JsonProperty("example")]
|
||||
public string? Example { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user