I'm searching for this since 3-4 days I've almost got the answer but still I can't implement in my code. Actually I never understand or can't work by seeing the documentation. :/
And I need another suggestion as well I'm using date only because I need to implement a date range filter from and to some point of date and I don't need any time. Is this a right way or should I use DateTime.?
this link explain about C# DateOnly Serialization
This link explain about modification on Refit serialization options(I guess)
Try this minimal-reproducible-example below. When you create a
Refitinstance from an interface it's possible to pass some options and one of them is theContentSerializerproperty where custom converters can be attached.