Skip to content

Commit 9b66b31

Browse files
committed
ok
1 parent 1e9cdc6 commit 9b66b31

File tree

1 file changed

+3
-1
lines changed
  • src/api/Elastic.Documentation.Api.Lambda

1 file changed

+3
-1
lines changed

src/api/Elastic.Documentation.Api.Lambda/Program.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
using Amazon.Lambda.APIGatewayEvents;
77
using Amazon.Lambda.Serialization.SystemTextJson;
88
using Elastic.Documentation.Api.Core;
9+
using Elastic.Documentation.Api.Core.AskAi;
910
using Elastic.Documentation.Api.Infrastructure;
1011

1112
var builder = WebApplication.CreateSlimBuilder(args);
@@ -22,4 +23,5 @@
2223

2324
[JsonSerializable(typeof(APIGatewayHttpApiV2ProxyRequest))]
2425
[JsonSerializable(typeof(APIGatewayHttpApiV2ProxyResponse))]
25-
internal sealed partial class LambdaJsonSerializerContext : ApiJsonContext;
26+
[JsonSerializable(typeof(AskAiRequest))]
27+
internal sealed partial class LambdaJsonSerializerContext : JsonSerializerContext;

0 commit comments

Comments
 (0)