mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-15 23:29:46 +00:00
15 lines
497 B
C#
15 lines
497 B
C#
using Microsoft.Extensions.Diagnostics.HealthChecks;
|
|
using System.Text.Json;
|
|
using System.Text.Json.Serialization;
|
|
|
|
namespace Daybreak.API.Models;
|
|
|
|
public sealed class HealthCheckEntryResponse
|
|
{
|
|
[JsonConverter(typeof(JsonStringEnumConverter<HealthStatus>))]
|
|
public required HealthStatus Status { get; set; }
|
|
public required string Description { get; set; }
|
|
public required Dictionary<string, JsonElement> Data { get; set; }
|
|
public required List<string> Tags { get; set; }
|
|
}
|