NJsonSchema icon indicating copy to clipboard operation
NJsonSchema copied to clipboard

Add settings UseUriTypeForUriFormattedStrings

Open herrahlstrom opened this issue 2 years ago • 1 comments

Currently all uri formatted strings will translate into System.Uri, and it's not desired in every situation. This change make it possible for the user to not use the System.Uri and string will be used instead.

herrahlstrom avatar Oct 21 '22 09:10 herrahlstrom

Instead of adding more and more settings, I'd suggest to implement your own CSharpTypeResolver, override Resolve with this special rule and assign this to the settings...

RicoSuter avatar Sep 26 '23 17:09 RicoSuter