Description
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:
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
Attachments
Issue Links
- relates to
-
CXF-7853 Spring Boot autoconfiguration should automatically set OpenApiCustomizer if OpenApiFeature is configured
- Closed