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:18:00 UTC

[jira] [Created] (CXF-7891) OpenApiAutoConfiguration doesn't work with classes-scan-packages

Dennis Kieselhorst created CXF-7891:
---------------------------------------

             Summary: 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
            Reporter: Dennis Kieselhorst
            Assignee: Dennis Kieselhorst
             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)