20 lines
736 B
C#
20 lines
736 B
C#
using System.Text.Json.Serialization;
|
|
using Moonlight.Shared.Http.Requests.Users;
|
|
using Moonlight.Shared.Http.Responses;
|
|
using Moonlight.Shared.Http.Responses.Admin;
|
|
using Moonlight.Shared.Http.Responses.Auth;
|
|
using Moonlight.Shared.Http.Responses.Users;
|
|
|
|
namespace Moonlight.Shared.Http;
|
|
|
|
[JsonSerializable(typeof(CreateUserRequest))]
|
|
[JsonSerializable(typeof(UpdateUserRequest))]
|
|
[JsonSerializable(typeof(ClaimResponse[]))]
|
|
[JsonSerializable(typeof(SchemeResponse[]))]
|
|
[JsonSerializable(typeof(DiagnoseResultResponse[]))]
|
|
[JsonSerializable(typeof(UserResponse))]
|
|
[JsonSerializable(typeof(SystemInfoResponse))]
|
|
[JsonSerializable(typeof(PagedData<UserResponse>))]
|
|
public partial class SerializationContext : JsonSerializerContext
|
|
{
|
|
} |