[
https://issues.apache.org/jira/browse/CXF-7512?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergey Beryozkin resolved CXF-7512.
-----------------------------------
Resolution: Fixed
"swagger-ui" is part of the resource path to the root, so not sure making it
configurable was needed. The existing resolver is already iterating over all
the bundles, so I simply updated it to check the local entry if no
user-provided maven coordinates were available, if found it would be preferred
over the default Maven based location
> Swagger UI does not work for CXF-DOSGi mutli bundle distro
> ----------------------------------------------------------
>
> Key: CXF-7512
> URL: https://issues.apache.org/jira/browse/CXF-7512
> Project: CXF
> Issue Type: Bug
> Reporter: Christian Schneider
> Assignee: Sergey Beryozkin
>
> 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
(v6.4.14#64029)