16 references to AssertPathParameter
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (16)
EndpointMetadataApiDescriptionProviderTest.cs (16)
685AssertPathParameter(GetApiDescription((DateTime foo) => { }, "/{foo}"), typeof(DateTime)); 686AssertPathParameter(GetApiDescription((DateTimeOffset foo) => { }, "/{foo}"), typeof(DateTimeOffset)); 687AssertPathParameter(GetApiDescription((DateOnly foo) => { }, "/{foo}"), typeof(DateOnly)); 688AssertPathParameter(GetApiDescription((TimeOnly foo) => { }, "/{foo}"), typeof(TimeOnly)); 689AssertPathParameter(GetApiDescription((TimeSpan foo) => { }, "/{foo}"), typeof(TimeSpan)); 690AssertPathParameter(GetApiDescription((decimal foo) => { }, "/{foo}"), typeof(decimal)); 691AssertPathParameter(GetApiDescription((Guid foo) => { }, "/{foo}"), typeof(Guid)); 692AssertPathParameter(GetApiDescription((Uri foo) => { }, "/{foo}"), typeof(Uri)); 706AssertPathParameter(GetApiDescription((DateTime? foo) => { }, "/{foo}"), typeof(DateTime?)); 707AssertPathParameter(GetApiDescription((DateTimeOffset? foo) => { }, "/{foo}"), typeof(DateTimeOffset?)); 708AssertPathParameter(GetApiDescription((DateOnly? foo) => { }, "/{foo}"), typeof(DateOnly?)); 709AssertPathParameter(GetApiDescription((TimeOnly? foo) => { }, "/{foo}"), typeof(TimeOnly?)); 710AssertPathParameter(GetApiDescription((TimeSpan? foo) => { }, "/{foo}"), typeof(TimeSpan?)); 711AssertPathParameter(GetApiDescription((decimal? foo) => { }, "/{foo}"), typeof(decimal?)); 712AssertPathParameter(GetApiDescription((Guid? foo) => { }, "/{foo}"), typeof(Guid?)); 713AssertPathParameter(GetApiDescription((Uri? foo) => { }, "/{foo}"), typeof(Uri));