swagger-codegen-generators icon indicating copy to clipboard operation
swagger-codegen-generators copied to clipboard

[Python] Keep the original case option when generating python objects

Open dmestetskiy opened this issue 3 years ago • 4 comments

Would it be possible to have an option to keep original case or not use snake_case for attributes of classes that get generated from source file (yml)? Something similar to what was done here: PythonClientCodegen.java

dmestetskiy avatar Apr 15 '22 07:04 dmestetskiy

@dmestetskiy I think this might cover what you're looking for https://github.com/swagger-api/swagger-codegen-generators/pull/1039

I'm still waiting on a contributor on this repo to approve it.

gdebeaupuis-plenty avatar Jun 27 '22 18:06 gdebeaupuis-plenty

@gdebeaupuis-plenty I appreciate the update!

dmestetskiy avatar Jun 27 '22 21:06 dmestetskiy

@gdebeaupuis-plenty do you have any update on this?

dmestetskiy avatar Nov 18 '22 16:11 dmestetskiy

Unfortunately no, it doesn't look like the core contributors took a look at the PR. Not sure how to get their attention.

gdebeaupuis-plenty avatar Nov 18 '22 16:11 gdebeaupuis-plenty