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
I do not see any changes in the springdoc-openapi code for now.
I confirm the behavior related to the handling of spring.webflux.base-path, behind a proxy do not seem straightforward with the current spring-boot version 3.3.x.
see the following commit 02215f1 that shows how to achieve it currently and let me know if it works.
My settings:
What happens:
My Swagger link works:
http://localhost:7080/bff/api/v1/resource/swagger-ui.html
But it forwards to:
location:
/api/v1/resource/webjars/swagger-ui/index.html
which goes to
http://localhost:7080/api/v1/resource/webjars/swagger-ui/index.html
(as it misses /bff, I keep getting back 404 Not Found)
I can see my BFF forwarding the right headers in the request to the Resource Server:
I've looked at the Spring Boot Swagger Code too
This seems to ignore any Gateway prefix that might be in X-Forwarded-Prefix enabled by forward-headers-strategy: native
This looks like a bug to me.
The text was updated successfully, but these errors were encountered: