3 writes to DefaultValue
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
DefaultApiDescriptionProvider.cs (1)
358DefaultValue = routeParameter.DefaultValue,
EndpointMetadataApiDescriptionProvider.cs (1)
243DefaultValue = parameter.DefaultValue,
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (1)
DefaultApiDescriptionProviderTest.cs (1)
2151RouteInfo = new ApiParameterRouteInfo { DefaultValue = defaultValue },
7 references to DefaultValue
ApiExplorerWebSite (1)
ApiExplorerDataFilter.cs (1)
78DefaultValue = parameter.RouteInfo.DefaultValue,
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
331parameter.DefaultValue = parameter.RouteInfo?.DefaultValue;
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (5)
DefaultApiDescriptionProviderTest.cs (4)
196Assert.Equal(defaultValue, parameter.RouteInfo.DefaultValue); 200Assert.Null(parameter.RouteInfo.DefaultValue); 242Assert.Equal(defaultValue, parameter.RouteInfo.DefaultValue); 246Assert.Null(parameter.RouteInfo.DefaultValue);
EndpointMetadataApiDescriptionProviderTest.cs (1)
1394Assert.Equal("default", parameter.RouteInfo!.DefaultValue);