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