Skip to content

Commit 542f2b9

Browse files
authored
Make serviceProviderIsService optional in constructor (#57797)
The constructor of the `EndpointMetadataApiDescriptionProvider` class has been modified to provide a default value of `null` for the `serviceProviderIsService` parameter. This change makes the `serviceProviderIsService` parameter optional when creating an instance of the class.
1 parent d05f358 commit 542f2b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mvc/Mvc.ApiExplorer/src/EndpointMetadataApiDescriptionProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public EndpointMetadataApiDescriptionProvider(
3333
EndpointDataSource endpointDataSource,
3434
IHostEnvironment environment,
3535
ParameterPolicyFactory parameterPolicyFactory,
36-
IServiceProviderIsService? serviceProviderIsService)
36+
IServiceProviderIsService? serviceProviderIsService = null)
3737
{
3838
_endpointDataSource = endpointDataSource;
3939
_environment = environment;

0 commit comments

Comments
 (0)