mirror of
https://github.com/XFox111/bonch-calendar.git
synced 2026-06-30 10:52:41 +03:00
feat!: native AOT for api app #26
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Text.Json.Serialization;
|
||||
using BonchCalendar.Health;
|
||||
|
||||
namespace BonchCalendar;
|
||||
|
||||
[JsonSerializable(typeof(string))]
|
||||
[JsonSerializable(typeof(string[]))]
|
||||
[JsonSerializable(typeof(int))]
|
||||
[JsonSerializable(typeof(bool))]
|
||||
[JsonSerializable(typeof(StatsResponse))]
|
||||
[JsonSerializable(typeof(Dictionary<int, string>))]
|
||||
[JsonSerializable(typeof(HealthResponse))]
|
||||
internal partial class AppJsonSerializerContext : JsonSerializerContext
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user