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()
2222 . ConfigureOpenApi ( )
2323 . ConfigureServices ( services =>
2424 {
25- services . AddSingleton < Fixture > ( )
25+ services . AddSingleton < Fixture > ( new Fixture ( ) )
2626 . AddSingleton < IOpenApiConfigurationOptions > ( _ =>
2727 {
2828 var options = new OpenApiConfigurationOptions ( )
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public class Startup : FunctionsStartup
1818 {
1919 public override void Configure ( IFunctionsHostBuilder builder )
2020 {
21- builder . Services . AddSingleton < Fixture > ( )
21+ builder . Services . AddSingleton < Fixture > ( new Fixture ( ) )
2222 . AddSingleton < IOpenApiConfigurationOptions > ( _ =>
2323 {
2424 var options = new OpenApiConfigurationOptions ( )
You can’t perform that action at this time.
0 commit comments