You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Your code currently does not check for "package." but rather "package" with a startsWith, so if I have two packages like a.b.cde.SomeWS
and a.b.cdefgh.SomeWS
you'll match both classes if I specify a.b.cde as package and recurse flag is specified. That's why my code had a startsWith(package+".") in the check...
However the current behaviour is exactly the same as the Swagger JAX-RS module provides in JaxrsAnnotationScanner.java
Furthermore isn't it a rare case where you actually would have two packages with the same prefix both containing JAX-RS endpoints where you would like to exclude one of those?
Your code currently does not check for "package." but rather "package" with a startsWith, so if I have two packages like
a.b.cde.SomeWS
and
a.b.cdefgh.SomeWS
you'll match both classes if I specify a.b.cde as package and recurse flag is specified. That's why my code had a
startsWith(package+".")
in the check...Hope you fix it...
Originally posted by @sunnymoon in #20 (comment)
The text was updated successfully, but these errors were encountered: