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