-
-
Notifications
You must be signed in to change notification settings - Fork 7.3k
[Python] add '_spec_property_naming' param #11226
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
call for view @spacether |
|
when i use python-sdk (generated by OpenApi-Generator) invoking some api. i need set |
|
Why is this PR needed?
|
|
use case: so we make a sdk-tester service. this service imitate an api-service. it accept json data and use python reflectiton to invoke sdk method to call remote real api-service. in this way. we can simply to test sdk because i use json data(it is dict) to invoke sdk method . so the property name of model is not match. |
|
CI failure is unrelated |
spacether
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your PR; this looks good!
PR checklist
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example
./bin/generate-samples.sh bin/configs/java*.For Windows users, please run the script in Git BASH.
master(5.3.0),6.0.x