23 lines
659 B
C#
23 lines
659 B
C#
using EonaCat.Json;
|
|
|
|
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
|
|
{
|
|
[JsonProperty("required")]
|
|
public bool Required { get; set; }
|
|
|
|
[JsonProperty("contentType")]
|
|
public string ContentType { get; set; } = "application/json";
|
|
|
|
[JsonProperty("schema")]
|
|
public SchemaModel Schema { get; set; } = new();
|
|
|
|
[JsonProperty("example")]
|
|
public string? Example { get; set; }
|
|
}
|
|
}
|