Nswag: EnumNameGeneratorType not working at all

Created on 8 Sep 2020  路  2Comments  路  Source: RicoSuter/NSwag

Hi, @RicoSuter!

It seems like openApiToCSharpClient.enumNameGeneratorType (13.7.0) property not working at all... Trying to set any value - no changes at generated cs-code =(

question

All 2 comments

enumNameGeneratorType can only be change when set in-process - not via configuration (e.g. nswag.json file) because it currently cannot dynamically load types from assemblies, etc.

To use this you'd need to write your own CLI based on the NSwag packages and then you have full flexibility...

Was this page helpful?
0 / 5 - 0 ratings