feat: add DTOs for basic endpoints

This commit is contained in:
2026-01-28 05:17:11 +01:00
parent 03940a99ba
commit 6736ce8c13
6 changed files with 169 additions and 0 deletions

13
DTOs/ErrorDTO.cs Normal file
View File

@@ -0,0 +1,13 @@
using System.Text.Json.Serialization;
using System.Xml.Serialization;
namespace Shadow.DTOs;
public class ErrorDTO
{
[JsonPropertyName("code")]
public int code { get; set; } = 0;
[JsonPropertyName("message")]
public string message { get; set; } = "Generic error";
}