Skip to content

Conversation

@OlgaMaciaszek
Copy link
Collaborator

Fixes gh-1070.

birariro and others added 4 commits October 9, 2024 18:27
In situation when we create FeignClient in this way:
@FeignClient(url = "https://localhost/", path = "api/v2")
We will get an error because of adding '/' in the beginning of the path in FeignClientsRegistrar.getPath, result will:
https://localhost//api/v2
To escape this situation we need to delete '/' at the end of url in FeignClientsRegistrar.getUrl
@OlgaMaciaszek OlgaMaciaszek added the enhancement New feature or request label Oct 9, 2024
@OlgaMaciaszek OlgaMaciaszek self-assigned this Oct 9, 2024
@OlgaMaciaszek OlgaMaciaszek marked this pull request as ready for review October 10, 2024 13:13
@OlgaMaciaszek OlgaMaciaszek merged commit 0f55e2d into main Oct 10, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feign Client is generating trailing slash in the request

5 participants