File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
src/api/Elastic.Documentation.Api.Lambda Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change 22// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33// See the LICENSE file in the project root for more information
44
5+ using System . Text . Json ;
56using System . Text . Json . Serialization ;
67using Amazon . Lambda . APIGatewayEvents ;
78using Amazon . Lambda . Serialization . SystemTextJson ;
9+ using Elastic . Documentation . Api . Core . AskAi ;
810using Elastic . Documentation . Api . Infrastructure ;
911
1012var builder = WebApplication . CreateSlimBuilder ( args ) ;
1921
2022app . Run ( ) ;
2123
22- [ JsonSerializable ( typeof ( APIGatewayHttpApiV2ProxyRequest ) , GenerationMode = JsonSourceGenerationMode . Metadata ) ]
23- [ JsonSerializable ( typeof ( APIGatewayHttpApiV2ProxyResponse ) , GenerationMode = JsonSourceGenerationMode . Default ) ]
24+ [ JsonSerializable ( typeof ( APIGatewayProxyRequest ) ) ]
25+ [ JsonSerializable ( typeof ( APIGatewayProxyResponse ) ) ]
26+ [ JsonSerializable ( typeof ( AskAiRequest ) ) ]
2427internal sealed partial class LambdaJsonSerializerContext : JsonSerializerContext ;
You can’t perform that action at this time.
0 commit comments