16 references to AssertPathParameter
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (16)
EndpointMetadataApiDescriptionProviderTest.cs (16)
583AssertPathParameter(GetApiDescription((DateTime foo) => { }, "/{foo}"), typeof(DateTime)); 584AssertPathParameter(GetApiDescription((DateTimeOffset foo) => { }, "/{foo}"), typeof(DateTimeOffset)); 585AssertPathParameter(GetApiDescription((DateOnly foo) => { }, "/{foo}"), typeof(DateOnly)); 586AssertPathParameter(GetApiDescription((TimeOnly foo) => { }, "/{foo}"), typeof(TimeOnly)); 587AssertPathParameter(GetApiDescription((TimeSpan foo) => { }, "/{foo}"), typeof(TimeSpan)); 588AssertPathParameter(GetApiDescription((decimal foo) => { }, "/{foo}"), typeof(decimal)); 589AssertPathParameter(GetApiDescription((Guid foo) => { }, "/{foo}"), typeof(Guid)); 590AssertPathParameter(GetApiDescription((Uri foo) => { }, "/{foo}"), typeof(Uri)); 604AssertPathParameter(GetApiDescription((DateTime? foo) => { }, "/{foo}"), typeof(DateTime?)); 605AssertPathParameter(GetApiDescription((DateTimeOffset? foo) => { }, "/{foo}"), typeof(DateTimeOffset?)); 606AssertPathParameter(GetApiDescription((DateOnly? foo) => { }, "/{foo}"), typeof(DateOnly?)); 607AssertPathParameter(GetApiDescription((TimeOnly? foo) => { }, "/{foo}"), typeof(TimeOnly?)); 608AssertPathParameter(GetApiDescription((TimeSpan? foo) => { }, "/{foo}"), typeof(TimeSpan?)); 609AssertPathParameter(GetApiDescription((decimal? foo) => { }, "/{foo}"), typeof(decimal?)); 610AssertPathParameter(GetApiDescription((Guid? foo) => { }, "/{foo}"), typeof(Guid?)); 611AssertPathParameter(GetApiDescription((Uri? foo) => { }, "/{foo}"), typeof(Uri));