Files
SVSimServer/SVSim.EmulatedEntrypoint/Models/Dtos/Common/EmptyResponse.cs
2026-05-23 15:47:23 -04:00

17 lines
514 B
C#

using MessagePack;
using System.Text.Json.Serialization;
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Common;
/// <summary>
/// Shared empty response. Used for endpoints whose spec mock is `"data": {}`
/// (set_deck_redis, update_order, delete_deck_list, etc.). Includes a sentinel
/// nullable field so MessagePack-CSharp emits a string-keyed empty map cleanly.
/// </summary>
[MessagePackObject]
public class EmptyResponse
{
[JsonPropertyName("_")]
[Key("_")] public object? Reserved { get; set; }
}