You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Dennis Kieselhorst (JIRA)" <ji...@apache.org> on 2018/11/06 12:19:00 UTC
[jira] [Updated] (CXF-7891) OpenApiAutoConfiguration doesn't work
with classes-scan-packages
[ https://issues.apache.org/jira/browse/CXF-7891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Kieselhorst updated CXF-7891:
------------------------------------
Affects Version/s: 3.2.7
> OpenApiAutoConfiguration doesn't work with classes-scan-packages
> ----------------------------------------------------------------
>
> Key: CXF-7891
> URL: https://issues.apache.org/jira/browse/CXF-7891
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.2.7
> Reporter: Dennis Kieselhorst
> Assignee: Dennis Kieselhorst
> Priority: Major
> Fix For: 3.3.0, 3.2.8
>
>
> I just noticed that the OpenApiAutoConfiguration introduced in CXF-7853 doesn't work if {{classes-scan-packages: org.apache.cxf.jaxrs.openapi}} is used. In this case OpenApiFeature is added as a Provider by AbstractSpringComponentScanServer and OpenApiAutoConfiguration doesn't hook in.
> Sample:
> {code}
> git clone https://github.com/deki/swagger-samples/ --branch java-cxf-spring-boot-minimal
> cd java/java-cxf-spring-boot-minimal
> mvn spring-boot:run
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)