Added models listing endpoint

This commit is contained in:
2025-12-20 22:02:57 +01:00
parent e4a711fcbd
commit ae2b9e9f41
3 changed files with 126 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
using System.Text.Json.Serialization;
namespace Shared.Models;
public class ServerGetModelsResult
{
[JsonPropertyName("Success")]
public required bool Success { get; set; }
[JsonPropertyName("Message")]
public string? Message { get; set; }
[JsonPropertyName("Models")]
public string[]? Models { get; set; }
}