Skip to content

Commit 8059d6e

Browse files
committed
Fix
1 parent 9b66b31 commit 8059d6e

File tree

1 file changed

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

1 file changed

+2
-3
lines changed

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

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.Text.Json.Serialization;
66
using Amazon.Lambda.APIGatewayEvents;
77
using Amazon.Lambda.Serialization.SystemTextJson;
8-
using Elastic.Documentation.Api.Core;
98
using Elastic.Documentation.Api.Core.AskAi;
109
using Elastic.Documentation.Api.Infrastructure;
1110

@@ -21,7 +20,7 @@
2120

2221
app.Run();
2322

24-
[JsonSerializable(typeof(APIGatewayHttpApiV2ProxyRequest))]
25-
[JsonSerializable(typeof(APIGatewayHttpApiV2ProxyResponse))]
23+
[JsonSerializable(typeof(APIGatewayProxyRequest))]
24+
[JsonSerializable(typeof(APIGatewayProxyResponse))]
2625
[JsonSerializable(typeof(AskAiRequest))]
2726
internal sealed partial class LambdaJsonSerializerContext : JsonSerializerContext;

0 commit comments

Comments
 (0)