Skip to content

Commit

Permalink
Make serviceProviderIsService optional in constructor (#57797)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
marcominerva committed Sep 19, 2024
1 parent d05f358 commit 542f2b9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public EndpointMetadataApiDescriptionProvider(
EndpointDataSource endpointDataSource,
IHostEnvironment environment,
ParameterPolicyFactory parameterPolicyFactory,
IServiceProviderIsService? serviceProviderIsService)
IServiceProviderIsService? serviceProviderIsService = null)
{
_endpointDataSource = endpointDataSource;
_environment = environment;
Expand Down

0 comments on commit 542f2b9

Please sign in to comment.