[
https://issues.apache.org/jira/browse/CXF-7239?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15849984#comment-15849984
]
Sergey Beryozkin commented on CXF-7239:
---------------------------------------
Np, that Swagger2Feature (which is currently implemented only as CXF Feature)
Provider annotation is also CXF specific, so you won't be able to register it
from JAX-RS 2.0 Application - but with "jaxrs.features" (it is a bit confusing)
- but use this init parameter and it should work
> Ability to add Feature with CXFNonSpringJaxrsServlet
> ----------------------------------------------------
>
> Key: CXF-7239
> URL: https://issues.apache.org/jira/browse/CXF-7239
> Project: CXF
> Issue Type: Improvement
> Reporter: Dmitry Murashenkov
>
> At the moment JAXRSServerFactoryBean to which features are added is created
> in CXFNonSpringJaxrsServlet.createServerFromApplication and is not
> customizable.
> Adding Feature requires overriding this method.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)