5 writes to DefaultValue
Microsoft.AspNetCore.Grpc.Swagger (2)
Internal\GrpcJsonTranscodingDescriptionProvider.cs (2)
120
DefaultValue
= string.Empty
162
DefaultValue
= string.Empty
Microsoft.AspNetCore.Mvc.ApiExplorer (3)
DefaultApiDescriptionProvider.cs (2)
331
parameter.
DefaultValue
= parameter.RouteInfo?.DefaultValue;
338
parameter.
DefaultValue
= defaultValue;
EndpointMetadataApiDescriptionProvider.cs (1)
193
DefaultValue
= parameter.ParameterInfo.DefaultValue,
5 references to DefaultValue
ApiExplorerWebSite (1)
ApiExplorerDataFilter.cs (1)
69
DefaultValue = parameter.
DefaultValue
?.ToString(),
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (4)
DefaultApiDescriptionProviderTest.cs (3)
2163
Assert.Same(defaultValue, description.
DefaultValue
);
2186
Assert.Equal(10, description.
DefaultValue
);
2209
Assert.Null(description.
DefaultValue
);
EndpointMetadataApiDescriptionProviderTest.cs (1)
614
Assert.Equal(42, param.
DefaultValue
);