cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sergey Beryozkin (JIRA)" <>
Subject [jira] [Commented] (CXF-7485) Reverse proxy url is not reflected in Swagger UI response
Date Tue, 05 Sep 2017 08:47:00 GMT


Sergey Beryozkin commented on CXF-7485:

I've tried locally a proxy and jaxrs/spring_boot demo, first accessing SwaggerUI via the proxy,
and then directly, bypassing the proxy, and the basePath was correct, not cached.
CXF def does not cache it, so if you see it being cached in your case then it must be Swagger
which caches it.
I'll have a look at your project but later on, in meantime you might want to try setting Swagger2Feature.usePathBasedConfig
to true and let me know if it helps

> Reverse proxy url is not reflected in Swagger UI response
> ---------------------------------------------------------
>                 Key: CXF-7485
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Documentation
>    Affects Versions: 3.1.12
>            Reporter: na sam 
>            Assignee: Sergey Beryozkin
>             Fix For: 3.1.13, 3.2.0
> I am using Swagger2Feature to generate the swagger out of my REST service classes. 
> All the url's that is being generated are based on deployed server's web path. Its working
directly in my server. But If the request comes via reverse proxy, then in my  swagger ui
response I am seeing still same my local server's webpath instead of one coming via reverse
> Need a way to support reverse proxy web path.

This message was sent by Atlassian JIRA

View raw message