using System.Text.Json.Serialization; namespace FrameworkDAL.DTO.EventSub { /// /// One entry in the JSON array returned by GET /dapr/subscribe. /// Dapr requires lowercase property names — JsonPropertyName enforces this /// regardless of controller serialiser settings. /// public class DaprSubscriptionDTO { [JsonPropertyName("pubsubname")] public string PubsubName { get; set; } = string.Empty; [JsonPropertyName("topic")] public string Topic { get; set; } = string.Empty; [JsonPropertyName("route")] public string Route { get; set; } = string.Empty; } }