-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
RESTEasy Reactive: change default name mapping strategy for @RestHeader
#13665
Comments
This turns out to generate the |
We essentially make the first letter of every part an uppercase letter for consistence Part of quarkusio#13665
Are you sure the client doesn't work properly? Because I am seeing that it does send the proper header name (I also used Wireshark to verify it) |
… client - Also use hyphenate on `@RestHeader` on client fields on bean params quarkusio#13665 - Added test for client bean param on fields, getters and regular parameters for good measure Fixes quarkusio#28782
Without your fix, I saw the client generate |
👌🏼 |
We essentially make the first letter of every part an uppercase letter for consistence Part of quarkusio#13665
… client - Also use hyphenate on `@RestHeader` on client fields on bean params quarkusio#13665 - Added test for client bean param on fields, getters and regular parameters for good measure Fixes quarkusio#28782
Properly address the change default name mapping strategy for @RestHeader
… client - Also use hyphenate on `@RestHeader` on client fields on bean params quarkusio#13665 - Added test for client bean param on fields, getters and regular parameters for good measure Fixes quarkusio#28782
We essentially make the first letter of every part an uppercase letter for consistence Part of quarkusio#13665
We essentially make the first letter of every part an uppercase letter for consistence Part of quarkusio#13665 (cherry picked from commit 684f553)
Closes: quarkusio#13665 (cherry picked from commit d93345c)
… client - Also use hyphenate on `@RestHeader` on client fields on bean params quarkusio#13665 - Added test for client bean param on fields, getters and regular parameters for good measure Fixes quarkusio#28782 (cherry picked from commit 368b496)
… client - Also use hyphenate on `@RestHeader` on client fields on bean params quarkusio#13665 - Added test for client bean param on fields, getters and regular parameters for good measure Fixes quarkusio#28782 (cherry picked from commit 368b496)
We essentially make the first letter of every part an uppercase letter for consistence Part of quarkusio#13665 (cherry picked from commit 684f553)
Closes: quarkusio#13665 (cherry picked from commit d93345c)
We essentially make the first letter of every part an uppercase letter for consistence Part of quarkusio#13665 (cherry picked from commit 684f553)
Closes: quarkusio#13665 (cherry picked from commit d93345c)
ATM if you define your param as
@RestHeader String contentType
it will map to thecontentType
header, but it should map toContent-Type
, so we have to adjust the name mapping rules to make it work for all HTTP headers by default.The text was updated successfully, but these errors were encountered: