using System.Text.Json.Serialization; namespace EonaCat.DoxaApi.Models { public sealed class ApiEndpoint { [JsonPropertyName("operationId")] public string OperationId { get; set; } = ""; [JsonPropertyName("summary")] public string? Summary { get; set; } [JsonPropertyName("description")] public string? Description { get; set; } [JsonPropertyName("method")] public string Method { get; set; } = "GET"; [JsonPropertyName("path")] public string Path { get; set; } = "/"; [JsonPropertyName("deprecated")] public bool Deprecated { get; set; } [JsonPropertyName("tags")] public List Tags { get; set; } = new(); [JsonPropertyName("parameters")] public List Parameters { get; set; } = new(); [JsonPropertyName("requestBody")] public RequestBodyModel? RequestBody { get; set; } [JsonPropertyName("responses")] public List Responses { get; set; } = new(); } }