We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fd8de6 commit 2b671cdCopy full SHA for 2b671cd
src/api/Elastic.Documentation.Api.Lambda/Program.cs
@@ -9,7 +9,6 @@
9
10
var builder = WebApplication.CreateSlimBuilder(args);
11
12
-builder.Services.AddControllers();
13
builder.Services.AddAWSLambdaHosting(LambdaEventSource.RestApi, new SourceGeneratorLambdaJsonSerializer<LambdaJsonSerializerContext>());
14
builder.Services.AddElasticDocsApiUsecases(Environment.GetEnvironmentVariable("APP_ENVIRONMENT"));
15
@@ -18,9 +17,6 @@
18
17
var v1 = app.MapGroup("/v1");
19
v1.MapElasticDocsApiEndpoints();
20
21
-app.UseHttpsRedirection();
22
-app.MapControllers();
23
-
24
app.Run();
25
26
[JsonSerializable(typeof(APIGatewayHttpApiV2ProxyRequest), GenerationMode = JsonSourceGenerationMode.Metadata)]
0 commit comments