You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After updating openfeign latest version I found that matrix parameters behaviour got changed. Seems its similar like #889
OpenFeign version : 10.1.0 or Latest
Please find below scenarios in which its creating a problem
When we have API end point with dynamic path and we try to get details using matrix params its creating a problem
For example:
Now when we try to call above mention api with latest version and after calling RequestTemplate -->> uri(matrix paramete details, true): its generate template uri like below
api/gituser/;includeDetails=false
Which was with earlier version like below
api/gituser;includeDetails=false
I have checked the same and I think we should add one more condition with semicolon in RequestTemplate --> url(string, boolean) method like !uri.startsWith(";") for the matrix parameter.
I have few more scenarios which are creating same issue with latest version of open feign Let me know if you need more details
The text was updated successfully, but these errors were encountered:
ranjitc5
changed the title
No Longer prepend uri with slash if it is a matrix parameter like (;matrixparam=value)
Don't Add / to URI if it is a matrix parameter like (;matrixparam=value)
Jun 28, 2019
ranjitc5
changed the title
Don't Add / to URI if it is a matrix parameter like (;matrixparam=value)
Don't Add Slash to URI if it is a matrix parameter like (;matrixparam=value)
Jun 28, 2019
ranjitc5
changed the title
Don't Add Slash to URI if it is a matrix parameter like (;matrixparam=value)
Don't add Slash to URI if it is a matrix parameter like (;matrixparam=value)
Jun 28, 2019
ranjitc5
changed the title
Don't add Slash to URI if it is a matrix parameter like (;matrixparam=value)
Don't add slash to URI if it is a matrix parameter like (;matrixparam=value)
Jun 28, 2019
After updating openfeign latest version I found that matrix parameters behaviour got changed. Seems its similar like #889
OpenFeign version : 10.1.0 or Latest
Please find below scenarios in which its creating a problem
When we have API end point with dynamic path and we try to get details using matrix params its creating a problem
For example:
Now when we try to call above mention api with latest version and after calling RequestTemplate -->> uri(matrix paramete details, true): its generate template uri like below
Which was with earlier version like below
I have checked the same and I think we should add one more condition with semicolon in RequestTemplate --> url(string, boolean) method like
!uri.startsWith(";") for the matrix parameter.
I have few more scenarios which are creating same issue with latest version of open feign
Let me know if you need more details
The text was updated successfully, but these errors were encountered: