Files
EonaCat.DoxaApi/DoxaApi/Models/RequestBodyModel.cs
T
2026-06-21 20:10:02 +02:00

23 lines
693 B
C#

using System.Text.Json.Serialization;
namespace EonaCat.DoxaApi.Models
{
// This file is part of the EonaCat project(s) which is released under the Apache License.
// See the LICENSE file or go to https://EonaCat.com/license for full license details.
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; }
}
}