[
https://issues.apache.org/jira/browse/CXF-7485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16152974#comment-16152974
]
na sam commented on CXF-7485:
------------------------------
I tested with 3.1.13-SNAPSHOT version. I am able to see the webpath that is
being sent via proxy server in the /api/swagger.json end point as part of
"basePath" element. I am able to execute the api swagger end point via proxy
server.
But issue is same proxy basePath is cached always once I accessed it via proxy
server. After that If I tried to access swagger ui directly (ie without proxy),
then same basePath is cached showing in the swagger.json and getting 404
exception.
> 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)