How to preserve underscores in enum values when generating C# client code using OpenAPI Generator?
I am generating client code using the OpenAPI CSharp Generator. In my OpenAPI.json file, the enums are defined in uppercase with underscores (e.g., ENUM_VALUE). However, when the client is generated, the underscores are removed from the enum values. I found solutions for other generators but couldn’t locate any specific configuration for C#.
Change OpenAPI generator maven plugin log level to WARN
I am trying to change log levels for the openapi-generator-maven-plugin by adding *.properties and logback.xml files, but I have not been successful so far. I also haven’t found any configuration property to enable this change. This plugin generates many INFO level logs that we want to suppress. Any suggestions would be helpful.