16 references to AssertPathParameter
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (16)
EndpointMetadataApiDescriptionProviderTest.cs (16)
712AssertPathParameter(GetApiDescription((DateTime foo) => { }, "/{foo}"), typeof(DateTime)); 713AssertPathParameter(GetApiDescription((DateTimeOffset foo) => { }, "/{foo}"), typeof(DateTimeOffset)); 714AssertPathParameter(GetApiDescription((DateOnly foo) => { }, "/{foo}"), typeof(DateOnly)); 715AssertPathParameter(GetApiDescription((TimeOnly foo) => { }, "/{foo}"), typeof(TimeOnly)); 716AssertPathParameter(GetApiDescription((TimeSpan foo) => { }, "/{foo}"), typeof(TimeSpan)); 717AssertPathParameter(GetApiDescription((decimal foo) => { }, "/{foo}"), typeof(decimal)); 718AssertPathParameter(GetApiDescription((Guid foo) => { }, "/{foo}"), typeof(Guid)); 719AssertPathParameter(GetApiDescription((Uri foo) => { }, "/{foo}"), typeof(Uri)); 733AssertPathParameter(GetApiDescription((DateTime? foo) => { }, "/{foo}"), typeof(DateTime?)); 734AssertPathParameter(GetApiDescription((DateTimeOffset? foo) => { }, "/{foo}"), typeof(DateTimeOffset?)); 735AssertPathParameter(GetApiDescription((DateOnly? foo) => { }, "/{foo}"), typeof(DateOnly?)); 736AssertPathParameter(GetApiDescription((TimeOnly? foo) => { }, "/{foo}"), typeof(TimeOnly?)); 737AssertPathParameter(GetApiDescription((TimeSpan? foo) => { }, "/{foo}"), typeof(TimeSpan?)); 738AssertPathParameter(GetApiDescription((decimal? foo) => { }, "/{foo}"), typeof(decimal?)); 739AssertPathParameter(GetApiDescription((Guid? foo) => { }, "/{foo}"), typeof(Guid?)); 740AssertPathParameter(GetApiDescription((Uri? foo) => { }, "/{foo}"), typeof(Uri));