-
Notifications
You must be signed in to change notification settings - Fork 245
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
http-client-java, fix corner case that reserved keyword renamed differently #6218
http-client-java, fix corner case that reserved keyword renamed differently #6218
Conversation
❌ There is undocummented changes. Run The following packages have changes but are not documented.
Show changes |
You can try these changes here
|
Wonder what's the corner case here. Would you help add a test case? |
Test added e1efcb4 The failure in nightly build was casued by the |
On param,
float
be renamedfloatParameter
, while on model property, it be renamedfloatProperty
.The old mapping logic in ClientMethodMapper failed to handle this corner case.
Add a fallback logic in
ClientMethodMapper
.Also updated
Transformer
, to rename properties forGroupSchema
differently (as it groups method parameters).autorest.java Azure/autorest.java#3034