Skip to content

Commit

Permalink
Source gen
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Andersen committed Oct 30, 2023
1 parent 754229e commit c666051
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/Kibana.Alerts/Model/Classes.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
using HandlebarsDotNet.ValueProviders;
using System.Text.Json.Serialization;
using System.Text.Json.Serialization;

namespace Kibana.Alerts.Model;

//[JsonSerializable(typeof(Alert))]
//[JsonSerializable(typeof(Params))]
//[JsonSerializable(typeof(ExecutionStatus))]
[JsonSerializable(typeof(Document))]
public partial class DocumentContext : JsonSerializerContext
{
}

public class ExecutionStatus
{
[JsonPropertyName("status")]
Expand Down

0 comments on commit c666051

Please sign in to comment.