namespace DodoSSH.Api.Tests;

/// <summary>
/// Minimal RFC 9457 shape, for asserting on the stable <c>code</c> extension.
/// </summary>
/// <remarks>
/// Tests assert on <see cref="Code"/> rather than on <see cref="Detail"/>. The code is part of the
/// contract and the prose is not, so matching prose would make every wording improvement a test
/// failure — and would tempt someone to keep a bad message because a test depends on it.
/// </remarks>
internal sealed record JsonProblem(string? Type, string? Detail, string? Code);
