cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schneider (JIRA)" <>
Subject [jira] [Commented] (CXF-7512) Swagger UI does not work for CXF-DOSGi mutli bundle distro
Date Fri, 22 Sep 2017 07:16:00 GMT


Christian Schneider commented on CXF-7512:

Hi Sergey, no worries. 
I created a PR for this issue now. For now I left the old code in place. I tested outside
OSGi as well as with the CXF multi bundle distro. 
I propose we first validate my PR and see if it solves the issue. Then we can decide if we
deprecate the maven artifact based lookup.
The new lookup code is in a new class so it is nicely separated from the maven based lookup.
I had to change the main code for calling the lookup methods though. I hope this is still

> Swagger UI does not work for CXF-DOSGi mutli bundle distro
> ----------------------------------------------------------
>                 Key: CXF-7512
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Christian Schneider
> In karaf the swagger UI works fine but not in the multi bundle distro.
> The bug is in org.apache.cxf.jaxrs.swagger.OsgiSwaggerUiResolver. There the swagger UI
is detected. Unfortunately the detection is based on the bundle location and only works for
maven uri based deployments. As the mutli bundle distro is deployed using files it fails.
> I will change the detection to scan for the swagger webbundle by detecting the signature
resource /META-INF/resources/swagger-ui. This approach should make the detection more robust
regarding different packagings and deployments.

This message was sent by Atlassian JIRA

View raw message