16 references to AssertPathParameter
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (16)
EndpointMetadataApiDescriptionProviderTest.cs (16)
470AssertPathParameter(GetApiDescription((DateTime foo) => { }, "/{foo}"), typeof(DateTime)); 471AssertPathParameter(GetApiDescription((DateTimeOffset foo) => { }, "/{foo}"), typeof(DateTimeOffset)); 472AssertPathParameter(GetApiDescription((DateOnly foo) => { }, "/{foo}"), typeof(DateOnly)); 473AssertPathParameter(GetApiDescription((TimeOnly foo) => { }, "/{foo}"), typeof(TimeOnly)); 474AssertPathParameter(GetApiDescription((TimeSpan foo) => { }, "/{foo}"), typeof(TimeSpan)); 475AssertPathParameter(GetApiDescription((decimal foo) => { }, "/{foo}"), typeof(decimal)); 476AssertPathParameter(GetApiDescription((Guid foo) => { }, "/{foo}"), typeof(Guid)); 477AssertPathParameter(GetApiDescription((Uri foo) => { }, "/{foo}"), typeof(Uri)); 491AssertPathParameter(GetApiDescription((DateTime? foo) => { }, "/{foo}"), typeof(DateTime?)); 492AssertPathParameter(GetApiDescription((DateTimeOffset? foo) => { }, "/{foo}"), typeof(DateTimeOffset?)); 493AssertPathParameter(GetApiDescription((DateOnly? foo) => { }, "/{foo}"), typeof(DateOnly?)); 494AssertPathParameter(GetApiDescription((TimeOnly? foo) => { }, "/{foo}"), typeof(TimeOnly?)); 495AssertPathParameter(GetApiDescription((TimeSpan? foo) => { }, "/{foo}"), typeof(TimeSpan?)); 496AssertPathParameter(GetApiDescription((decimal? foo) => { }, "/{foo}"), typeof(decimal?)); 497AssertPathParameter(GetApiDescription((Guid? foo) => { }, "/{foo}"), typeof(Guid?)); 498AssertPathParameter(GetApiDescription((Uri? foo) => { }, "/{foo}"), typeof(Uri));