Implements POST /account/update_name — writes Viewer.DisplayName and returns an empty array per the prod capture. Includes TDD test covering the persist side-effect. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
355 B
C#
14 lines
355 B
C#
using System.Text.Json.Serialization;
|
|
using MessagePack;
|
|
using SVSim.EmulatedEntrypoint.Models.Dtos.Requests;
|
|
|
|
namespace SVSim.EmulatedEntrypoint.Models.Dtos.Requests.Account;
|
|
|
|
[MessagePackObject]
|
|
public class AccountUpdateNameRequest : BaseRequest
|
|
{
|
|
[JsonPropertyName("name")]
|
|
[Key("name")]
|
|
public string Name { get; set; } = string.Empty;
|
|
}
|