20 lines
506 B
C#
20 lines
506 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace EonaCat.DoxaApi.Models
|
|
{
|
|
public sealed class RequestBodyModel
|
|
{
|
|
[JsonPropertyName("required")]
|
|
public bool Required { get; set; }
|
|
|
|
[JsonPropertyName("contentType")]
|
|
public string ContentType { get; set; } = "application/json";
|
|
|
|
[JsonPropertyName("schema")]
|
|
public SchemaModel Schema { get; set; } = new();
|
|
|
|
[JsonPropertyName("example")]
|
|
public string? Example { get; set; }
|
|
}
|
|
}
|