File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/api/Elastic.Documentation.Api.Lambda Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 5353 process . Refresh ( ) ;
5454 Console . WriteLine ( $ "Elastic OTel configured. Memory: { process . WorkingSet64 / 1024 / 1024 } MB") ;
5555
56- _ = builder . Services . AddAWSLambdaHosting ( LambdaEventSource . RestApi , new SourceGeneratorLambdaJsonSerializer < LambdaJsonSerializerContext > ( ) ) ;
56+ _ = builder . Services . AddAWSLambdaHosting ( LambdaEventSource . HttpApi , new SourceGeneratorLambdaJsonSerializer < LambdaJsonSerializerContext > ( ) ) ;
5757 process . Refresh ( ) ;
5858 Console . WriteLine ( $ "AWS Lambda hosting configured. Memory: { process . WorkingSet64 / 1024 / 1024 } MB") ;
5959
8787 throw ;
8888}
8989
90- [ JsonSerializable ( typeof ( APIGatewayProxyRequest ) ) ]
91- [ JsonSerializable ( typeof ( APIGatewayProxyResponse ) ) ]
90+ [ JsonSerializable ( typeof ( APIGatewayHttpApiV2ProxyRequest ) ) ]
91+ [ JsonSerializable ( typeof ( APIGatewayHttpApiV2ProxyResponse ) ) ]
9292[ JsonSerializable ( typeof ( AskAiRequest ) ) ]
9393[ JsonSerializable ( typeof ( SearchRequest ) ) ]
9494[ JsonSerializable ( typeof ( SearchResponse ) ) ]
You can’t perform that action at this time.
0 commit comments