[ 
https://issues.apache.org/jira/browse/CXF-7891?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Kieselhorst resolved CXF-7891.
-------------------------------------
    Resolution: Fixed

> 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)

Reply via email to