fix: add missing type property to image source model

This commit is contained in:
Stevan Freeborn
2024-07-18 23:46:55 -05:00
parent 999a255468
commit 0a692d1b9a
3 changed files with 66 additions and 0 deletions
@@ -20,6 +20,11 @@ public class ImageSource
/// </summary>
public string Data { get; init; } = string.Empty;
/// <summary>
/// Gets the type of encoding of the image data.
/// </summary>
public string Type { get; init; } = "base64";
[JsonConstructor]
internal ImageSource()
{