[
https://issues.apache.org/jira/browse/CXF-8103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16924971#comment-16924971
]
Andriy Redko commented on CXF-8103:
-----------------------------------
Hey [~kkurucz] , a bit more details popped up recently, so Swagger introduced
the property which allows to specify scanner class, we've added the support for
it in *OpenApiFeature* as well (*scannerClass* property). For your case, it
would be (to use application-defined classes only):
{code:java}
feature.setScannerClass("io.swagger.v3.jaxrs2.integration.JaxrsApplicationScanner");{code}
The workaround with *resourcePackages* would not be required anymore. With
that, we may not need to wait for *2.0.10* to come out, and next CXF release
train will bring these changes in. Thanks.
Best Regards,
Andriy Redko
> OpenApiFeature - cannot use useContextBasedConfig
> -------------------------------------------------
>
> Key: CXF-8103
> URL: https://issues.apache.org/jira/browse/CXF-8103
> Project: CXF
> Issue Type: Bug
> Components: JAX-RS, Services
> Affects Versions: 3.3.3
> Reporter: Krisztian Kurucz
> Assignee: Andriy Redko
> Priority: Major
> Attachments: description_openapi_v3_spring_boot.7z
>
>
> In case of Using Multiple Server Endpoints all openapi.json will contain all
> resource descriptions
--
This message was sent by Atlassian Jira
(v8.3.2#803003)