File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Elastic.Documentation.Api.Core
Elastic.Documentation.Api.Lambda Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -9,5 +9,4 @@ namespace Elastic.Documentation.Api.Core;
99
1010
1111[ JsonSerializable ( typeof ( AskAiRequest ) ) ]
12- [ JsonSourceGenerationOptions ( PropertyNamingPolicy = JsonKnownNamingPolicy . CamelCase ) ]
1312public partial class ApiJsonContext : JsonSerializerContext ;
Original file line number Diff line number Diff line change 55using System . Text . Json . Serialization ;
66using Amazon . Lambda . APIGatewayEvents ;
77using Amazon . Lambda . Serialization . SystemTextJson ;
8+ using Elastic . Documentation . Api . Core ;
89using Elastic . Documentation . Api . Infrastructure ;
910
1011var builder = WebApplication . CreateSlimBuilder ( args ) ;
1920
2021app . Run ( ) ;
2122
22- [ JsonSerializable ( typeof ( APIGatewayHttpApiV2ProxyRequest ) , GenerationMode = JsonSourceGenerationMode . Metadata ) ]
23- [ JsonSerializable ( typeof ( APIGatewayHttpApiV2ProxyResponse ) , GenerationMode = JsonSourceGenerationMode . Default ) ]
24- internal sealed partial class LambdaJsonSerializerContext : JsonSerializerContext ;
23+ [ JsonSerializable ( typeof ( APIGatewayHttpApiV2ProxyRequest ) ) ]
24+ [ JsonSerializable ( typeof ( APIGatewayHttpApiV2ProxyResponse ) ) ]
25+ internal sealed partial class LambdaJsonSerializerContext : ApiJsonContext ;
You can’t perform that action at this time.
0 commit comments