Moved request and responses dtos to correct namespace

This commit is contained in:
2026-01-29 12:45:09 +01:00
parent e1207b8d9b
commit 8181404f0c
47 changed files with 68 additions and 71 deletions

View File

@@ -0,0 +1,16 @@
using System.ComponentModel.DataAnnotations;
namespace Moonlight.Shared.Http.Requests.Admin.ApiKeys;
public class CreateApiKeyDto
{
[Required]
[MaxLength(30)]
public string Name { get; set; }
[MaxLength(300)] public string Description { get; set; } = "";
[Required]
public string[] Permissions { get; set; }
}