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)

Reply via email to