File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Microsoft.Azure.Functions.Worker.Extensions.OpenApi.FunctionApp.OutOfProc
Microsoft.Azure.WebJobs.Extensions.OpenApi.FunctionApp.InProc Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ public static void Main()
22
22
. ConfigureOpenApi ( )
23
23
. ConfigureServices ( services =>
24
24
{
25
- services . AddSingleton < Fixture > ( )
25
+ services . AddSingleton < Fixture > ( new Fixture ( ) )
26
26
. AddSingleton < IOpenApiConfigurationOptions > ( _ =>
27
27
{
28
28
var options = new OpenApiConfigurationOptions ( )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public class Startup : FunctionsStartup
18
18
{
19
19
public override void Configure ( IFunctionsHostBuilder builder )
20
20
{
21
- builder . Services . AddSingleton < Fixture > ( )
21
+ builder . Services . AddSingleton < Fixture > ( new Fixture ( ) )
22
22
. AddSingleton < IOpenApiConfigurationOptions > ( _ =>
23
23
{
24
24
var options = new OpenApiConfigurationOptions ( )
You can’t perform that action at this time.
0 commit comments