question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

EnumNameGeneratorType not working at all

See original GitHub issue

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 =(

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
RicoSutercommented, Sep 11, 2020

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

1reaction
RicoSutercommented, Sep 11, 2020

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enum name generation nswag and swashbuckle
1 Answer 1 ... I think that just works fine like that and the numeric values on the client do not matter. You...
Read more >
Services are not working after upgrade #7299
My Angular 6 project comiles and render start page. But without data. All my service calls returns null. I don't see any errors...
Read more >
Safer Enums in Go - Three Dots Labs
Enums are a crucial part of web applications. Go doesn't support them out of the box, but there are ways to emulate them....
Read more >
Flow Enums
Flow Enums define a fixed set of constants which create their own type. Unlike other features of Flow, Flow Enums exist as values...
Read more >
How to write "smarter" enums in C# - YouTube
... by Java and how it handles enums and it tries to provide us with a type-safe object-oriented alternative to the classic C#...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found