[ 
https://issues.apache.org/jira/browse/CXF-7485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153282#comment-16153282
 ] 

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: https://issues.apache.org/jira/browse/CXF-7485
>             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 proxy.
> Need a way to support reverse proxy web path.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to