ffang commented on PR #3711:
URL: https://github.com/apache/cxf/pull/3711#issuecomment-6835976765

   > > Thanks for the fix [@sharanggupta](https://github.com/sharanggupta) . 
Two things
   > 
   > [@ffang](https://github.com/ffang) just to highlight, this is a behavior 
change that have a high chances to break existing applications, since (and if) 
we have a way filter packages out, I would suggest to keep the current behavior 
unchanged.
   
   @reta agreed, let's keep the current behavior. I checked the options on 
`main` with the openapi-v3 feature: the trailing `.` drops the resources 
directly in `com.acme.order` (with `scan=false`), but `resourceClasses` 
(together with `resourcePackages`, or alone with the default `scan=true`) or 
`ignoredRoutes` exclude the sibling package's resources exactly. Note also that 
the prefix match only matters with `scan=false`: with the default `scan=true`, 
the package of each registered resource is added to the filter anyway. So 
there's a way to configure it already; @sharanggupta would `resourceClasses` or 
`ignoredRoutes` work for your case?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to