apiclientcodegen icon indicating copy to clipboard operation
apiclientcodegen copied to clipboard

Missing way to set ParameterDateTimeFormat for NSwag

Open johnwc opened this issue 3 years ago • 2 comments

When using the NSwagCodeGenerator, there is little options in tools->options. Need to be able to set other options than what is given, specifically at this time the ParameterDateTimeFormat option.

Other options available: https://github.com/RicoSuter/NSwag/wiki/CSharpClientGeneratorSettings

Can these settings be placed in the project file, to be applied per project instead of globally?

johnwc avatar Oct 15 '22 20:10 johnwc

Thanks again for reporting this @johnwc

I will add the ParameterDateTimeFormat option to the Visual Studio options page for NSwag

To avoid repeating myself regarding a per-project configuration I will link to my comment in Issue #421

christianhelle avatar Oct 16 '22 07:10 christianhelle

I will try to add as many settings as I can from the link you provided

christianhelle avatar Oct 16 '22 07:10 christianhelle

I started working on a file format that can describe which code generator to use and with what settings. This will eventually get a context menu for itself within Visual Studio where a user will be able to click "Generate Code..." or something like that

christianhelle avatar Oct 28 '22 12:10 christianhelle