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

   Thanks for the fix @sharanggupta . Two things
   
   1. The build fails checkstyle  (`LineLength`, 
`DefaultApplicationFactory.java:50` is 121 characters).
   2. A value ending with `.` (e.g. `com.acme.order.`, an obvious way to work 
around this bug today) selects the subpackages on `main` branch, but nothing 
with this change, so those resources would silently disappear from the document.
   
   Could you also add a unit test? E.g. a `DefaultApplicationFactoryTest` in 
`rt/rs/description-common-openapi`, with resources in `…order`, `…order.sub` 
and `…orders`:
   - `…order` → `order` + `order.sub`, without `orders` (this fails on `main`);
   - `…order.sub` → `order.sub` only;
   - `…order.` → `order.sub` only (as on `main`);
   - the parent package → all three.
   Thanks!
   
   Freeman


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